Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
96fc773162e93e5b85686ab152f11baf4498d868rbb#
6f06d481dafc90f1b553f1d2828bcea50a039854fielding# CDDL HEADER START
fa996ff928f6170678c8789c8073c368f56d770arbb#
fa996ff928f6170678c8789c8073c368f56d770arbb# The contents of this file are subject to the terms of the
fa996ff928f6170678c8789c8073c368f56d770arbb# Common Development and Distribution License, Version 1.0 only
fa996ff928f6170678c8789c8073c368f56d770arbb# (the "License"). You may not use this file except in compliance
fa996ff928f6170678c8789c8073c368f56d770arbb# with the License.
fa996ff928f6170678c8789c8073c368f56d770arbb#
a1bbc66131c63e718e3f73fc11a348f7552d7947rbb# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
a1bbc66131c63e718e3f73fc11a348f7552d7947rbb# or http://www.opensolaris.org/os/licensing.
a1bbc66131c63e718e3f73fc11a348f7552d7947rbb# See the License for the specific language governing permissions
b31025f6f2c0392dc76eecca7f27faad0b902be0wrowe# and limitations under the License.
b31025f6f2c0392dc76eecca7f27faad0b902be0wrowe#
b31025f6f2c0392dc76eecca7f27faad0b902be0wrowe# When distributing Covered Code, include this CDDL HEADER in each
b31025f6f2c0392dc76eecca7f27faad0b902be0wrowe# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
b31025f6f2c0392dc76eecca7f27faad0b902be0wrowe# If applicable, add the following below this CDDL HEADER, with the
b31025f6f2c0392dc76eecca7f27faad0b902be0wrowe# fields enclosed by brackets "[]" replaced with your own identifying
4783bc116b4dc37deadcc0b68ce3d3eeb6a7464aben# information: Portions Copyright [yyyy] [name of copyright owner]
4783bc116b4dc37deadcc0b68ce3d3eeb6a7464aben#
4783bc116b4dc37deadcc0b68ce3d3eeb6a7464aben# CDDL HEADER END
4783bc116b4dc37deadcc0b68ce3d3eeb6a7464aben#
4783bc116b4dc37deadcc0b68ce3d3eeb6a7464aben#
fcc25eda7b150e226d3c1cdaea66a943d3fdee4erbb# uts/sun4v/vnex/Makefile
fcc25eda7b150e226d3c1cdaea66a943d3fdee4erbb# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
fcc25eda7b150e226d3c1cdaea66a943d3fdee4erbb# Use is subject to license terms.
fcc25eda7b150e226d3c1cdaea66a943d3fdee4erbb#
fcc25eda7b150e226d3c1cdaea66a943d3fdee4erbb#ident "%Z%%M% %I% %E% SMI"
fcc25eda7b150e226d3c1cdaea66a943d3fdee4erbb#
fcc25eda7b150e226d3c1cdaea66a943d3fdee4erbb# This makefile drives the production of the vnex driver kernel module.
fcc25eda7b150e226d3c1cdaea66a943d3fdee4erbb#
fcc25eda7b150e226d3c1cdaea66a943d3fdee4erbb# sun4v implementation architecture dependent
cab10c98980b42562a7850410cecd37798e170ecrbb#
cab10c98980b42562a7850410cecd37798e170ecrbb
cab10c98980b42562a7850410cecd37798e170ecrbb#
cab10c98980b42562a7850410cecd37798e170ecrbb# Path to the base of the uts directory tree (usually /usr/src/uts).
cab10c98980b42562a7850410cecd37798e170ecrbb#
71715c646d5231de578431f8961e711764b899d3fanfUTSBASE = ../..
71715c646d5231de578431f8961e711764b899d3fanf
71715c646d5231de578431f8961e711764b899d3fanf#
2714d6002fcdf12f5b26cc948c9f2f03ca5e7ee9rbb# Define the module and object file sets.
2714d6002fcdf12f5b26cc948c9f2f03ca5e7ee9rbb#
2714d6002fcdf12f5b26cc948c9f2f03ca5e7ee9rbbMODULE = vnex
2714d6002fcdf12f5b26cc948c9f2f03ca5e7ee9rbbOBJECTS = $(VNEX_OBJS:%=$(OBJS_DIR)/%)
2714d6002fcdf12f5b26cc948c9f2f03ca5e7ee9rbbLINTS = $(VNEX_OBJS:%.o=$(LINTS_DIR)/%.ln)
8695c28e4d0bb9357f606045b37238d4f49ce8b6rbbROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE)
8695c28e4d0bb9357f606045b37238d4f49ce8b6rbb
8695c28e4d0bb9357f606045b37238d4f49ce8b6rbb#
8695c28e4d0bb9357f606045b37238d4f49ce8b6rbb# Include common rules.
8695c28e4d0bb9357f606045b37238d4f49ce8b6rbb#
8695c28e4d0bb9357f606045b37238d4f49ce8b6rbbinclude $(UTSBASE)/sun4v/Makefile.sun4v
5f69f46ccdf50afd8f0a23f134746e6066185e89rbb
5f69f46ccdf50afd8f0a23f134746e6066185e89rbb#
5f69f46ccdf50afd8f0a23f134746e6066185e89rbb# Override defaults to build a unique, local modstubs.o.
5f69f46ccdf50afd8f0a23f134746e6066185e89rbb#
5f69f46ccdf50afd8f0a23f134746e6066185e89rbbMODSTUBS_DIR = $(OBJS_DIR)
e76797ee89ad6fb15ad97b0f3903ae324ac44949wrowe
e76797ee89ad6fb15ad97b0f3903ae324ac44949wroweCLEANFILES += $(MODSTUBS_O)
e76797ee89ad6fb15ad97b0f3903ae324ac44949wrowe
e76797ee89ad6fb15ad97b0f3903ae324ac44949wrowe#
e76797ee89ad6fb15ad97b0f3903ae324ac44949wrowe# Define targets
e76797ee89ad6fb15ad97b0f3903ae324ac44949wrowe#
e76797ee89ad6fb15ad97b0f3903ae324ac44949wroweALL_TARGET = $(BINARY)
e76797ee89ad6fb15ad97b0f3903ae324ac44949wroweLINT_TARGET = $(MODULE).lint
e76797ee89ad6fb15ad97b0f3903ae324ac44949wroweINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
a1e0709c89175c34a3f72eb4a83d7ee1621a0884rbb
a1e0709c89175c34a3f72eb4a83d7ee1621a0884rbb#
a1e0709c89175c34a3f72eb4a83d7ee1621a0884rbb# lint pass one enforcement
a1e0709c89175c34a3f72eb4a83d7ee1621a0884rbb#
4b13b6bcdcfae61d3c58cc2569757651f28f2bbfrbbCFLAGS += $(CCVERBOSE)
4b13b6bcdcfae61d3c58cc2569757651f28f2bbfrbb
4b13b6bcdcfae61d3c58cc2569757651f28f2bbfrbb#
34ea1d36f4e1c8d66338e691793017d105cc9c32rbb# Default build targets.
34ea1d36f4e1c8d66338e691793017d105cc9c32rbb#
34ea1d36f4e1c8d66338e691793017d105cc9c32rbb.KEEP_STATE:
34ea1d36f4e1c8d66338e691793017d105cc9c32rbb
2c8f06bf370a44a3d0544ed5319355463c417132gregamesdef: $(DEF_DEPS)
2c8f06bf370a44a3d0544ed5319355463c417132gregames
2c8f06bf370a44a3d0544ed5319355463c417132gregamesall: $(ALL_DEPS)
db06e09891b001667974483058923b88c3258324rbb
db06e09891b001667974483058923b88c3258324rbbclean: $(CLEAN_DEPS)
db06e09891b001667974483058923b88c3258324rbb
db06e09891b001667974483058923b88c3258324rbbclobber: $(CLOBBER_DEPS)
db06e09891b001667974483058923b88c3258324rbb
8ba9d5e9aaaa79dba0de13f5c1b6e725d98f1dc2fanflint: $(LINT_DEPS)
8ba9d5e9aaaa79dba0de13f5c1b6e725d98f1dc2fanf
8ba9d5e9aaaa79dba0de13f5c1b6e725d98f1dc2fanfmodlintlib: $(MODLINTLIB_DEPS)
8ba9d5e9aaaa79dba0de13f5c1b6e725d98f1dc2fanf
26cf4d32b4ff8807a64b0cfa6865a7d6d171c68efanfclean.lint: $(CLEAN_LINT_DEPS)
26cf4d32b4ff8807a64b0cfa6865a7d6d171c68efanf
26cf4d32b4ff8807a64b0cfa6865a7d6d171c68efanfinstall: $(INSTALL_DEPS)
06c107289de0a0888386e0bc08ef9fc60aacd8bctrawick
06c107289de0a0888386e0bc08ef9fc60aacd8bctrawick#
06c107289de0a0888386e0bc08ef9fc60aacd8bctrawick# Include common targets.
06c107289de0a0888386e0bc08ef9fc60aacd8bctrawick#
f4ab6acec7b02518869ca649ce2d3ceeb92d282etrawickinclude $(UTSBASE)/$(PLATFORM)/Makefile.targ
f4ab6acec7b02518869ca649ce2d3ceeb92d282etrawick