Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
0N/A#
553N/A# CDDL HEADER START
0N/A#
0N/A# The contents of this file are subject to the terms of the
0N/A# Common Development and Distribution License, Version 1.0 only
0N/A# (the "License"). You may not use this file except in compliance
0N/A# with the License.
0N/A#
0N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0N/A# or http://www.opensolaris.org/os/licensing.
0N/A# See the License for the specific language governing permissions
0N/A# and limitations under the License.
0N/A#
0N/A# When distributing Covered Code, include this CDDL HEADER in each
0N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0N/A# If applicable, add the following below this CDDL HEADER, with the
0N/A# fields enclosed by brackets "[]" replaced with your own identifying
0N/A# information: Portions Copyright [yyyy] [name of copyright owner]
553N/A#
553N/A# CDDL HEADER END
553N/A#
0N/A#
0N/A# uts/sun4u/cherrystone/Makefile
0N/A# Copyright 2001-2003 Sun Microsystems, Inc. All rights reserved.
0N/A# Use is subject to license terms.
0N/A#
0N/A#ident "%Z%%M% %I% %E% SMI"
0N/A#
0N/A# This makefile drives the production of all Cherrystone system
0N/A# dependent modules for the sun4u architecture.
0N/A#
0N/A
0N/A#
0N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
0N/A#
0N/AUTSBASE = ../..
0N/A
0N/A#
0N/A# Include common rules.
0N/A#
0N/Ainclude $(UTSBASE)/sun4u/cherrystone/Makefile.cherrystone
0N/A
0N/Adef := TARGET= def
0N/Aall := TARGET= all
0N/Ainstall := TARGET= install
0N/Ainstall_h := TARGET= install_h
0N/Aclean := TARGET= clean
0N/Aclobber := TARGET= clobber
0N/Alint := TARGET= lint
0N/Alintlib := TARGET= lintlib
0N/Amodlintlib := TARGET= modlintlib
0N/Aclean.lint := TARGET= clean.lint
0N/Acheck := TARGET= check
0N/A
0N/A#
0N/A# Default build targets.
0N/A#
0N/A.KEEP_STATE:
0N/A
0N/Adef all clean.lint clean clobber: $(CHERRYSTONE_KMODS)
0N/A
0N/Amodlintlib: $(CHERRYSTONE_KMODS)
0N/A
0N/AIMPLEMENTED_PLATFORM = SUNW,Sun-Fire-480R
0N/A
0N/ALINKED_PLATFORMS = SUNW,Sun-Fire-V490
0N/A
0N/A# EXPORT DELETE START
0N/A#
0N/A# aes256 is delivered in the SUNWcryr package which is removed
0N/A# from the EXPORT_SRC build.
0N/A#
0N/ACHERRYSTONE_CRYPTO_LINKS += aes256
0N/A# EXPORT DELETE END
0N/A
0N/Ainstall: $(ROOT_CHERRYSTONE_DIR) $(USR_CHERRYSTONE_DIR) \
0N/A $(USR_CHERRYSTONE_INC_DIR) \
0N/A $(USR_CHERRYSTONE_SBIN_DIR) \
0N/A $(USR_CHERRYSTONE_LIB_DIR) \
0N/A $(LINKED_PLATFORMS:%=$(ROOT_PLAT_DIR)/%) \
0N/A $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/lib) \
0N/A $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/include) \
0N/A $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/sbin) \
0N/A $(CHERRYSTONE_CRYPTO_LINKS) \
0N/A .WAIT $(CHERRYSTONE_KMODS)
0N/A
0N/Ainstall_h check: FRC
0N/A @cd sys; pwd; $(MAKE) $(TARGET)
0N/A
0N/A$(CHERRYSTONE_CRYPTO_LINKS): $(ROOT_CHERRYSTONE_CRYPTO_DIR_64)
0N/A -$(RM) $(ROOT_CHERRYSTONE_CRYPTO_DIR_64)/$@;
0N/A $(SYMLINK) $(ROOT_US3_CRYPTO_LINK)/$@ \
0N/A $(ROOT_CHERRYSTONE_CRYPTO_DIR_64)/$@
0N/A
0N/Alint: modlintlib
0N/A
0N/ALINT_LIBS = $(LINT_LIB) \
0N/A -L$(CHERRYSTONE_LINT_LIB_DIR) \
0N/A -L$(LINT_LIB_DIR) $(LINT_KMODS:%=-l%) \
0N/A -L$(SPARC_LIB_DIR) $(SPARC_LINTS:%=-l%)
0N/A
0N/Alint.platmod: modlintlib
0N/A @-$(ECHO) "\nCherrystone Platform-dependent module: global crosschecks:"
0N/A @-$(LINT) $(LINTFLAGS) $(LINT_LIBS) 2>&1 | $(LGREP.2)
0N/A
0N/A$(CHERRYSTONE_KMODS): FRC
0N/A @cd $@; pwd; $(MAKE) $(TARGET)
0N/A
0N/A# EXPORT DELETE START
0N/A
0N/AEXPORT_SRC:
0N/A $(RM) Makefile+
0N/A sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
0N/A < Makefile > Makefile+
0N/A $(MV) Makefile+ Makefile
0N/A $(CHMOD) 444 Makefile
0N/A
0N/A# EXPORT DELETE END
0N/A
0N/A#
0N/A#
0N/A# Include common targets.
0N/A#
include $(UTSBASE)/sun4u/cherrystone/Makefile.targ