Makefile revision fb9f9b975cb9214fec5dab37d461199adab9b964
6c2a76b3e2ccd32c35814b6e0f54da00190749d7Evan Hunt# CDDL HEADER START
c7fd128f8ea8a527fe27c1b95ab46df7155bc8e4Tinderbox User# The contents of this file are subject to the terms of the
c7fd128f8ea8a527fe27c1b95ab46df7155bc8e4Tinderbox User# Common Development and Distribution License, Version 1.0 only
ba9e87b35e561bc7354ce3f4b9685b747b7be507Tinderbox User# (the "License"). You may not use this file except in compliance
1f9754245cbd5eec2d2a667bb292f62f72386d4bMark Andrews# with the License.
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
59663800d2ec04777dae2791dd92aa563faf94c8Evan Hunt# See the License for the specific language governing permissions
1ca2cf024391992fe14b2df7d3ae0f575d074452Evan Hunt# and limitations under the License.
1ca2cf024391992fe14b2df7d3ae0f575d074452Evan Hunt# When distributing Covered Code, include this CDDL HEADER in each
a2c370ca12bb0360ff7e969474ead3f788c65fffTinderbox User# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
8de3f14f1c300c3e1ed99084cc03485b42c92bf1Tinderbox User# If applicable, add the following below this CDDL HEADER, with the
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# CDDL HEADER END
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Use is subject to license terms.
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews#pragma ident "%Z%%M% %I% %E% SMI"
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# This makefile drives the production of the sun4u excalibur platform
415d630b6309922caee8469384a6fab75cf05032Mark Andrews# sun4u implementation architecture dependent
415d630b6309922caee8469384a6fab75cf05032Mark Andrews# Path to the base of the uts directory tree (usually /usr/src/uts).
415d630b6309922caee8469384a6fab75cf05032Mark Andrews# Include common rules.
415d630b6309922caee8469384a6fab75cf05032Mark Andrewsinclude $(UTSBASE)/sun4u/excalibur/Makefile.excalibur
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# Default build targets.
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrewsdef all clean clean.lint clobber modlist: $(EXCALIBUR_KMODS)
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# EXPORT DELETE START
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# aes256 is delivered in the SUNWcryr package which is removed from
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# the EXPORT_SRC build.
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# EXPORT DELETE END
2ae159b376dac23870d8005563c585acf85a4b5aEvan Hunt# The 'lint.platmod' target lints the excalibur platform module against the sun4u
415d630b6309922caee8469384a6fab75cf05032Mark Andrews# kernel. This ends up doing all the kernel cross-checks, so it takes a couple
e813f036c8251b6d9d2a72fa84f80c2c9d2795afMark Andrews# of minutes. Due to the low ROI, it's not run by default, but it's a good
9218b940febade3085fd6d95a15e67d5f94833f0Tinderbox User# idea to run this if you change os/excalibur.c.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews @-$(ECHO) "\nExcalibur Platform-dependent module: global crosschecks:"
9218b940febade3085fd6d95a15e67d5f94833f0Tinderbox User @-$(LINT) $(LINTFLAGS) $(LINT_LIBS) 2>&1 | $(LGREP.2)
9218b940febade3085fd6d95a15e67d5f94833f0Tinderbox User$(EXCALIBUR_CRYPTO_LINKS): $(ROOT_EXCALIBUR_CRYPTO_DIR_64)
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews $(SYMLINK) $(ROOT_US3_CRYPTO_LINK)/$@ $(ROOT_EXCALIBUR_CRYPTO_DIR_64)/$@
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson# EXPORT DELETE START
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# EXPORT DELETE END
415d630b6309922caee8469384a6fab75cf05032Mark Andrews# Include common targets.