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