Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
4d237bbe075b1d2c19428cd954d721d65b31f67cwrowe#
bf52162f2d05c1fb1a107c7ef108de73f739b3edpquerna# CDDL HEADER START
bf52162f2d05c1fb1a107c7ef108de73f739b3edpquerna#
bf52162f2d05c1fb1a107c7ef108de73f739b3edpquerna# The contents of this file are subject to the terms of the
86bb763be5d87c295c8844d30078da2ddb964f73rpluem# Common Development and Distribution License (the "License").
86bb763be5d87c295c8844d30078da2ddb964f73rpluem# You may not use this file except in compliance with the License.
ba217dc41cebc0976010ee177f8fedac782d1f6fminfrin#
ba217dc41cebc0976010ee177f8fedac782d1f6fminfrin# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
86bb763be5d87c295c8844d30078da2ddb964f73rpluem# or http://www.opensolaris.org/os/licensing.
86bb763be5d87c295c8844d30078da2ddb964f73rpluem# See the License for the specific language governing permissions
ba217dc41cebc0976010ee177f8fedac782d1f6fminfrin# and limitations under the License.
a50db00c3663c2a0d3531965c64d995516b06288niq#
a50db00c3663c2a0d3531965c64d995516b06288niq# When distributing Covered Code, include this CDDL HEADER in each
a50db00c3663c2a0d3531965c64d995516b06288niq# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ea6ff3396df1d6d43ee0ecfa3e26ada981d8e9a3sctemme# If applicable, add the following below this CDDL HEADER, with the
ea6ff3396df1d6d43ee0ecfa3e26ada981d8e9a3sctemme# fields enclosed by brackets "[]" replaced with your own identifying
8a0c75e992cc657a98317e78374b800d16963cfatrawick# information: Portions Copyright [yyyy] [name of copyright owner]
ba217dc41cebc0976010ee177f8fedac782d1f6fminfrin#
ab1b172430f2d4e1b222b541bb8c1d431c1a7bc7sf# CDDL HEADER END
8315a125b56710a222167e4d65b96c3c891f4b25sf#
8315a125b56710a222167e4d65b96c3c891f4b25sf
ab1b172430f2d4e1b222b541bb8c1d431c1a7bc7sf#
3f985866b9b5b49fb57735b5eb135591163f30dfsf# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
3f985866b9b5b49fb57735b5eb135591163f30dfsf# Use is subject to license terms.
7f51e5c395d431b8c20226f77de28efe13272bfasf#
7f51e5c395d431b8c20226f77de28efe13272bfasf
7f51e5c395d431b8c20226f77de28efe13272bfasf#
7f51e5c395d431b8c20226f77de28efe13272bfasf# This makefile drives the production of the sun4u lneck platform module.
17d64c884a44f5ca72f6901afd3e50991bfc1c63sf#
17d64c884a44f5ca72f6901afd3e50991bfc1c63sf# sun4u implementation architecture dependent
17d64c884a44f5ca72f6901afd3e50991bfc1c63sf#
a6e4caaa97e433cc2ef78d957bc32756d9c49f79sf
a6e4caaa97e433cc2ef78d957bc32756d9c49f79sf#
a6e4caaa97e433cc2ef78d957bc32756d9c49f79sf# Path to the base of the uts directory tree (usually /usr/src/uts).
a6e4caaa97e433cc2ef78d957bc32756d9c49f79sf#
68686064650b23222461014a11558593de194bbctrawickUTSBASE = ../../..
304903af1cf77cbdfa07e8a6482f35f3d9d7b0f3sf
304903af1cf77cbdfa07e8a6482f35f3d9d7b0f3sf#
a6e4caaa97e433cc2ef78d957bc32756d9c49f79sf# Define the module and object file sets.
a96ba81cada826f2a9ab1e24218a77bfadfc31d8sf#
a96ba81cada826f2a9ab1e24218a77bfadfc31d8sfMODULE = platmod
a96ba81cada826f2a9ab1e24218a77bfadfc31d8sfOBJECTS = $(CSTONEPLATMOD_OBJS:%=$(OBJS_DIR)/%)
a96ba81cada826f2a9ab1e24218a77bfadfc31d8sfLINTS = $(CSTONEPLATMOD_OBJS:%.o=$(LINTS_DIR)/%.ln)
4f133508c93204c06e1acba9774ff184e5812606niqROOTMODULE = $(ROOT_CHERRYSTONE_MISC_DIR)/$(MODULE)
4f133508c93204c06e1acba9774ff184e5812606niq
4f133508c93204c06e1acba9774ff184e5812606niqPLAT_DIR = .
87587593f1a53030e840acc0dec6cc881022ea40covenerHERE = ../cherrystone/platmod
87587593f1a53030e840acc0dec6cc881022ea40covener
87587593f1a53030e840acc0dec6cc881022ea40covener#
87587593f1a53030e840acc0dec6cc881022ea40covener# Include common rules.
87587593f1a53030e840acc0dec6cc881022ea40covener#
52071e4b9f49c3a1c2c767c7ea80ec92cf9032c9covenerinclude $(UTSBASE)/sun4u/cherrystone/Makefile.cherrystone
52071e4b9f49c3a1c2c767c7ea80ec92cf9032c9covener
52071e4b9f49c3a1c2c767c7ea80ec92cf9032c9covener#
89b8bbc89404e7071e573c4f0a17f528996e855djorton# Override defaults
89b8bbc89404e7071e573c4f0a17f528996e855djorton#
89b8bbc89404e7071e573c4f0a17f528996e855djortonCLEANFILES += $(PLATLIB) $(SYM_MOD)
e1d4c4e8366f46dc5dc1e6e24b4c7ac448dfa061sf
e1d4c4e8366f46dc5dc1e6e24b4c7ac448dfa061sf#
6bc4f334a04802bab835893d0c42af8bfb9c3c41sf# Define targets
6bc4f334a04802bab835893d0c42af8bfb9c3c41sf#
53593dbd8fece82cb66a23f0b7024d8d713d66f1sfALL_TARGET = $(SYM_MOD)
53593dbd8fece82cb66a23f0b7024d8d713d66f1sfLINT_TARGET = $(MODULE).lint
79e3f2f950745953fff4a6a8dfe1f7cce31ce287sfINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
79e3f2f950745953fff4a6a8dfe1f7cce31ce287sf
ab2b977442827214b1d884decf3e3f1579fd45e1rpluemALL_BUILDS = debug64 obj64
ab2b977442827214b1d884decf3e3f1579fd45e1rpluemDEF_BUILDS = obj64
ab2b977442827214b1d884decf3e3f1579fd45e1rpluem$(NOT_RELEASE_BUILD)DEF_BUILDS = debug64
195edf54eccd8c5a436c7dd17f5f604e7074d5d1sf
195edf54eccd8c5a436c7dd17f5f604e7074d5d1sf#
195edf54eccd8c5a436c7dd17f5f604e7074d5d1sf# lint pass one enforcement
3709b26f3370ae89c5324a3c03fab56a93b09ecdsf#
3709b26f3370ae89c5324a3c03fab56a93b09ecdsfCFLAGS += $(CCVERBOSE)
3709b26f3370ae89c5324a3c03fab56a93b09ecdsfCERRWARN += -_gcc=-Wno-unused-function
03577bc320125eaa2b27ee7af78b894ee6dfe121takashi
03577bc320125eaa2b27ee7af78b894ee6dfe121takashi#
03577bc320125eaa2b27ee7af78b894ee6dfe121takashi# Default build targets.
f5119c5d7cfe8c6d53cb29d43f8746684068ed82minfrin#
f5119c5d7cfe8c6d53cb29d43f8746684068ed82minfrin.KEEP_STATE:
f5119c5d7cfe8c6d53cb29d43f8746684068ed82minfrin
f5119c5d7cfe8c6d53cb29d43f8746684068ed82minfrindef: $(DEF_DEPS)
f74d35a61a835e15412b99b8aebe4958fe4e94a5takashi
94713632faf403489b3f8b4e0ed65e1011ac4991takashiall: $(ALL_DEPS)
f74d35a61a835e15412b99b8aebe4958fe4e94a5takashi
20216b769716c4346cce373f2028d7dbebf03886poirierclean: $(CLEAN_DEPS)
20216b769716c4346cce373f2028d7dbebf03886poirier
20216b769716c4346cce373f2028d7dbebf03886poirierclobber: $(CLOBBER_DEPS)
7317a32e0c621c9a28f6f10e83e6c5dc63e3f3bdsf
7317a32e0c621c9a28f6f10e83e6c5dc63e3f3bdsflint: $(LINT_DEPS)
7317a32e0c621c9a28f6f10e83e6c5dc63e3f3bdsf
ecc6e723b804fb4b8f858910eff3f88242ec56fasfmodlintlib: $(MODLINTLIB_DEPS)
ecc6e723b804fb4b8f858910eff3f88242ec56fasf
ecc6e723b804fb4b8f858910eff3f88242ec56fasfclean.lint: $(CLEAN_LINT_DEPS)
ecc6e723b804fb4b8f858910eff3f88242ec56fasf
ecc6e723b804fb4b8f858910eff3f88242ec56fasfinstall: $(INSTALL_DEPS)
ecc6e723b804fb4b8f858910eff3f88242ec56fasf
727d68c6009030f56a350b4603384ce4fb844341minfrincheck:
727d68c6009030f56a350b4603384ce4fb844341minfrin
727d68c6009030f56a350b4603384ce4fb844341minfrinLINT_LIB_DIR = $(CHERRYSTONE_LINT_LIB_DIR)
ed6dfb7d7057dc4f42348f12d7bff9fe98fc73cfminfrin
ed6dfb7d7057dc4f42348f12d7bff9fe98fc73cfminfrin$(PLATLIB): $(BINARY)
ed6dfb7d7057dc4f42348f12d7bff9fe98fc73cfminfrin $(BUILD.SO) $(BINARY)
4dee28b6fc8fff5efde4e7821aeb6defed3fb84dsf
4dee28b6fc8fff5efde4e7821aeb6defed3fb84dsf$(SYM_MOD): $(UNIX_O) $(PLATLIB)
4dee28b6fc8fff5efde4e7821aeb6defed3fb84dsf @echo "resolving symbols against unix.o"
23247a8f748077bc788a5fbaf91d5fad34d0b7d1sf @(cd $(UNIX_DIR); pwd; \
23247a8f748077bc788a5fbaf91d5fad34d0b7d1sf PLAT_DIR=$(HERE) SYM_MOD=$(HERE)/$(SYM_MOD) $(MAKE) symcheck)
23247a8f748077bc788a5fbaf91d5fad34d0b7d1sf
23247a8f748077bc788a5fbaf91d5fad34d0b7d1sf#
58015652ffe00f004c6404a0631474f23dadc7dasf# Include common targets.
58015652ffe00f004c6404a0631474f23dadc7dasf#
58015652ffe00f004c6404a0631474f23dadc7dasfinclude $(UTSBASE)/sun4u/cherrystone/Makefile.targ
2af38cc44e48753913565b38a7a9f325f898a293minfrin