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