xref: /titanic_52/usr/src/uts/intel/igb/Makefile (revision ac7f5757903d7806e03e59f71c10eec36e0deade)
1c869993eSxy150489#
2c869993eSxy150489# CDDL HEADER START
3c869993eSxy150489#
4c869993eSxy150489# The contents of this file are subject to the terms of the
5c869993eSxy150489# Common Development and Distribution License (the "License").
6c869993eSxy150489# You may not use this file except in compliance with the License.
7c869993eSxy150489#
8c869993eSxy150489# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9c869993eSxy150489# or http://www.opensolaris.org/os/licensing.
10c869993eSxy150489# See the License for the specific language governing permissions
11c869993eSxy150489# and limitations under the License.
12c869993eSxy150489#
13c869993eSxy150489# When distributing Covered Code, include this CDDL HEADER in each
14c869993eSxy150489# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15c869993eSxy150489# If applicable, add the following below this CDDL HEADER, with the
16c869993eSxy150489# fields enclosed by brackets "[]" replaced with your own identifying
17c869993eSxy150489# information: Portions Copyright [yyyy] [name of copyright owner]
18c869993eSxy150489#
19c869993eSxy150489# CDDL HEADER END
20c869993eSxy150489#
21c869993eSxy150489#
22*ac7f5757Schenlu chen - Sun Microsystems - Beijing China# Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
23c869993eSxy150489# Use is subject to license terms.
24c869993eSxy150489#
25c869993eSxy150489# uts/intel/igb/Makefile
26c869993eSxy150489#
27c869993eSxy150489#	This makefile drives the production of the igb
28c869993eSxy150489#	network driver kernel module.
29c869993eSxy150489#
30c869993eSxy150489#	intel architecture dependent
31c869993eSxy150489#
32c869993eSxy150489
33c869993eSxy150489#
34c869993eSxy150489#	Paths to the base of the uts directory trees
35c869993eSxy150489#
36c869993eSxy150489UTSBASE = ../..
37c869993eSxy150489
38c869993eSxy150489#
39c869993eSxy150489#	Define the module and object file sets.
40c869993eSxy150489#
41c869993eSxy150489MODULE		= igb
42c869993eSxy150489OBJECTS		= $(IGB_OBJS:%=$(OBJS_DIR)/%)
43c869993eSxy150489LINTS		= $(IGB_OBJS:%.o=$(LINTS_DIR)/%.ln)
44c869993eSxy150489ROOTMODULE	= $(ROOT_DRV_DIR)/$(MODULE)
45c869993eSxy150489CONF_SRCDIR	= $(UTSBASE)/common/io/igb
46c869993eSxy150489
47c869993eSxy150489#
48c869993eSxy150489#	Include common rules.
49c869993eSxy150489#
50c869993eSxy150489include $(UTSBASE)/intel/Makefile.intel
51c869993eSxy150489
52c869993eSxy150489#
53c869993eSxy150489#	Define targets
54c869993eSxy150489#
55c869993eSxy150489ALL_TARGET	= $(BINARY) $(CONFMOD)
56c869993eSxy150489LINT_TARGET	= $(MODULE).lint
57c869993eSxy150489INSTALL_TARGET	= $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
58c869993eSxy150489
59c869993eSxy150489#
60*ac7f5757Schenlu chen - Sun Microsystems - Beijing China# Driver depends on MAC
61c869993eSxy150489#
62*ac7f5757Schenlu chen - Sun Microsystems - Beijing ChinaLDFLAGS		+= -dy -N misc/mac
63c869993eSxy150489
64c869993eSxy150489#
65c869993eSxy150489#	Default build targets.
66c869993eSxy150489#
67c869993eSxy150489.KEEP_STATE:
68c869993eSxy150489
69c869993eSxy150489def:		$(DEF_DEPS)
70c869993eSxy150489
71c869993eSxy150489all:		$(ALL_DEPS)
72c869993eSxy150489
73c869993eSxy150489clean:		$(CLEAN_DEPS)
74c869993eSxy150489
75c869993eSxy150489clobber:	$(CLOBBER_DEPS)
76c869993eSxy150489
77c869993eSxy150489lint:		$(LINT_DEPS)
78c869993eSxy150489
79c869993eSxy150489modlintlib:	$(MODLINTLIB_DEPS)
80c869993eSxy150489
81c869993eSxy150489clean.lint:	$(CLEAN_LINT_DEPS)
82c869993eSxy150489
83c869993eSxy150489install:	$(INSTALL_DEPS)
84c869993eSxy150489
85c869993eSxy150489#
86c869993eSxy150489#	Include common targets.
87c869993eSxy150489#
88c869993eSxy150489include $(UTSBASE)/intel/Makefile.targ
89