Makefile revision 49126f4ee0c35e5a0877255000316089c82e6f7e
a13531703adeeb1b8b4b9beca2499a51e37b36adJazzyNico# CDDL HEADER START
a13531703adeeb1b8b4b9beca2499a51e37b36adJazzyNico# The contents of this file are subject to the terms of the
a13531703adeeb1b8b4b9beca2499a51e37b36adJazzyNico# Common Development and Distribution License (the "License").
a13531703adeeb1b8b4b9beca2499a51e37b36adJazzyNico# You may not use this file except in compliance with the License.
a13531703adeeb1b8b4b9beca2499a51e37b36adJazzyNico# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
a13531703adeeb1b8b4b9beca2499a51e37b36adJazzyNico# See the License for the specific language governing permissions
a13531703adeeb1b8b4b9beca2499a51e37b36adJazzyNico# and limitations under the License.
a13531703adeeb1b8b4b9beca2499a51e37b36adJazzyNico# When distributing Covered Code, include this CDDL HEADER in each
a13531703adeeb1b8b4b9beca2499a51e37b36adJazzyNico# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
a13531703adeeb1b8b4b9beca2499a51e37b36adJazzyNico# If applicable, add the following below this CDDL HEADER, with the
a13531703adeeb1b8b4b9beca2499a51e37b36adJazzyNico# fields enclosed by brackets "[]" replaced with your own identifying
a13531703adeeb1b8b4b9beca2499a51e37b36adJazzyNico# information: Portions Copyright [yyyy] [name of copyright owner]
a13531703adeeb1b8b4b9beca2499a51e37b36adJazzyNico# CDDL HEADER END
a13531703adeeb1b8b4b9beca2499a51e37b36adJazzyNico# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
a13531703adeeb1b8b4b9beca2499a51e37b36adJazzyNico# Use is subject to license terms.
a13531703adeeb1b8b4b9beca2499a51e37b36adJazzyNico# ident "%Z%%M% %I% %E% SMI"
a13531703adeeb1b8b4b9beca2499a51e37b36adJazzyNico# This makefile drives the production of all implementation architecture
a13531703adeeb1b8b4b9beca2499a51e37b36adJazzyNico# dependent modules for the sun4v architecture.
a13531703adeeb1b8b4b9beca2499a51e37b36adJazzyNicoUSR_GLENDALE_DIR = $(USR_PLAT_DIR)/SUNW,Sun-Blade-T6320
a13531703adeeb1b8b4b9beca2499a51e37b36adJazzyNico# The following are SPARC specific (rather than sun4v) specific modules
a13531703adeeb1b8b4b9beca2499a51e37b36adJazzyNico# which are required for the sun4v kernel to completely lint. They are
a13531703adeeb1b8b4b9beca2499a51e37b36adJazzyNico# not involved in the build in any other way. In order to minimize
a13531703adeeb1b8b4b9beca2499a51e37b36adJazzyNico# build time, it is assumed that they are up to date. But since sun4v
a13531703adeeb1b8b4b9beca2499a51e37b36adJazzyNico# is really a separate architecture we cannot use the v7 sparc modules.
a13531703adeeb1b8b4b9beca2499a51e37b36adJazzyNicoSPARC_LIB_DIR = $(UTSBASE)/sparc/lint-libs/$(OBJS_DIR)
a13531703adeeb1b8b4b9beca2499a51e37b36adJazzyNico $(CLOSED_LINT_KMODS:%=$(LINT_LIB_DIR)/llib-l%.ln) \
a13531703adeeb1b8b4b9beca2499a51e37b36adJazzyNico# EXPORT DELETE START
a13531703adeeb1b8b4b9beca2499a51e37b36adJazzyNico# CRYPTO_EK_KMODS modules go in the encryption pack (SUNWcry*)
a13531703adeeb1b8b4b9beca2499a51e37b36adJazzyNico# They need to be listed separately since they duplicate global symbols
a13531703adeeb1b8b4b9beca2499a51e37b36adJazzyNico# causing the 2nd pass of lint on the kernel to complain. CRYPTO_EK_KMODS
a13531703adeeb1b8b4b9beca2499a51e37b36adJazzyNico# should not be listed in the lint target.
a13531703adeeb1b8b4b9beca2499a51e37b36adJazzyNico# Don't build this for OpenSolaris, since it will be replaced by
a13531703adeeb1b8b4b9beca2499a51e37b36adJazzyNico# a binary that is signed by Sun RE.
a13531703adeeb1b8b4b9beca2499a51e37b36adJazzyNico# EXPORT DELETE END
a13531703adeeb1b8b4b9beca2499a51e37b36adJazzyNicomodlist modlist.sparc := NO_STATE= -K $$MODSTATE$$$$
a13531703adeeb1b8b4b9beca2499a51e37b36adJazzyNico.PARALLEL: $(PARALLEL_KMODS) $(CLOSED_KMODS) $(XMODS) $(CLOSED_XMODS) \
a13531703adeeb1b8b4b9beca2499a51e37b36adJazzyNico# Override for CPU_KMODS... they cannot be built
a13531703adeeb1b8b4b9beca2499a51e37b36adJazzyNico# in parallel
a13531703adeeb1b8b4b9beca2499a51e37b36adJazzyNicodef all clean clobber clean.lint: genassym unix .WAIT \
a13531703adeeb1b8b4b9beca2499a51e37b36adJazzyNico $(KMODS) $(CLOSED_KMODS) $(XMODS) $(CLOSED_XMODS) $(IMPLEMENTATIONS)
a13531703adeeb1b8b4b9beca2499a51e37b36adJazzyNico# list the modules under sun4v.
a13531703adeeb1b8b4b9beca2499a51e37b36adJazzyNicomodlist: unix $(KMODS) $(CLOSED_KMODS) $(XMODS) $(CLOSED_XMODS) \
a13531703adeeb1b8b4b9beca2499a51e37b36adJazzyNico# list the modules for Install -k sun4v.
@if [ -f $@/Makefile ]; then \
-$(INS.dir.root.sys)
$(INS.slink1)
-$(INS.dir.root.sys)
$(INS.slink3)
$(USR_STPAUL_LIB_DIR) \
$(USR_GLENDALE_LIB_DIR) \
$(USR_HURON_DIR) \
$(USR_MARAMBA_LIB_DIR) \
$(USR_THUNDER_LIB_DIR) \
$(USR_TURGO_LIB_DIR) \
$(INS.slink4)
$(INS.slink5)
-$(INS.dir.root.bin)
-$(INS.dir.root.sys)
$(INS.slink5)
-$(INS.dir.root.bin)
-$(INS.dir.root.sys)
$(INS.slink5)
-$(INS.dir.root.bin)
-$(INS.dir.root.sys)
$(INS.slink5)
-$(INS.dir.root.bin)
-$(INS.dir.root.sys)
$(INS.slink5)
-$(INS.dir.root.bin)
-$(INS.dir.root.sys)
$(INS.slink5)
-$(INS.dir.root.bin)
-$(INS.dir.root.sys)
$(INS.slink5)
-$(INS.dir.root.bin)
-$(INS.dir.root.sys)
$(INS.slink5)
-$(INS.dir.root.bin)
$(XREF) -x $@