Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
f743002678eb67b99bbc29fee116b65d9530fec0wrowe#
80833bb9a1bf25dcf19e814438a4b311d2e1f4cffuankg# CDDL HEADER START
1e1539a1e7d64b1af92636b81aac5aa50ee3163bminfrin#
f06e7c4b1bce6b6491e5de0b7998d3f5696b293dchrisd# The contents of this file are subject to the terms of the
f06e7c4b1bce6b6491e5de0b7998d3f5696b293dchrisd# Common Development and Distribution License, Version 1.0 only
f06e7c4b1bce6b6491e5de0b7998d3f5696b293dchrisd# (the "License"). You may not use this file except in compliance
179565be4043d7e5f9161aa75271fa0a001866d9covener# with the License.
179565be4043d7e5f9161aa75271fa0a001866d9covener#
179565be4043d7e5f9161aa75271fa0a001866d9covener# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
111436a32ba1254291e4883292fb116d15fe8f64covener# or http://www.opensolaris.org/os/licensing.
111436a32ba1254291e4883292fb116d15fe8f64covener# See the License for the specific language governing permissions
111436a32ba1254291e4883292fb116d15fe8f64covener# and limitations under the License.
111436a32ba1254291e4883292fb116d15fe8f64covener#
fce4949fb0b309a5744afcd503c6ed2d35621ee2covener# When distributing Covered Code, include this CDDL HEADER in each
fce4949fb0b309a5744afcd503c6ed2d35621ee2covener# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fce4949fb0b309a5744afcd503c6ed2d35621ee2covener# If applicable, add the following below this CDDL HEADER, with the
fce4949fb0b309a5744afcd503c6ed2d35621ee2covener# fields enclosed by brackets "[]" replaced with your own identifying
7b7430e701e9a31ce809da7c220bb8dfcf68c86etrawick# information: Portions Copyright [yyyy] [name of copyright owner]
7b7430e701e9a31ce809da7c220bb8dfcf68c86etrawick#
7b7430e701e9a31ce809da7c220bb8dfcf68c86etrawick# CDDL HEADER END
ccc20788c1e5fc973f36df634399c89acb70deaejerenkrantz#
ccc20788c1e5fc973f36df634399c89acb70deaejerenkrantz#
ccc20788c1e5fc973f36df634399c89acb70deaejerenkrantz# uts/sun4v/platmod/Makefile
a370a774825bc89fc6b0d8e45035a590e39b0bd6minfrin# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
a370a774825bc89fc6b0d8e45035a590e39b0bd6minfrin# Use is subject to license terms.
a370a774825bc89fc6b0d8e45035a590e39b0bd6minfrin#
60998c490ad3334eb07ae63b23b479ac564dec94kbrand#ident "%Z%%M% %I% %E% SMI"
60998c490ad3334eb07ae63b23b479ac564dec94kbrand#
60998c490ad3334eb07ae63b23b479ac564dec94kbrand# This makefile drives the production of the sun4v default platform module.
60998c490ad3334eb07ae63b23b479ac564dec94kbrand#
60998c490ad3334eb07ae63b23b479ac564dec94kbrand# sun4v implementation architecture dependent
d522f82d7ada07a0cedb8dc6b71eacf3477d7188trawick#
d522f82d7ada07a0cedb8dc6b71eacf3477d7188trawick
d522f82d7ada07a0cedb8dc6b71eacf3477d7188trawick#
1e1539a1e7d64b1af92636b81aac5aa50ee3163bminfrin# Path to the base of the uts directory tree (usually /usr/src/uts).
1e1539a1e7d64b1af92636b81aac5aa50ee3163bminfrin#
1e1539a1e7d64b1af92636b81aac5aa50ee3163bminfrinUTSBASE = ../..
273e512f20f262e5e2aa8e0e83371d1929fb76adjkaluza
273e512f20f262e5e2aa8e0e83371d1929fb76adjkaluza#
273e512f20f262e5e2aa8e0e83371d1929fb76adjkaluza# Define the module and object file sets.
efe780dcf13b2b95effabf897d694d8f23feac74trawick#
81849cd8925f6ffaf57412aaaac8a6df0d33cbb6covenerMODULE = platmod
81849cd8925f6ffaf57412aaaac8a6df0d33cbb6covenerOBJECTS = $(PLATMOD_OBJS:%=$(OBJS_DIR)/%)
81849cd8925f6ffaf57412aaaac8a6df0d33cbb6covenerLINTS = $(PLATMOD_OBJS:%.o=$(LINTS_DIR)/%.ln)
c8e4ae58e7b9eb27e5158d6980770d5064c50ba7trawickROOTMODULE = $(ROOT_PSM_PLAT_DIR)/$(MODULE)
c8e4ae58e7b9eb27e5158d6980770d5064c50ba7trawick
c8e4ae58e7b9eb27e5158d6980770d5064c50ba7trawickPLAT_DIR = .
c8e4ae58e7b9eb27e5158d6980770d5064c50ba7trawick
c8e4ae58e7b9eb27e5158d6980770d5064c50ba7trawick#
fe83f60b41477b14a37edcfcd1f7f5c5a1ebfe44minfrin# Include common rules.
fe83f60b41477b14a37edcfcd1f7f5c5a1ebfe44minfrin#
fe83f60b41477b14a37edcfcd1f7f5c5a1ebfe44minfrininclude $(UTSBASE)/sun4v/Makefile.sun4v
7f6bfe455bd605a6401d2fcc9423972a24266b16jim
7f6bfe455bd605a6401d2fcc9423972a24266b16jim#
7f6bfe455bd605a6401d2fcc9423972a24266b16jim# Override defaults
993d1261a278d7322bccef219101220b7b4fb8c5jkaluza#
993d1261a278d7322bccef219101220b7b4fb8c5jkaluzaCLEANFILES += $(PLATLIB)
993d1261a278d7322bccef219101220b7b4fb8c5jkaluza
3b995de5609b15115a0764e6979ba43071a2988fjim#
3b995de5609b15115a0764e6979ba43071a2988fjim# Define targets
3b995de5609b15115a0764e6979ba43071a2988fjim#
ba050a6f942b9fa0e81ed73437588005c569655ccovenerALL_TARGET = $(PLATLIB)
ba050a6f942b9fa0e81ed73437588005c569655ccovenerLINT_TARGET = $(MODULE).lint
ba050a6f942b9fa0e81ed73437588005c569655ccovenerINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
ba050a6f942b9fa0e81ed73437588005c569655ccovener
ba050a6f942b9fa0e81ed73437588005c569655ccovener#
ba050a6f942b9fa0e81ed73437588005c569655ccovener# lint pass one enforcement
ba050a6f942b9fa0e81ed73437588005c569655ccovener#
135ddda3a989215d2bedbcf1529bfb269c3eda23niqCFLAGS += $(CCVERBOSE)
135ddda3a989215d2bedbcf1529bfb269c3eda23niq
135ddda3a989215d2bedbcf1529bfb269c3eda23niq#
166b66614fb67e1b95c200433925787457657a0ajim# Default build targets.
166b66614fb67e1b95c200433925787457657a0ajim#
166b66614fb67e1b95c200433925787457657a0ajim.KEEP_STATE:
166b66614fb67e1b95c200433925787457657a0ajim
1122585e1e00bb81e9d0f054bf5c318cec23aa7dminfrindef: $(DEF_DEPS)
1122585e1e00bb81e9d0f054bf5c318cec23aa7dminfrin
1122585e1e00bb81e9d0f054bf5c318cec23aa7dminfrinall: $(ALL_DEPS)
001a44c352f89c9ec332ffd3e0a6927dcd19432chumbedooh
001a44c352f89c9ec332ffd3e0a6927dcd19432chumbedoohclean: $(CLEAN_DEPS)
001a44c352f89c9ec332ffd3e0a6927dcd19432chumbedooh
efe780dcf13b2b95effabf897d694d8f23feac74trawickclobber: $(CLOBBER_DEPS)
793214f67dede32edfd9ee96c664ead04d175cbbjfclere
cc5a4a08dc9783fcbc52ce86f11e01c281a43810minfrinlint: $(LINT_DEPS)
33124689065ade0dfc8c54d8ebb734f9439cb89btrawick
33124689065ade0dfc8c54d8ebb734f9439cb89btrawickmodlintlib: $(MODLINTLIB_DEPS)
33124689065ade0dfc8c54d8ebb734f9439cb89btrawick
9b0076ddd1103e5fa9c1f9bafde4b06ce244fbaecovenerclean.lint: $(CLEAN_LINT_DEPS)
9b0076ddd1103e5fa9c1f9bafde4b06ce244fbaecovener
9b0076ddd1103e5fa9c1f9bafde4b06ce244fbaecovenerinstall: $(INSTALL_DEPS)
249d09d51808cb7981af99762c3b3736ca126cd5jkaluza
249d09d51808cb7981af99762c3b3736ca126cd5jkaluza$(PLATLIB): $(BINARY)
249d09d51808cb7981af99762c3b3736ca126cd5jkaluza $(LD) -o $(PLATLIB) -G $(BINARY) -h misc/platmod
249d09d51808cb7981af99762c3b3736ca126cd5jkaluza
56589be3d7a3e9343370df240010c6928cc78b39jkaluza#
56589be3d7a3e9343370df240010c6928cc78b39jkaluza# Include common targets.
56589be3d7a3e9343370df240010c6928cc78b39jkaluza#
6001d914962deabb83a46251001612e969bdf67ajiminclude $(UTSBASE)/$(PLATFORM)/Makefile.targ
6001d914962deabb83a46251001612e969bdf67ajim