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