Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
311N/A#
311N/A# CDDL HEADER START
311N/A#
311N/A# The contents of this file are subject to the terms of the
311N/A# Common Development and Distribution License, Version 1.0 only
311N/A# (the "License"). You may not use this file except in compliance
311N/A# with the License.
311N/A#
311N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
311N/A# or http://www.opensolaris.org/os/licensing.
311N/A# See the License for the specific language governing permissions
311N/A# and limitations under the License.
311N/A#
311N/A# When distributing Covered Code, include this CDDL HEADER in each
311N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
311N/A# If applicable, add the following below this CDDL HEADER, with the
311N/A# fields enclosed by brackets "[]" replaced with your own identifying
311N/A# information: Portions Copyright [yyyy] [name of copyright owner]
311N/A#
311N/A# CDDL HEADER END
311N/A#
311N/A# uts/intel/Makefile
311N/A#
311N/A# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
333N/A# Use is subject to license terms.
311N/A#
311N/A# ident "%Z%%M% %I% %E% SMI"
311N/A#
311N/A#
311N/A# This makefile drives the production of all implementation architecture
333N/A# independent modules for Intel processors.
333N/A
311N/AUTSBASE = ..
311N/A
311N/Ainclude Makefile.intel
311N/A
311N/ALINT_LIBS = $(LINT_LIB) $(GEN_LINT_LIB) \
311N/A $(LINT_KMODS:%=$(LINT_LIB_DIR)/llib-l%.ln)
311N/A
311N/A# EXPORT DELETE START
311N/ALINT_LIBS += $(SVVS_KMODS:%=$(LINT_LIB_DIR)/llib-l%.ln)
311N/ALINT_XMODLIBS2 = $(XMODS:adpu320=)
311N/ALINT_XMODLIBS1 = $(LINT_XMODLIBS2:e1000g=)
311N/ALINT_XMODLIBS = $(LINT_XMODLIBS1:nge=)
311N/ALINT_LIBS += $(LINT_XMODLIBS:%=$(LINT_LIB_DIR)/llib-l%.ln)
311N/A
311N/A#
311N/A# dprov is delivered in the SUNWcrtptoint package.
311N/A#
311N/ADRV_KMODS += dprov
311N/A
311N/A#
311N/A# CRYPTO_EK_KMODS modules go in the encryption pack (SUNWcry*)
311N/A# They need to be listed separately since they duplicate global symbols
311N/A# causing the 2nd pass of lint on the kernel to complain. CRYPTO_EK_KMODS
311N/A# should not be listed in the lint target.
311N/A#
311N/ACRYPTO_EK_KMODS += aes256
311N/ACRYPTO_EK_KMODS += arcfour2048
311N/ACRYPTO_EK_KMODS += blowfish448
311N/A
311N/A# EXPORT DELETE END
311N/A
311N/A#
311N/A#
311N/Adef := TARGET= def
311N/Aall := TARGET= all
311N/Ainstall := TARGET= install
311N/Aclean := TARGET= clean
311N/Aclobber := TARGET= clobber
311N/Alint := TARGET= lint
311N/Amodlintlib := TARGET= modlintlib
311N/Aclean.lint := TARGET= clean.lint
311N/Acheck := TARGET= check
311N/Ainstall_h := TARGET= install_h
311N/A
311N/A.KEEP_STATE:
311N/A
311N/A.PARALLEL: $(KMODS) $(SVVS) $(XMODS) config $(LINT_DEPS)
311N/A
311N/Adef all install clean clobber: $(KMODS) $(SVVS) $(XMODS) config
311N/A
311N/Amodlintlib clean.lint: $(LINT_KMODS) $(SVVS) $(XMODS)
311N/A
311N/A$(KMODS) $(SUBDIRS) config: FRC
311N/A @cd $@; pwd; $(MAKE) $(TARGET)
311N/A
311N/A$(SVVS) $(XMODS): FRC
311N/A @if [ -f $@/Makefile ]; then \
311N/A cd $@; pwd; $(MAKE) $(TARGET); \
311N/A else \
311N/A true; \
311N/A fi
311N/A
311N/Ainstall_h check: FRC
311N/A @cd sys; pwd; $(MAKE) $(TARGET)
311N/A @cd asm; pwd; $(MAKE) $(TARGET)
311N/A @cd ia32/sys; pwd; $(MAKE) $(TARGET)
311N/A @cd amd64/sys; pwd; $(MAKE) $(TARGET)
311N/A
311N/A#
311N/A# Full kernel lint target.
311N/A#
311N/ALINT_TARGET = globallint
311N/A
311N/Agloballint:
311N/A @-$(ECHO) "\nFULL KERNEL: global crosschecks:"
311N/A @-$(LINT) $(LINTFLAGS) $(LINT_LIBS) 2>&1 | $(LGREP.2)
311N/A
311N/Alint: modlintlib .WAIT $(LINT_DEPS)
311N/A
311N/A# EXPORT DELETE START
311N/A
311N/AEXPORT_SRC:
311N/A $(RM) Makefile+
311N/A sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
311N/A < Makefile > Makefile+
311N/A $(MV) Makefile+ Makefile
311N/A $(CHMOD) 444 Makefile
311N/A
311N/A# EXPORT DELETE END
311N/A
311N/Ainclude ../Makefile.targ
311N/A