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