xref: /titanic_41/usr/src/uts/intel/atu/Makefile (revision 9f758caf94c37c3ad28c48cfe503f9fc830a66d5)
1*9f758cafSpengcheng chen - Sun Microsystems - Beijing China#
2*9f758cafSpengcheng chen - Sun Microsystems - Beijing China# CDDL HEADER START
3*9f758cafSpengcheng chen - Sun Microsystems - Beijing China#
4*9f758cafSpengcheng chen - Sun Microsystems - Beijing China# The contents of this file are subject to the terms of the
5*9f758cafSpengcheng chen - Sun Microsystems - Beijing China# Common Development and Distribution License (the "License").
6*9f758cafSpengcheng chen - Sun Microsystems - Beijing China# You may not use this file except in compliance with the License.
7*9f758cafSpengcheng chen - Sun Microsystems - Beijing China#
8*9f758cafSpengcheng chen - Sun Microsystems - Beijing China# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*9f758cafSpengcheng chen - Sun Microsystems - Beijing China# or http://www.opensolaris.org/os/licensing.
10*9f758cafSpengcheng chen - Sun Microsystems - Beijing China# See the License for the specific language governing permissions
11*9f758cafSpengcheng chen - Sun Microsystems - Beijing China# and limitations under the License.
12*9f758cafSpengcheng chen - Sun Microsystems - Beijing China#
13*9f758cafSpengcheng chen - Sun Microsystems - Beijing China# When distributing Covered Code, include this CDDL HEADER in each
14*9f758cafSpengcheng chen - Sun Microsystems - Beijing China# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*9f758cafSpengcheng chen - Sun Microsystems - Beijing China# If applicable, add the following below this CDDL HEADER, with the
16*9f758cafSpengcheng chen - Sun Microsystems - Beijing China# fields enclosed by brackets "[]" replaced with your own identifying
17*9f758cafSpengcheng chen - Sun Microsystems - Beijing China# information: Portions Copyright [yyyy] [name of copyright owner]
18*9f758cafSpengcheng chen - Sun Microsystems - Beijing China#
19*9f758cafSpengcheng chen - Sun Microsystems - Beijing China# CDDL HEADER END
20*9f758cafSpengcheng chen - Sun Microsystems - Beijing China#
21*9f758cafSpengcheng chen - Sun Microsystems - Beijing China#
22*9f758cafSpengcheng chen - Sun Microsystems - Beijing China# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
23*9f758cafSpengcheng chen - Sun Microsystems - Beijing China# Use is subject to license terms.
24*9f758cafSpengcheng chen - Sun Microsystems - Beijing China#
25*9f758cafSpengcheng chen - Sun Microsystems - Beijing China
26*9f758cafSpengcheng chen - Sun Microsystems - Beijing China#
27*9f758cafSpengcheng chen - Sun Microsystems - Beijing China# This makefile drives the production of the atu driver kernel module.
28*9f758cafSpengcheng chen - Sun Microsystems - Beijing China#
29*9f758cafSpengcheng chen - Sun Microsystems - Beijing China# i86pc architecture dependent
30*9f758cafSpengcheng chen - Sun Microsystems - Beijing China#
31*9f758cafSpengcheng chen - Sun Microsystems - Beijing China
32*9f758cafSpengcheng chen - Sun Microsystems - Beijing China#
33*9f758cafSpengcheng chen - Sun Microsystems - Beijing China#	Path to the base of the uts directory tree (usually /usr/src/uts).
34*9f758cafSpengcheng chen - Sun Microsystems - Beijing China#
35*9f758cafSpengcheng chen - Sun Microsystems - Beijing ChinaUTSBASE	= ../..
36*9f758cafSpengcheng chen - Sun Microsystems - Beijing China
37*9f758cafSpengcheng chen - Sun Microsystems - Beijing China#
38*9f758cafSpengcheng chen - Sun Microsystems - Beijing China#	Define the module and object file sets.
39*9f758cafSpengcheng chen - Sun Microsystems - Beijing China#
40*9f758cafSpengcheng chen - Sun Microsystems - Beijing ChinaMODULE		= atu
41*9f758cafSpengcheng chen - Sun Microsystems - Beijing ChinaOBJECTS		= $(ATU_OBJS:%=$(OBJS_DIR)/%)
42*9f758cafSpengcheng chen - Sun Microsystems - Beijing ChinaLINTS           = $(ATU_OBJS:%.o=$(LINTS_DIR)/%.ln)
43*9f758cafSpengcheng chen - Sun Microsystems - Beijing ChinaROOTMODULE	= $(ROOT_DRV_DIR)/$(MODULE)
44*9f758cafSpengcheng chen - Sun Microsystems - Beijing China
45*9f758cafSpengcheng chen - Sun Microsystems - Beijing China#
46*9f758cafSpengcheng chen - Sun Microsystems - Beijing China#	Include common rules.
47*9f758cafSpengcheng chen - Sun Microsystems - Beijing China#
48*9f758cafSpengcheng chen - Sun Microsystems - Beijing Chinainclude $(UTSBASE)/intel/Makefile.intel
49*9f758cafSpengcheng chen - Sun Microsystems - Beijing China
50*9f758cafSpengcheng chen - Sun Microsystems - Beijing China#
51*9f758cafSpengcheng chen - Sun Microsystems - Beijing China#	Define targets
52*9f758cafSpengcheng chen - Sun Microsystems - Beijing China#
53*9f758cafSpengcheng chen - Sun Microsystems - Beijing ChinaALL_TARGET	= $(BINARY)
54*9f758cafSpengcheng chen - Sun Microsystems - Beijing ChinaLINT_TARGET	= $(MODULE).lint
55*9f758cafSpengcheng chen - Sun Microsystems - Beijing ChinaINSTALL_TARGET	= $(BINARY) $(ROOTMODULE)
56*9f758cafSpengcheng chen - Sun Microsystems - Beijing China
57*9f758cafSpengcheng chen - Sun Microsystems - Beijing China#
58*9f758cafSpengcheng chen - Sun Microsystems - Beijing China#	Driver depends on GLDv3 & wifi kernel support module.
59*9f758cafSpengcheng chen - Sun Microsystems - Beijing China#
60*9f758cafSpengcheng chen - Sun Microsystems - Beijing ChinaLDFLAGS		+= -dy -Nmisc/mac -Nmisc/net80211 -Nmisc/usba
61*9f758cafSpengcheng chen - Sun Microsystems - Beijing China
62*9f758cafSpengcheng chen - Sun Microsystems - Beijing China#
63*9f758cafSpengcheng chen - Sun Microsystems - Beijing China#	Default build targets.
64*9f758cafSpengcheng chen - Sun Microsystems - Beijing China#
65*9f758cafSpengcheng chen - Sun Microsystems - Beijing China.KEEP_STATE:
66*9f758cafSpengcheng chen - Sun Microsystems - Beijing China
67*9f758cafSpengcheng chen - Sun Microsystems - Beijing Chinadef:		$(DEF_DEPS)
68*9f758cafSpengcheng chen - Sun Microsystems - Beijing China
69*9f758cafSpengcheng chen - Sun Microsystems - Beijing Chinaall:		$(ALL_DEPS)
70*9f758cafSpengcheng chen - Sun Microsystems - Beijing China
71*9f758cafSpengcheng chen - Sun Microsystems - Beijing Chinaclean:		$(CLEAN_DEPS)
72*9f758cafSpengcheng chen - Sun Microsystems - Beijing China
73*9f758cafSpengcheng chen - Sun Microsystems - Beijing Chinaclobber:	$(CLOBBER_DEPS)
74*9f758cafSpengcheng chen - Sun Microsystems - Beijing China
75*9f758cafSpengcheng chen - Sun Microsystems - Beijing Chinalint:		$(LINT_DEPS)
76*9f758cafSpengcheng chen - Sun Microsystems - Beijing China
77*9f758cafSpengcheng chen - Sun Microsystems - Beijing Chinamodlintlib:	$(MODLINTLIB_DEPS)
78*9f758cafSpengcheng chen - Sun Microsystems - Beijing China
79*9f758cafSpengcheng chen - Sun Microsystems - Beijing Chinaclean.lint:	$(CLEAN_LINT_DEPS)
80*9f758cafSpengcheng chen - Sun Microsystems - Beijing China
81*9f758cafSpengcheng chen - Sun Microsystems - Beijing Chinainstall:	$(INSTALL_DEPS)
82*9f758cafSpengcheng chen - Sun Microsystems - Beijing China
83*9f758cafSpengcheng chen - Sun Microsystems - Beijing China#
84*9f758cafSpengcheng chen - Sun Microsystems - Beijing China#	Include common targets.
85*9f758cafSpengcheng chen - Sun Microsystems - Beijing China#
86*9f758cafSpengcheng chen - Sun Microsystems - Beijing Chinainclude $(UTSBASE)/intel/Makefile.targ
87*9f758cafSpengcheng chen - Sun Microsystems - Beijing China
88*9f758cafSpengcheng chen - Sun Microsystems - Beijing China#
89*9f758cafSpengcheng chen - Sun Microsystems - Beijing China#	If you have any special case that general
90*9f758cafSpengcheng chen - Sun Microsystems - Beijing China#	Makefile rules don't serve for you, just do
91*9f758cafSpengcheng chen - Sun Microsystems - Beijing China#	it yourself.
92*9f758cafSpengcheng chen - Sun Microsystems - Beijing China#
93