Makefile revision f4b3ec61df05330d25f55a36b975b4d7519fdeb1
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# CDDL HEADER START
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# The contents of this file are subject to the terms of the
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User# Common Development and Distribution License (the "License").
5347c0fcb04eaea19d9f39795646239f487c6207Tinderbox User# You may not use this file except in compliance with the License.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# See the License for the specific language governing permissions
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# and limitations under the License.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# When distributing Covered Code, include this CDDL HEADER in each
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# If applicable, add the following below this CDDL HEADER, with the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# fields enclosed by brackets "[]" replaced with your own identifying
cd32f419a8a5432fbb139f56ee73cbf68b9350ccTinderbox User# information: Portions Copyright [yyyy] [name of copyright owner]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# CDDL HEADER END
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Use is subject to license terms.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein#ident "%Z%%M% %I% %E% SMI"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# This makefile drives the production of the ipsecah driver
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# kernel module.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# intel implementation architecture dependent
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# Path to the base of the uts directory tree (usually /usr/src/uts).
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# Define the module and object file sets.
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# Include common rules.
f9ce6280cec79deb16ff6d9807aa493ff23e10d9Tinderbox User# Define targets
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
0da02c26a6631c25f075a8e4ac6de9e58f49a0c2Tinderbox User# Linkage dependencies
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# For now, disable these lint checks; maintainers should endeavor
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# to investigate and remove these for maximum lint coverage.
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# Please do not carry these forward to new Makefiles.
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# Default build targets.
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User @$(GREP) -v '#' $(MODULE).objt-symbols.obj64 |$(GREP) . |$(SORT) -u \
8a48b6b9b6fa8486f24b22d1972b2b6ebb36a4a4Tinderbox User @$(NM) obj64/$(MODULE) |$(GREP) OBJT |$(GREP) -v UNDEF | \
8a48b6b9b6fa8486f24b22d1972b2b6ebb36a4a4Tinderbox User $(CUT) -d'|' -f8 |$(SORT) -u > $(MODULE).symbols.tmp.new
8a48b6b9b6fa8486f24b22d1972b2b6ebb36a4a4Tinderbox User -@$(DIFF) $(MODULE).symbols.tmp $(MODULE).symbols.tmp.new
7911e6f9de303bca5a3d8b34f4330c8f7cecffaeTinderbox User# Include common targets.