Makefile revision ae115bc77f6fcde83175c75b4206dc2e50747966
c80e152862cc3e3207dc837fde7116bd4c0e4b9dTinderbox User# CDDL HEADER START
8d1b3ceb4d491ce32572f1702f37ed585eede993Evan Hunt# The contents of this file are subject to the terms of the
8d1b3ceb4d491ce32572f1702f37ed585eede993Evan Hunt# Common Development and Distribution License (the "License").
d77cb075aae5595e460e3299bfc1e8ea5d42b560Evan Hunt# You may not use this file except in compliance with the License.
30ca20f720ad0887772a79e7abb25b4fa0e4b5b0Mark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
30ca20f720ad0887772a79e7abb25b4fa0e4b5b0Mark Andrews# See the License for the specific language governing permissions
30ca20f720ad0887772a79e7abb25b4fa0e4b5b0Mark Andrews# and limitations under the License.
701a93f5a592e4652343e049aa495d409c3ee133Mark Andrews# When distributing Covered Code, include this CDDL HEADER in each
7ec97ae74e42ec21b354fd2d1366313b41d947d6Evan Hunt# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
701a93f5a592e4652343e049aa495d409c3ee133Mark Andrews# If applicable, add the following below this CDDL HEADER, with the
701a93f5a592e4652343e049aa495d409c3ee133Mark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
002f1373374a0b72fc0329baa682917929bef168Tony Finch# information: Portions Copyright [yyyy] [name of copyright owner]
8f1ed05dc0aae7ae6c3da6ec6d405df61257a61eMark Andrews# CDDL HEADER END
8f1ed05dc0aae7ae6c3da6ec6d405df61257a61eMark Andrews# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
73cf0ba4e82c6baef638ecc4e31321223f841d28Mark Andrews# Use is subject to license terms.
73cf0ba4e82c6baef638ecc4e31321223f841d28Mark Andrews# ident "%Z%%M% %I% %E% SMI"
3a29ce9c08dd31709c73e7187aebda0d360c537bEvan Hunt# This makefile drives the production of the sun4u seattle platform
f1740da065d4555039fe8bb53beb4153e3f94de3Mark Andrews# sun4u implementation architecture dependent
31c7ab4fb3f7710af87dc9c3d64c5daf9a3dea35Mark Andrews# Path to the base of the uts directory tree (usually /usr/src/uts).
ad309e8dfa0601d6053aaa12770a98a6940f89deEvan Hunt# Include common rules.
635e4351b04fd61ca6d853bdac6268c090b55129Mark Andrewsinclude $(UTSBASE)/sun4u/seattle/Makefile.seattle
fd82c70695888c134287b8018296028c252d100eMukund Sivaraman# Default build targets.
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrewsdef all clean clean.lint clobber modlist: $(SEATTLE_KMODS)
2cf0fe3b8092f64f8f68ae3693fe2e73e90ad1a4Mark Andrews# EXPORT DELETE START
4221d9cd1d02311fbf9b5f08a038f5af78b10b4aEvan Hunt# aes256 is delivered in the SUNWcryr package which is removed from
4221d9cd1d02311fbf9b5f08a038f5af78b10b4aEvan Hunt# the EXPORT_SRC build.
f9c410d93711fbf312a0162f1e2d3f2a5ede69afFrancis Dupont# EXPORT DELETE END
7ff28f5befbee76048a23e504dcd3f9a44ce6209Evan Hunt# The 'lint.platmod' target lints the seattle platform module against the sun4u
7ff28f5befbee76048a23e504dcd3f9a44ce6209Evan Hunt# kernel. This ends up doing all the kernel cross-checks, so it takes a couple
7ff28f5befbee76048a23e504dcd3f9a44ce6209Evan Hunt# of minutes. Due to the low ROI, it's not run by default, but it's a good
7ff28f5befbee76048a23e504dcd3f9a44ce6209Evan Hunt# idea to run this if you change os/seattle.c.
cad79077bd5b2616bc4a7a6b3cbc0953bef8917fMark Andrews @-$(ECHO) "\nSeattle Platform-dependent module: global crosschecks:"
cad79077bd5b2616bc4a7a6b3cbc0953bef8917fMark Andrews @-$(LINT) $(LINTFLAGS) $(LINT_LIBS) 2>&1 | $(LGREP.2)
c3237dec879f82855403ff7e3ba87b298172efd5Mark Andrews$(SEATTLE_CRYPTO_LINKS): $(ROOT_SEATTLE_CRYPTO_DIR_64)
c3237dec879f82855403ff7e3ba87b298172efd5Mark Andrews $(SYMLINK) $(ROOT_US3_CRYPTO_LINK)/$@ $(ROOT_SEATTLE_CRYPTO_DIR_64)/$@
cb616c6d5c2ece1fac37fa6e0bca2b53d4043098Mark Andrews# EXPORT DELETE START
c0a2210466dec0cc81ebf2ffbe21693b57b9c29cMark Andrews sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
0f14b041328c062b1fa391887376388dfc8b2fe5Mark Andrews# EXPORT DELETE END
f7f4730e563a2749629fe7fef4cd9513cd2bfab7Mark Andrews# Include common targets.