10139N/A#
10139N/A# CDDL HEADER START
10139N/A#
10139N/A# The contents of this file are subject to the terms of the
10139N/A# Common Development and Distribution License (the "License").
10139N/A# You may not use this file except in compliance with the License.
10139N/A#
10139N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10139N/A# or http://www.opensolaris.org/os/licensing.
10139N/A# See the License for the specific language governing permissions
10139N/A# and limitations under the License.
10139N/A#
10139N/A# When distributing Covered Code, include this CDDL HEADER in each
10283N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
10139N/A# If applicable, add the following below this CDDL HEADER, with the
10139N/A# fields enclosed by brackets "[]" replaced with your own identifying
10139N/A# information: Portions Copyright [yyyy] [name of copyright owner]
10139N/A#
10283N/A# CDDL HEADER END
10139N/A#
10139N/A#
10139N/A# uts/intel/keysock/Makefile
10139N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
10139N/A# Use is subject to license terms.
10139N/A#
10139N/A
10139N/A#
10139N/A# This makefile drives the production of the keysock driver
10139N/A# kernel module.
10139N/A#
10139N/A# intel implementation architecture dependent
10139N/A#
10339N/A
10139N/A#
10139N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
10139N/A#
10213N/AUTSBASE = ../..
10284N/A
10250N/A#
10284N/A# Define the module and object file sets.
10382N/A#
10382N/AMODULE = keysock
10406N/AOBJECTS = $(KEYSOCK_OBJS:%=$(OBJS_DIR)/%)
10387N/ALINTS = $(KEYSOCK_OBJS:%.o=$(LINTS_DIR)/%.ln)
10418N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
10418N/AROOTLINK = $(ROOT_STRMOD_DIR)/$(MODULE)
10436N/ACONF_SRCDIR = $(UTSBASE)/common/inet/ip
10436N/A
10438N/A#
10438N/A# Include common rules.
10139N/A#
10139N/Ainclude $(UTSBASE)/intel/Makefile.intel
10139N/A
10139N/A#
10139N/A# Define targets
10139N/A#
10139N/AALL_TARGET = $(BINARY) $(SRC_CONFFILE)
10139N/ALINT_TARGET = $(MODULE).lint
10139N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
10139N/A
10139N/A#
10139N/A# Linkage dependencies
10139N/A#
10139N/ALDFLAGS += -dy -Ndrv/ip
10139N/A
10139N/A#
10139N/A# For now, disable these lint checks; maintainers should endeavor
10139N/A# to investigate and remove these for maximum lint coverage.
10139N/A# Please do not carry these forward to new Makefiles.
10139N/A#
10139N/ALINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
10139N/ALINTTAGS += -erroff=E_STATIC_UNUSED
10139N/ALINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
10139N/ALINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
10139N/A
10139N/ACERRWARN += -_gcc=-Wno-unused-variable
10139N/A
10139N/A#
10139N/A# Default build targets.
10139N/A#
10139N/A.KEEP_STATE:
10139N/A
10139N/Adef: $(DEF_DEPS)
10139N/A
10139N/Aall: $(ALL_DEPS) $(SISCHECK_DEPS)
10139N/A
10139N/Aclean: $(CLEAN_DEPS) $(SISCLEAN_DEPS)
10139N/A
10139N/Aclobber: $(CLOBBER_DEPS) $(SISCLEAN_DEPS)
10139N/A
10139N/Alint: $(LINT_DEPS)
10139N/A
10139N/Amodlintlib: $(MODLINTLIB_DEPS)
10139N/A
10139N/Aclean.lint: $(CLEAN_LINT_DEPS)
10139N/A
10139N/Ainstall: $(INSTALL_DEPS) $(SISCHECK_DEPS)
10139N/A
10139N/A$(ROOTLINK): $(ROOT_STRMOD_DIR) $(ROOTMODULE)
10139N/A -$(RM) $@; ln $(ROOTMODULE) $@
10139N/A
10139N/A#
10139N/A# Include common targets.
10139N/A#
10139N/Ainclude $(UTSBASE)/intel/Makefile.targ
10139N/A