Makefile revision bb25c06cca41ca78e5fb87fbb8e81d55beb18c95
7bff28e0cedd8656acd24b420759649184d8cf00vboxsync#
7bff28e0cedd8656acd24b420759649184d8cf00vboxsync# CDDL HEADER START
7bff28e0cedd8656acd24b420759649184d8cf00vboxsync#
7bff28e0cedd8656acd24b420759649184d8cf00vboxsync# The contents of this file are subject to the terms of the
7bff28e0cedd8656acd24b420759649184d8cf00vboxsync# Common Development and Distribution License (the "License").
7bff28e0cedd8656acd24b420759649184d8cf00vboxsync# You may not use this file except in compliance with the License.
e64031e20c39650a7bc902a3e1aba613b9415deevboxsync#
7bff28e0cedd8656acd24b420759649184d8cf00vboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
7bff28e0cedd8656acd24b420759649184d8cf00vboxsync# or http://www.opensolaris.org/os/licensing.
7bff28e0cedd8656acd24b420759649184d8cf00vboxsync# See the License for the specific language governing permissions
7bff28e0cedd8656acd24b420759649184d8cf00vboxsync# and limitations under the License.
7bff28e0cedd8656acd24b420759649184d8cf00vboxsync#
7bff28e0cedd8656acd24b420759649184d8cf00vboxsync# When distributing Covered Code, include this CDDL HEADER in each
7bff28e0cedd8656acd24b420759649184d8cf00vboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
7bff28e0cedd8656acd24b420759649184d8cf00vboxsync# If applicable, add the following below this CDDL HEADER, with the
7bff28e0cedd8656acd24b420759649184d8cf00vboxsync# fields enclosed by brackets "[]" replaced with your own identifying
4b9d6701570cb98fd36e209314239d104ec584d3vboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
4b9d6701570cb98fd36e209314239d104ec584d3vboxsync#
4b9d6701570cb98fd36e209314239d104ec584d3vboxsync# CDDL HEADER END
4b9d6701570cb98fd36e209314239d104ec584d3vboxsync#
4b9d6701570cb98fd36e209314239d104ec584d3vboxsync#
4b9d6701570cb98fd36e209314239d104ec584d3vboxsync# uts/intel/ipsecesp/Makefile
4b9d6701570cb98fd36e209314239d104ec584d3vboxsync# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
4b9d6701570cb98fd36e209314239d104ec584d3vboxsync# Use is subject to license terms.
4b9d6701570cb98fd36e209314239d104ec584d3vboxsync#
7bff28e0cedd8656acd24b420759649184d8cf00vboxsync#ident "%Z%%M% %I% %E% SMI"
456f370fcde010d585d9174df045978a6c9893c1vboxsync#
27537ffef7291d0bb3a24e459a6b94c65586defevboxsync# This makefile drives the production of the ipsecesp driver
7bff28e0cedd8656acd24b420759649184d8cf00vboxsync# kernel module.
8c5d1958147c3988a7693b5a7666f5fe21a93b7bvboxsync#
7bff28e0cedd8656acd24b420759649184d8cf00vboxsync# intel implementation architecture dependent
7bff28e0cedd8656acd24b420759649184d8cf00vboxsync#
7bff28e0cedd8656acd24b420759649184d8cf00vboxsync
8c5d1958147c3988a7693b5a7666f5fe21a93b7bvboxsync#
c4c106ad74e0ad745ac49a2c4182c4f42ced7248vboxsync# Path to the base of the uts directory tree (usually /usr/src/uts).
742ee7392dfc0ce0b48216189ce26534208b3f48vboxsync#
c4c106ad74e0ad745ac49a2c4182c4f42ced7248vboxsyncUTSBASE = ../..
c4c106ad74e0ad745ac49a2c4182c4f42ced7248vboxsync
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync#
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync# Define the module and object file sets.
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync#
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncMODULE = ipsecesp
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncOBJECTS = $(IPSECESP_OBJS:%=$(OBJS_DIR)/%)
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncLINTS = $(IPSECESP_OBJS:%.o=$(LINTS_DIR)/%.ln)
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncROOTLINK = $(ROOT_STRMOD_DIR)/$(MODULE)
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncCONF_SRCDIR = $(UTSBASE)/common/inet/ip
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync#
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync# Include common rules.
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync#
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncinclude $(UTSBASE)/intel/Makefile.intel
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync#
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync# Define targets
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync#
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncALL_TARGET = $(BINARY) $(SRC_CONFFILE)
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncLINT_TARGET = $(MODULE).lint
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync#
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync# Linkage dependencies
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync#
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncLDFLAGS += -dy -Ndrv/ip -Ndrv/ipsecah -Nmisc/kcf
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync#
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync# For now, disable these lint checks; maintainers should endeavor
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync# to investigate and remove these for maximum lint coverage.
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync# Please do not carry these forward to new Makefiles.
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync#
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncLINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncLINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncLINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync#
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync# Default build targets.
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync#
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync.KEEP_STATE:
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncdef: $(DEF_DEPS)
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncall: $(ALL_DEPS)
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync
7bff28e0cedd8656acd24b420759649184d8cf00vboxsyncclean: $(CLEAN_DEPS)
f7d6665d93770b79026556438d5e081807917420vboxsync
7bff28e0cedd8656acd24b420759649184d8cf00vboxsyncclobber: $(CLOBBER_DEPS)
7bff28e0cedd8656acd24b420759649184d8cf00vboxsync
7bff28e0cedd8656acd24b420759649184d8cf00vboxsynclint: $(LINT_DEPS)
7bff28e0cedd8656acd24b420759649184d8cf00vboxsync
7bff28e0cedd8656acd24b420759649184d8cf00vboxsyncmodlintlib: $(MODLINTLIB_DEPS)
76800c2d8e954bb5249d2d30f4af41c6ea03ad5evboxsync
7bff28e0cedd8656acd24b420759649184d8cf00vboxsyncclean.lint: $(CLEAN_LINT_DEPS)
7bff28e0cedd8656acd24b420759649184d8cf00vboxsync
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsyncinstall: $(INSTALL_DEPS)
f44e23b1649344fbcc0e91b8699965f13d3bc4f7vboxsync
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync$(ROOTLINK): $(ROOT_STRMOD_DIR) $(ROOTMODULE)
de0f1c1251cc9a7d80f9ebeb8f03fb2989fd6cd0vboxsync -$(RM) $@; ln $(ROOTMODULE) $@
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync#
f44e23b1649344fbcc0e91b8699965f13d3bc4f7vboxsync# Include common targets.
1ace73711fa06807748eff26632c7273a1f7c2dbvboxsync#
f44e23b1649344fbcc0e91b8699965f13d3bc4f7vboxsyncinclude $(UTSBASE)/intel/Makefile.targ
f44e23b1649344fbcc0e91b8699965f13d3bc4f7vboxsync