Makefile revision b65731f1f612238279eb4d997f43589b535c5646
80833bb9a1bf25dcf19e814438a4b311d2e1f4cffuankg# CDDL HEADER START
11f1871b90149f8af3bf4e884dcc404436686967ylavic# The contents of this file are subject to the terms of the
11f1871b90149f8af3bf4e884dcc404436686967ylavic# Common Development and Distribution License, Version 1.0 only
11f1871b90149f8af3bf4e884dcc404436686967ylavic# (the "License"). You may not use this file except in compliance
11f1871b90149f8af3bf4e884dcc404436686967ylavic# with the License.
11aca81b7631c2d33b1fc87741e6be5559c913e9ylavic# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
11aca81b7631c2d33b1fc87741e6be5559c913e9ylavic# See the License for the specific language governing permissions
33a462c34409ee0a5c030810e241453f3761a1dbkbrand# and limitations under the License.
33a462c34409ee0a5c030810e241453f3761a1dbkbrand# When distributing Covered Code, include this CDDL HEADER in each
33a462c34409ee0a5c030810e241453f3761a1dbkbrand# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4f0358189bfa57b8e75bd6b94db264302a8f336amrumph# If applicable, add the following below this CDDL HEADER, with the
4f0358189bfa57b8e75bd6b94db264302a8f336amrumph# fields enclosed by brackets "[]" replaced with your own identifying
4f0358189bfa57b8e75bd6b94db264302a8f336amrumph# information: Portions Copyright [yyyy] [name of copyright owner]
5716f9c6daa92dde5f2f9d11ed63f7c9549c223atrawick# CDDL HEADER END
54d750a84a175d8e338880514d440773eb986b50covener#pragma ident "%Z%%M% %I% %E% SMI"
54d750a84a175d8e338880514d440773eb986b50covener# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
54d750a84a175d8e338880514d440773eb986b50covener# Use is subject to license terms.
54d750a84a175d8e338880514d440773eb986b50covener# This makefile drives the production of the sun4u starcat platform
54d750a84a175d8e338880514d440773eb986b50covener# sun4u starcat implementation architecture dependent
83b50288fa7d306324bba68832011ea08f5c7832covener# Path to the base of the uts directory tree (usually /usr/src/uts).
f628b0e7cb9bf51de44af6b4355bc520fda84f4ecovener# Include common rules.
b8efdc95bec9cf089aa1be0bfd07d46aa1137a7acovener# Default build targets.
c12b284247f00b5696adabb0b855ce0669465764ylavicdef all clean clobber clean.lint: genassym unix .WAIT \
c12b284247f00b5696adabb0b855ce0669465764ylavic $(STARCAT_CPU_KMODS) $(STARCAT_KMODS) $(CLOSED_STARCAT_KMODS)
f06e7c4b1bce6b6491e5de0b7998d3f5696b293dchrisd $(STARCAT_CPU_KMODS) $(STARCAT_KMODS) $(CLOSED_STARCAT_KMODS)
fce4949fb0b309a5744afcd503c6ed2d35621ee2covener# EXPORT DELETE START
7b7430e701e9a31ce809da7c220bb8dfcf68c86etrawick# aes256 is delivered in the SUNWcryr package which is removed from
7b7430e701e9a31ce809da7c220bb8dfcf68c86etrawick# the EXPORT_SRC build.
ccc20788c1e5fc973f36df634399c89acb70deaejerenkrantz# EXPORT DELETE END
efe780dcf13b2b95effabf897d694d8f23feac74trawickgenassym unix $(STARCAT_KMODS) $(STARCAT_CPU_KMODS): FRC
993d1261a278d7322bccef219101220b7b4fb8c5jkaluza cd $(CLOSED)/uts/sun4u/starcat/$@; pwd; $(MAKE) $(NO_STATE) $(TARGET)
ba050a6f942b9fa0e81ed73437588005c569655ccovener$(STARCAT_CRYPTO_LINKS): $(ROOT_STARCAT_CRYPTO_DIR_64)
ba050a6f942b9fa0e81ed73437588005c569655ccovener $(SYMLINK) $(ROOT_US3_CRYPTO_LINK)/$@ $(ROOT_STARCAT_CRYPTO_DIR_64)/$@
001a44c352f89c9ec332ffd3e0a6927dcd19432chumbedooh# The 'lint.platmod' target lints the starcat platform module against
001a44c352f89c9ec332ffd3e0a6927dcd19432chumbedooh# the sun4u kernel. This ends up doing all the kernel cross-checks,
efe780dcf13b2b95effabf897d694d8f23feac74trawick# so it takes a couple of minutes.
793214f67dede32edfd9ee96c664ead04d175cbbjfclere# Due to the low ROI, it's not run by default, but it's a good
cc5a4a08dc9783fcbc52ce86f11e01c281a43810minfrin# idea to run this if you change os/starcat.c.
249d09d51808cb7981af99762c3b3736ca126cd5jkaluza @-$(ECHO) "\nStarcat Platform-dependent module: global crosschecks:"
56589be3d7a3e9343370df240010c6928cc78b39jkaluza @-$(LINT) $(LINTFLAGS) $(LINT_LIBS) 2>&1 | $(LGREP.2)
56589be3d7a3e9343370df240010c6928cc78b39jkaluza# EXPORT DELETE START
652bacc79dd7f980249784cc8c4838e8f1de7e8acovener sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
f87299dab99bc04b51a6b8cad51b6795db862c0atrawick# EXPORT DELETE END
4d12805e6c18253040223ea637acd6b3b3c18f60jorton# Include common targets.