Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
48c0c81cd6fabac9d3386406d97633780365b839coar#
bca5b27d271b6e1690134a83963424b9825d93bdstriker# 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").
9a93784d34c322d1996e8a7b794a75230eac81a4wrowe# You may not use this file except in compliance with the License.
c4250200511e2babcf76be6da64a7f101250ab37jwoolley#
4bc630d510cef730e37b9207e145267f473b4471striker# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
a096f8d13bee05fd6ea8b9b50b6c2e818eace7d1striker# or http://www.opensolaris.org/os/licensing.
dba571e5c5a2586c7e2b382789f3250136ff7577jwoolley# See the License for the specific language governing permissions
dba571e5c5a2586c7e2b382789f3250136ff7577jwoolley# and limitations under the License.
bf3d1782a29630335a1df535eb395355ab1cd154jwoolley#
07847078a10fe4e9229cc08adda5f421cafc0665jwoolley# When distributing Covered Code, include this CDDL HEADER in each
0bd0176ce9f4321eeb506aa372d0bcc84befbf4cstriker# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
d8028365066fca602bf35d014530a1802114378crbb# If applicable, add the following below this CDDL HEADER, with the
c25203fdca093d4504c51b4cd974ff60d5aa4fb1wrowe# fields enclosed by brackets "[]" replaced with your own identifying
c25203fdca093d4504c51b4cd974ff60d5aa4fb1wrowe# information: Portions Copyright [yyyy] [name of copyright owner]
c25203fdca093d4504c51b4cd974ff60d5aa4fb1wrowe#
d89c116f82699294ca744125723651c554bc5925wrowe# CDDL HEADER END
4214e98fc9045e5010e66f9a967bd6d68f40d342aaron#
8721697e2aece27b0e738519329f7976c72b27bfjerenkrantz#
c25203fdca093d4504c51b4cd974ff60d5aa4fb1wrowe# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
91cacb801f6c0215b38322f6d2fc58cbfedfecfbjerenkrantz# Use is subject to license terms.
91cacb801f6c0215b38322f6d2fc58cbfedfecfbjerenkrantz#
df14f0d3a5191cdd7c4bb5b03acd135d43a6f51brbb# uts/intel/igb/Makefile
df14f0d3a5191cdd7c4bb5b03acd135d43a6f51brbb#
ab71b233b3a36489e44a7b061c48293be0b17788jwoolley# This makefile drives the production of the igb
571760de5e60c0b459cb11be45507b923cd023eejwoolley# network driver kernel module.
571760de5e60c0b459cb11be45507b923cd023eejwoolley#
9180a5933673ffb1af633c255ceee029340f3b1erbb# intel architecture dependent
bcb6e1be6041dfeb549c8ea8d37f97ad4e90a0c3rbb#
9bd71e35f5d26d26d23fe3a677401828e842ed72wrowe
2900ab946a2d76b73a14cebfe2985d253f01c967stoddard#
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb# Paths to the base of the uts directory trees
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb#
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbbUTSBASE = ../..
b876b7bcf0ce3d232da723246d709e8dbbfe8762rbb
cf6bf6c34c936e6a6fe731dbce4a5c3c8bf8e9a3gstein#
35330e0d79ceb8027223bbb8330a381b1f989d6etrawick# Define the module and object file sets.
6f6f4a4bca281779d196acbdd5c017bb90858305trawick#
8dd4618c4709236b4ea297d7250d282e463ce2d8rbbMODULE = igb
09bd86d0db1114ee23eda0a6eb76ca055877a1cftrawickOBJECTS = $(IGB_OBJS:%=$(OBJS_DIR)/%)
2deb319e6b3de239f45c16a3e9e836d44f1f7108rbbLINTS = $(IGB_OBJS:%.o=$(LINTS_DIR)/%.ln)
bd929c73ef04789b7183b840d8db6e01d03a4d86rbbROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
70f6f32765cfaadd6da8de6f0fea97ddd72d8fadmanojCONF_SRCDIR = $(UTSBASE)/common/io/igb
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj
af4c982a7cf4515f124935f99a329744035fc699slive#
af4c982a7cf4515f124935f99a329744035fc699slive# Include common rules.
af4c982a7cf4515f124935f99a329744035fc699slive#
af4c982a7cf4515f124935f99a329744035fc699sliveinclude $(UTSBASE)/intel/Makefile.intel
af4c982a7cf4515f124935f99a329744035fc699slive
af4c982a7cf4515f124935f99a329744035fc699sliveCERRWARN += -_gcc=-Wno-switch
af4c982a7cf4515f124935f99a329744035fc699sliveCERRWARN += -_gcc=-Wno-uninitialized
f610c7c704235bc327dbe9b62982f5b3f8e30a77wrowe
f610c7c704235bc327dbe9b62982f5b3f8e30a77wrowe#
f610c7c704235bc327dbe9b62982f5b3f8e30a77wrowe# Define targets
f610c7c704235bc327dbe9b62982f5b3f8e30a77wrowe#
10270f6f94b2069d0d357805c140a9897449b9ccianhALL_TARGET = $(BINARY) $(CONFMOD)
4b62424416882687387923b3130b96241503cbe0jerenkrantzLINT_TARGET = $(MODULE).lint
5ca8e11fadb6f7a8d9d0367c1800205c99d4bcd6jerenkrantzINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
5ca8e11fadb6f7a8d9d0367c1800205c99d4bcd6jerenkrantz
45b0e1c775c1cfed6473c9e5304179ccb9609f53stoddard#
dbec4658981e4f9127e8676457c28d42932be7cdtrawick# Driver depends on MAC
1b7e9aeb9867a1c94e24e8ae491d2dfcd0d225e3jerenkrantz#
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantzLDFLAGS += -dy -N misc/mac
f4cb04eb78da02a38fcdd87489dc7b660107d55fjerenkrantz
4520f2a938626a879b33dac9fd940072b6c2bd42wrowe#
5c9a6bc911baa7cef34d64de59af1e8d6e09c13abrianp# Default build targets.
5c9a6bc911baa7cef34d64de59af1e8d6e09c13abrianp#
4520f2a938626a879b33dac9fd940072b6c2bd42wrowe.KEEP_STATE:
bb2b4c21329be5f70a7b0b42c59cd8490d2ac43bwrowe
bca5b27d271b6e1690134a83963424b9825d93bdstrikerdef: $(DEF_DEPS)
4520f2a938626a879b33dac9fd940072b6c2bd42wrowe
4520f2a938626a879b33dac9fd940072b6c2bd42wroweall: $(ALL_DEPS)
4520f2a938626a879b33dac9fd940072b6c2bd42wrowe
4520f2a938626a879b33dac9fd940072b6c2bd42wroweclean: $(CLEAN_DEPS)
4520f2a938626a879b33dac9fd940072b6c2bd42wrowe
4520f2a938626a879b33dac9fd940072b6c2bd42wroweclobber: $(CLOBBER_DEPS)
783e9d9e55a1ecb3c0eedb14493667ed642191c5rederpj
38d2c5d41cdb5eb28668d0290b59f8c76ae2a4bfjimlint: $(LINT_DEPS)
941cb476bf470040d0a33c397eb85c68d9d82d4djerenkrantz
bca5b27d271b6e1690134a83963424b9825d93bdstrikermodlintlib: $(MODLINTLIB_DEPS)
4520f2a938626a879b33dac9fd940072b6c2bd42wrowe
4520f2a938626a879b33dac9fd940072b6c2bd42wroweclean.lint: $(CLEAN_LINT_DEPS)
4520f2a938626a879b33dac9fd940072b6c2bd42wrowe
4520f2a938626a879b33dac9fd940072b6c2bd42wroweinstall: $(INSTALL_DEPS)
4520f2a938626a879b33dac9fd940072b6c2bd42wrowe
4520f2a938626a879b33dac9fd940072b6c2bd42wrowe#
4520f2a938626a879b33dac9fd940072b6c2bd42wrowe# Include common targets.
53573272227ec7c6a2bb9631934aea6c9dd1469egregames#
bca5b27d271b6e1690134a83963424b9825d93bdstrikerinclude $(UTSBASE)/intel/Makefile.targ
4520f2a938626a879b33dac9fd940072b6c2bd42wrowe