Makefile revision 1e49577a7fcde812700ded04431b49d67cc57d6d
3544N/A#
3544N/A# CDDL HEADER START
3544N/A#
3544N/A# The contents of this file are subject to the terms of the
3544N/A# Common Development and Distribution License (the "License").
3544N/A# You may not use this file except in compliance with the License.
3544N/A#
3544N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3544N/A# or http://www.opensolaris.org/os/licensing.
3544N/A# See the License for the specific language governing permissions
3544N/A# and limitations under the License.
3544N/A#
3544N/A# When distributing Covered Code, include this CDDL HEADER in each
3544N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3544N/A# If applicable, add the following below this CDDL HEADER, with the
3544N/A# fields enclosed by brackets "[]" replaced with your own identifying
3544N/A# information: Portions Copyright [yyyy] [name of copyright owner]
3544N/A#
3544N/A# CDDL HEADER END
3544N/A#
3544N/A#
3544N/A# Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved.
5185N/A#
5804N/A
5185N/A#
5185N/A# This makefile drives the production of the sun4u mpxu platform
5185N/A# module.
3544N/A#
3544N/A# sun4u implementation architecture dependent
3544N/A#
3544N/A
3544N/A#
3544N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
5185N/A#
3544N/AUTSBASE = ../..
3544N/A
3544N/A#
3544N/A# Include common rules.
3544N/A#
3544N/Ainclude $(UTSBASE)/sun4u/mpxu/Makefile.mpxu
3544N/A
3544N/Adef := TARGET= def
3544N/Aall := TARGET= all
3544N/Ainstall := TARGET= install
3544N/Ainstall_h := TARGET= install_h
3544N/Aclean := TARGET= clean
3544N/Aclobber := TARGET= clobber
3544N/Alint := TARGET= lint
3544N/Alintlib := TARGET= lintlib
3544N/Amodlintlib := TARGET= modlintlib
3544N/Amodlist := TARGET= modlist
3544N/Amodlist := NO_STATE= -K $$MODSTATE$$$$
4770N/Aclean.lint := TARGET= clean.lint
4305N/Acheck := TARGET= check
3544N/A
4305N/A#
3544N/A# Default build targets.
3544N/A#
3544N/A.KEEP_STATE:
4495N/A
3544N/Adef all clean clean.lint clobber modlist: $(MPXU_KMODS) $(CLOSED_MPXU_KMODS)
3544N/A
3544N/Alintlib: unix
3544N/A
3544N/Amodlintlib: $(MPXU_KMODS) $(CLOSED_MPXU_KMODS)
3544N/A
3544N/AIMPLEMENTED_PLATFORM = SUNW,Sun-Fire-V240
4495N/A
4495N/ALINKED_PLATFORMS = SUNW,Sun-Fire-V210
4770N/ALINKED_PLATFORMS += SUNW,Netra-240
5185N/ALINKED_PLATFORMS += SUNW,Netra-210
5185N/A
3544N/A
4770N/Ainstall: $(ROOT_MPXU_DIR) $(USR_MPXU_DIR) \
4770N/A $(USR_MPXU_INC_DIR) \
4115N/A $(USR_MPXU_SBIN_PRTDIAG) \
4770N/A $(USR_MPXU_SBIN_FRUADM) \
4770N/A $(USR_MPXU_LIB_DIR) \
3544N/A $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%) \
3544N/A $(LINKED_PLATFORMS:%=$(ROOT_PLAT_DIR)/%) \
3544N/A $(MPXU_CRYPTO_LINKS) \
3544N/A $(CLOSED_MPXU_KMODS) \
4115N/A .WAIT $(MPXU_KMODS)
3544N/A
3544N/A$(MPXU_KMODS): FRC
4770N/A @cd $@; pwd; $(MAKE) $(NO_STATE) $(TARGET)
3544N/A
4495N/A$(CLOSED_MPXU_KMODS): FRC
3544N/A cd $(CLOSED)/uts/sun4u/mpxu/$@; pwd; $(MAKE) $(NO_STATE) $(TARGET)
4495N/A
3544N/A$(MPXU_CRYPTO_LINKS): $(ROOT_MPXU_CRYPTO_DIR_64)
4770N/A -$(RM) $(ROOT_MPXU_CRYPTO_DIR_64)/$@;
3544N/A $(SYMLINK) $(ROOT_US3_CRYPTO_LINK)/$@ $(ROOT_MPXU_CRYPTO_DIR_64)/$@
4770N/A
3544N/Ainstall_h check: FRC
4770N/A @cd sys; pwd; $(MAKE) $(TARGET)
3544N/A
3544N/A
3544N/Alint: modlintlib
4770N/A
5185N/ALINT_LIBS = $(LINT_LIB) \
4495N/A -L$(MPXU_LINT_LIB_DIR) \
5185N/A -L$(LINT_LIB_DIR) $(LINT_KMODS:%=-l%) \
5223N/A $(CLOSED_LINT_KMODS:%=-l%) \
3544N/A -L$(SPARC_LIB_DIR) $(SPARC_LINTS:%=-l%)
3544N/A
3580N/Alint.platmod: modlintlib
3544N/A @-$(ECHO) "\nMPXU Platform-dependent module: global crosschecks:"
3544N/A @-$(LINT) $(LINTFLAGS) $(LINT_LIBS) 2>&1 | $(LGREP.2)
4495N/A
4115N/A#
3544N/A#
4495N/A# Include common targets.
4115N/A#
3544N/Ainclude $(UTSBASE)/sun4u/mpxu/Makefile.targ
3544N/A