Makefile revision 88f8b78a88cbdc6d8c1af5c3e54bc49d25095c98
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync# CDDL HEADER START
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync# The contents of this file are subject to the terms of the
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync# Common Development and Distribution License, Version 1.0 only
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync# (the "License"). You may not use this file except in compliance
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync# with the License.
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync# See the License for the specific language governing permissions
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync# and limitations under the License.
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync# When distributing Covered Code, include this CDDL HEADER in each
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync# If applicable, add the following below this CDDL HEADER, with the
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync# fields enclosed by brackets "[]" replaced with your own identifying
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync# CDDL HEADER END
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#ident "%Z%%M% %I% %E% SMI"
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync# Use is subject to license terms.
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync# This makefile drives the production of all implementation architecture
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync# independent modules for the SPARC processor. (For those unsure, this
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync# means the module will run on all SPARC processor based machines
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync# running SunOS.)
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync# EXPORT DELETE START
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncLINT_LIBS += $(SVVS_KMODS:%=$(LINT_LIB_DIR)/llib-l%.ln)
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncLINT_LIBS += $(LINT_XMODLIBS:%=$(LINT_LIB_DIR)/llib-l%.ln)
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync# CRYPTO_EK_KMODS modules go in the encryption pack (SUNWcry*)
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync# They need to be listed separately since they duplicate global symbols
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync# causing the 2nd pass of lint on the kernel to complain. CRYPTO_EK_KMODS
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync# should not be listed in the lint target.
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync# EXPORT DELETE END
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync.PARALLEL: $(KMODS) $(SVVS) $(XMODS) config $(LINT_DEPS)
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncdef all install clean clobber: $(KMODS) $(SVVS) $(XMODS) config
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncmodlintlib clean.lint: $(LINT_KMODS) $(SVVS) $(XMODS)
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync @if [ -f $@/Makefile ]; then \
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync# Full kernel lint target.
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync @-$(LINT) $(LINTFLAGS) $(LINT_LIBS) 2>&1 | $(LGREP.2)
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync# EXPORT DELETE START
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync# EXPORT DELETE END