Makefile revision bb25c06cca41ca78e5fb87fbb8e81d55beb18c95
48c0c81cd6fabac9d3386406d97633780365b839coar#
1107fe62c304df86356b39a2f8de2c1149234fe0jwoolley# 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").
45740d5cd30d22f067c05b95f04f866abd7ebed8jwoolley# You may not use this file except in compliance with the License.
45740d5cd30d22f067c05b95f04f866abd7ebed8jwoolley#
0bd0176ce9f4321eeb506aa372d0bcc84befbf4cstriker# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
d8028365066fca602bf35d014530a1802114378crbb# or http://www.opensolaris.org/os/licensing.
c25203fdca093d4504c51b4cd974ff60d5aa4fb1wrowe# See the License for the specific language governing permissions
c25203fdca093d4504c51b4cd974ff60d5aa4fb1wrowe# and limitations under the License.
c25203fdca093d4504c51b4cd974ff60d5aa4fb1wrowe#
d89c116f82699294ca744125723651c554bc5925wrowe# When distributing Covered Code, include this CDDL HEADER in each
4214e98fc9045e5010e66f9a967bd6d68f40d342aaron# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
8721697e2aece27b0e738519329f7976c72b27bfjerenkrantz# If applicable, add the following below this CDDL HEADER, with the
c25203fdca093d4504c51b4cd974ff60d5aa4fb1wrowe# fields enclosed by brackets "[]" replaced with your own identifying
91cacb801f6c0215b38322f6d2fc58cbfedfecfbjerenkrantz# information: Portions Copyright [yyyy] [name of copyright owner]
91cacb801f6c0215b38322f6d2fc58cbfedfecfbjerenkrantz#
df14f0d3a5191cdd7c4bb5b03acd135d43a6f51brbb# CDDL HEADER END
df14f0d3a5191cdd7c4bb5b03acd135d43a6f51brbb#
ab71b233b3a36489e44a7b061c48293be0b17788jwoolley#
571760de5e60c0b459cb11be45507b923cd023eejwoolley# uts/intel/consms/Makefile
571760de5e60c0b459cb11be45507b923cd023eejwoolley# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
9180a5933673ffb1af633c255ceee029340f3b1erbb# Use is subject to license terms.
bcb6e1be6041dfeb549c8ea8d37f97ad4e90a0c3rbb#
9bd71e35f5d26d26d23fe3a677401828e842ed72wrowe#ident "%Z%%M% %I% %E% SMI"
2900ab946a2d76b73a14cebfe2985d253f01c967stoddard#
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb# This makefile drives the production of the consms driver
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb#
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb# intel implementation architecture dependent
b876b7bcf0ce3d232da723246d709e8dbbfe8762rbb#
cf6bf6c34c936e6a6fe731dbce4a5c3c8bf8e9a3gstein
35330e0d79ceb8027223bbb8330a381b1f989d6etrawick#
6f6f4a4bca281779d196acbdd5c017bb90858305trawick# Path to the base of the uts directory tree (usually /usr/src/uts).
8dd4618c4709236b4ea297d7250d282e463ce2d8rbb#
09bd86d0db1114ee23eda0a6eb76ca055877a1cftrawickUTSBASE = ../..
2deb319e6b3de239f45c16a3e9e836d44f1f7108rbb
bd929c73ef04789b7183b840d8db6e01d03a4d86rbb#
70f6f32765cfaadd6da8de6f0fea97ddd72d8fadmanoj# Define the module and object file sets.
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj#
af4c982a7cf4515f124935f99a329744035fc699sliveMODULE = consms
af4c982a7cf4515f124935f99a329744035fc699sliveOBJECTS = $(CONSMS_OBJS:%=$(OBJS_DIR)/%)
af4c982a7cf4515f124935f99a329744035fc699sliveLINTS = $(CONSMS_OBJS:%.o=$(LINTS_DIR)/%.ln)
af4c982a7cf4515f124935f99a329744035fc699sliveROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
af4c982a7cf4515f124935f99a329744035fc699sliveCONF_SRCDIR = $(UTSBASE)/common/io
af4c982a7cf4515f124935f99a329744035fc699slive
af4c982a7cf4515f124935f99a329744035fc699slive#
10270f6f94b2069d0d357805c140a9897449b9ccianh# Include common rules.
4b62424416882687387923b3130b96241503cbe0jerenkrantz#
5ca8e11fadb6f7a8d9d0367c1800205c99d4bcd6jerenkrantzinclude $(UTSBASE)/intel/Makefile.intel
1107fe62c304df86356b39a2f8de2c1149234fe0jwoolley
1107fe62c304df86356b39a2f8de2c1149234fe0jwoolley#
1107fe62c304df86356b39a2f8de2c1149234fe0jwoolley# Define targets
1107fe62c304df86356b39a2f8de2c1149234fe0jwoolley#
1107fe62c304df86356b39a2f8de2c1149234fe0jwoolleyALL_TARGET = $(BINARY) $(SRC_CONFFILE)
5ca8e11fadb6f7a8d9d0367c1800205c99d4bcd6jerenkrantzLINT_TARGET = $(MODULE).lint
45b0e1c775c1cfed6473c9e5304179ccb9609f53stoddardINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
dbec4658981e4f9127e8676457c28d42932be7cdtrawick
1b7e9aeb9867a1c94e24e8ae491d2dfcd0d225e3jerenkrantz#
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz# For now, disable these lint checks; maintainers should endeavor
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz# to investigate and remove these for maximum lint coverage.
f17588e04d2412bf1345783ed1d173322d728d6ftrawick# Please do not carry these forward to new Makefiles.
f17588e04d2412bf1345783ed1d173322d728d6ftrawick#
f17588e04d2412bf1345783ed1d173322d728d6ftrawickLINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
f17588e04d2412bf1345783ed1d173322d728d6ftrawickLINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
f17588e04d2412bf1345783ed1d173322d728d6ftrawickLINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
f17588e04d2412bf1345783ed1d173322d728d6ftrawick
2fb49a1d25f38421a68d31b4cbb5d9293fdeafbewrowe#
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz# Default build targets.
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz#
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz.KEEP_STATE:
2fb49a1d25f38421a68d31b4cbb5d9293fdeafbewrowe
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantzdef: $(DEF_DEPS)
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantzall: $(ALL_DEPS)
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantzclean: $(CLEAN_DEPS)
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantzclobber: $(CLOBBER_DEPS)
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantzlint: $(LINT_DEPS)
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantzmodlintlib: $(MODLINTLIB_DEPS)
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz
2fb49a1d25f38421a68d31b4cbb5d9293fdeafbewroweclean.lint: $(CLEAN_LINT_DEPS)
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantzinstall: $(INSTALL_DEPS)
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz#
ddd44b06b04507cae083c52451e28f54f0bdb5afstoddard# Include common targets.
1af5c0e25a649bb298e25ddfa5418fa18bdcb107aaron#
82455c2e3b6991846fbcbf0c9e41f57dbc681217brianpinclude $(UTSBASE)/intel/Makefile.targ
82455c2e3b6991846fbcbf0c9e41f57dbc681217brianp