Makefile revision 22eb7cb54d8a6bcf6fe2674cb4b1f0cf2d85cfb6
48c0c81cd6fabac9d3386406d97633780365b839coar#
8170eaebc81c46959e8d98504883964a58f8a56dbnicholes# CDDL HEADER START
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj#
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# The contents of this file are subject to the terms of the
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# Common Development and Distribution License (the "License").
d8028365066fca602bf35d014530a1802114378crbb# You may not use this file except in compliance with the License.
c25203fdca093d4504c51b4cd974ff60d5aa4fb1wrowe#
c25203fdca093d4504c51b4cd974ff60d5aa4fb1wrowe# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
c25203fdca093d4504c51b4cd974ff60d5aa4fb1wrowe# or http://www.opensolaris.org/os/licensing.
d89c116f82699294ca744125723651c554bc5925wrowe# See the License for the specific language governing permissions
4214e98fc9045e5010e66f9a967bd6d68f40d342aaron# and limitations under the License.
8721697e2aece27b0e738519329f7976c72b27bfjerenkrantz#
c25203fdca093d4504c51b4cd974ff60d5aa4fb1wrowe# When distributing Covered Code, include this CDDL HEADER in each
91cacb801f6c0215b38322f6d2fc58cbfedfecfbjerenkrantz# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
91cacb801f6c0215b38322f6d2fc58cbfedfecfbjerenkrantz# If applicable, add the following below this CDDL HEADER, with the
df14f0d3a5191cdd7c4bb5b03acd135d43a6f51brbb# fields enclosed by brackets "[]" replaced with your own identifying
df14f0d3a5191cdd7c4bb5b03acd135d43a6f51brbb# information: Portions Copyright [yyyy] [name of copyright owner]
ab71b233b3a36489e44a7b061c48293be0b17788jwoolley#
571760de5e60c0b459cb11be45507b923cd023eejwoolley# CDDL HEADER END
571760de5e60c0b459cb11be45507b923cd023eejwoolley#
9180a5933673ffb1af633c255ceee029340f3b1erbb#
bcb6e1be6041dfeb549c8ea8d37f97ad4e90a0c3rbb# uts/intel/vni/Makefile
9bd71e35f5d26d26d23fe3a677401828e842ed72wrowe#
2900ab946a2d76b73a14cebfe2985d253f01c967stoddard# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb# Use is subject to license terms.
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb#
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb# ident "%Z%%M% %I% %E% SMI"
b876b7bcf0ce3d232da723246d709e8dbbfe8762rbb#
cf6bf6c34c936e6a6fe731dbce4a5c3c8bf8e9a3gstein# This makefile drives the production of the vni streams kernel
35330e0d79ceb8027223bbb8330a381b1f989d6etrawick# module.
6f6f4a4bca281779d196acbdd5c017bb90858305trawick#
8dd4618c4709236b4ea297d7250d282e463ce2d8rbb# intel architecture dependent
09bd86d0db1114ee23eda0a6eb76ca055877a1cftrawick#
2deb319e6b3de239f45c16a3e9e836d44f1f7108rbb
bd929c73ef04789b7183b840d8db6e01d03a4d86rbb#
70f6f32765cfaadd6da8de6f0fea97ddd72d8fadmanoj# Path to the base of the uts directory tree (usually /usr/src/uts).
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj#
af4c982a7cf4515f124935f99a329744035fc699sliveUTSBASE = ../..
af4c982a7cf4515f124935f99a329744035fc699slive
af4c982a7cf4515f124935f99a329744035fc699slive#
af4c982a7cf4515f124935f99a329744035fc699slive# Define the module and object file sets.
af4c982a7cf4515f124935f99a329744035fc699slive#
af4c982a7cf4515f124935f99a329744035fc699sliveMODULE = vni
af4c982a7cf4515f124935f99a329744035fc699sliveOBJECTS = $(VNI_OBJS:%=$(OBJS_DIR)/%)
10270f6f94b2069d0d357805c140a9897449b9ccianhLINTS = $(VNI_OBJS:%.o=$(LINTS_DIR)/%.ln)
4b62424416882687387923b3130b96241503cbe0jerenkrantzROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
5ca8e11fadb6f7a8d9d0367c1800205c99d4bcd6jerenkrantzCONF_SRCDIR = $(UTSBASE)/common/inet/vni
f9b8e29cfca92cf0a996e8ab17fa1a1f447cecc7stoddard
5ca8e11fadb6f7a8d9d0367c1800205c99d4bcd6jerenkrantz#
45b0e1c775c1cfed6473c9e5304179ccb9609f53stoddard# Include common rules.
dbec4658981e4f9127e8676457c28d42932be7cdtrawick#
f9b8e29cfca92cf0a996e8ab17fa1a1f447cecc7stoddardinclude $(UTSBASE)/intel/Makefile.intel
f9b8e29cfca92cf0a996e8ab17fa1a1f447cecc7stoddard
4b62424416882687387923b3130b96241503cbe0jerenkrantz#
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz# Define targets
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz#
2fb49a1d25f38421a68d31b4cbb5d9293fdeafbewroweALL_TARGET = $(BINARY) $(SRC_CONFFILE)
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantzLINT_TARGET = $(MODULE).lint
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantzINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz
2fb49a1d25f38421a68d31b4cbb5d9293fdeafbewrowe#
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz# Overrides.
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz#
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantzCFLAGS += $(CCVERBOSE)
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz#
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz# Default build targets.
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz#
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz.KEEP_STATE:
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantzdef: $(DEF_DEPS)
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantzall: $(ALL_DEPS)
2fb49a1d25f38421a68d31b4cbb5d9293fdeafbewrowe
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantzclean: $(CLEAN_DEPS)
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantzclobber: $(CLOBBER_DEPS)
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz
bcca8071772ad81c16009aea3a7da3ef9da41173trawicklint: $(LINT_DEPS)
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantzmodlintlib: $(MODLINTLIB_DEPS)
1b3f48fd6b1ccb8745f908e40156c5a85ca3c347jerenkrantz
f9b8e29cfca92cf0a996e8ab17fa1a1f447cecc7stoddardclean.lint: $(CLEAN_LINT_DEPS)
f9b8e29cfca92cf0a996e8ab17fa1a1f447cecc7stoddard
f9b8e29cfca92cf0a996e8ab17fa1a1f447cecc7stoddardinstall: $(INSTALL_DEPS)
a23b1c5a74208b03884c09a6f9dd5d6c97fa6415trawick
2fb49a1d25f38421a68d31b4cbb5d9293fdeafbewrowe#
2fb49a1d25f38421a68d31b4cbb5d9293fdeafbewrowe# Include common targets.
2fb49a1d25f38421a68d31b4cbb5d9293fdeafbewrowe#
2fb49a1d25f38421a68d31b4cbb5d9293fdeafbewroweinclude $(UTSBASE)/intel/Makefile.targ
2fb49a1d25f38421a68d31b4cbb5d9293fdeafbewrowe