Makefile revision d58fda4376e4bf67072ce2e69f6f47036f9dbb68
0N/A#
3909N/A# Copyright 2005 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#
2362N/A# uts/sun4u/seattle/Makefile
0N/A#
2362N/A# This makefile drives the production of the sun4u seattle platform
0N/A# module.
0N/A#
0N/A# sun4u implementation architecture dependent
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#
2362N/A# Include common rules.
2362N/A#
2362N/Ainclude $(UTSBASE)/sun4u/seattle/Makefile.seattle
0N/A
0N/Adef := TARGET= def
2157N/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 clean.lint clobber: $(SEATTLE_KMODS)
0N/A
0N/Amodlintlib: $(SEATTLE_KMODS)
0N/A
0N/ALINKED_PLATFORMS = SUNW,Sun-Fire-V245
0N/A
0N/A# EXPORT DELETE START
0N/A#
0N/A# aes256 is delivered in the SUNWcryr package which is removed from
0N/A# the EXPORT_SRC build.
0N/A#
0N/ASEATTLE_CRYPTO_LINKS += aes256
0N/A# EXPORT DELETE END
0N/A
0N/Ainstall: $(ROOT_SEATTLE_DIR) \
0N/A $(USR_SEATTLE_DIR) \
0N/A $(USR_SEATTLE_INC_DIR) \
0N/A $(USR_SEATTLE_SBIN_EEPROM) \
0N/A $(USR_SEATTLE_SBIN_PRTDIAG) \
0N/A $(USR_SEATTLE_SBIN_TRAPSTAT) \
0N/A $(USR_SEATTLE_LIB_DIR) \
0N/A $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%) \
0N/A $(LINKED_PLATFORMS:%=$(ROOT_PLAT_DIR)/%) \
0N/A $(SEATTLE_CRYPTO_LINKS) \
1091N/A .WAIT $(SEATTLE_KMODS)
1091N/A
0N/Acheck install_h:
0N/A
0N/Alint: modlintlib
0N/A
0N/A#
0N/A# The 'lint.platmod' target lints the seattle platform module against the sun4u
0N/A# kernel. This ends up doing all the kernel cross-checks, so it takes a couple
0N/A# of minutes. Due to the low ROI, it's not run by default, but it's a good
0N/A# idea to run this if you change os/seattle.c.
0N/A#
0N/ALINT_LIBS = $(LINT_LIB) \
0N/A -L$(SEATTLE_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) "\nSeattle Platform-dependent module: global crosschecks:"
0N/A @-$(LINT) $(LINTFLAGS) $(LINT_LIBS) 2>&1 | $(LGREP.2)
0N/A
0N/A$(SEATTLE_KMODS): FRC
0N/A @cd $@; pwd; $(MAKE) $(TARGET)
0N/A
0N/A$(SEATTLE_CRYPTO_LINKS): $(ROOT_SEATTLE_CRYPTO_DIR_64)
0N/A -$(RM) $(ROOT_SEATTLE_CRYPTO_DIR_64)/$@;
1091N/A $(SYMLINK) $(ROOT_US3_CRYPTO_LINK)/$@ $(ROOT_SEATTLE_CRYPTO_DIR_64)/$@
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+
1091N/A $(MV) Makefile+ Makefile
1091N/A $(CHMOD) 444 Makefile
1091N/A
0N/A# EXPORT DELETE END
0N/A
0N/A#
0N/A#
0N/A# Include common targets.
#
include $(UTSBASE)/sun4u/seattle/Makefile.targ