xref: /illumos-gate/usr/src/uts/intel/rwd/Makefile (revision 82d0151a507442720a3aea34c8925041894ab173)
110115c80Sfei feng - Sun Microsystems - Beijing China#
210115c80Sfei feng - Sun Microsystems - Beijing China# CDDL HEADER START
310115c80Sfei feng - Sun Microsystems - Beijing China#
410115c80Sfei feng - Sun Microsystems - Beijing China# The contents of this file are subject to the terms of the
510115c80Sfei feng - Sun Microsystems - Beijing China# Common Development and Distribution License (the "License").
610115c80Sfei feng - Sun Microsystems - Beijing China# You may not use this file except in compliance with the License.
710115c80Sfei feng - Sun Microsystems - Beijing China#
810115c80Sfei feng - Sun Microsystems - Beijing China# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
910115c80Sfei feng - Sun Microsystems - Beijing China# or http://www.opensolaris.org/os/licensing.
1010115c80Sfei feng - Sun Microsystems - Beijing China# See the License for the specific language governing permissions
1110115c80Sfei feng - Sun Microsystems - Beijing China# and limitations under the License.
1210115c80Sfei feng - Sun Microsystems - Beijing China#
1310115c80Sfei feng - Sun Microsystems - Beijing China# When distributing Covered Code, include this CDDL HEADER in each
1410115c80Sfei feng - Sun Microsystems - Beijing China# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1510115c80Sfei feng - Sun Microsystems - Beijing China# If applicable, add the following below this CDDL HEADER, with the
1610115c80Sfei feng - Sun Microsystems - Beijing China# fields enclosed by brackets "[]" replaced with your own identifying
1710115c80Sfei feng - Sun Microsystems - Beijing China# information: Portions Copyright [yyyy] [name of copyright owner]
1810115c80Sfei feng - Sun Microsystems - Beijing China#
1910115c80Sfei feng - Sun Microsystems - Beijing China# CDDL HEADER END
2010115c80Sfei feng - Sun Microsystems - Beijing China#
2110115c80Sfei feng - Sun Microsystems - Beijing China#
2210115c80Sfei feng - Sun Microsystems - Beijing China# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
2310115c80Sfei feng - Sun Microsystems - Beijing China# Use is subject to license terms.
2410115c80Sfei feng - Sun Microsystems - Beijing China#
2510115c80Sfei feng - Sun Microsystems - Beijing China
2610115c80Sfei feng - Sun Microsystems - Beijing China#
2710115c80Sfei feng - Sun Microsystems - Beijing China# This makefile drives the production of the rwd driver kernel module.
2810115c80Sfei feng - Sun Microsystems - Beijing China#
2910115c80Sfei feng - Sun Microsystems - Beijing China# i86pc architecture dependent
3010115c80Sfei feng - Sun Microsystems - Beijing China#
3110115c80Sfei feng - Sun Microsystems - Beijing China
3210115c80Sfei feng - Sun Microsystems - Beijing China#
3310115c80Sfei feng - Sun Microsystems - Beijing China#	Path to the base of the uts directory tree (usually /usr/src/uts).
3410115c80Sfei feng - Sun Microsystems - Beijing China#
3510115c80Sfei feng - Sun Microsystems - Beijing ChinaUTSBASE	= ../..
3610115c80Sfei feng - Sun Microsystems - Beijing China
3710115c80Sfei feng - Sun Microsystems - Beijing China#
3810115c80Sfei feng - Sun Microsystems - Beijing China#	Define the module and object file sets.
3910115c80Sfei feng - Sun Microsystems - Beijing China#
4010115c80Sfei feng - Sun Microsystems - Beijing ChinaMODULE		= rwd
4110115c80Sfei feng - Sun Microsystems - Beijing ChinaOBJECTS		= $(RWD_OBJS:%=$(OBJS_DIR)/%)
4210115c80Sfei feng - Sun Microsystems - Beijing ChinaROOTMODULE	= $(ROOT_DRV_DIR)/$(MODULE)
4310115c80Sfei feng - Sun Microsystems - Beijing China
4410115c80Sfei feng - Sun Microsystems - Beijing China#
4510115c80Sfei feng - Sun Microsystems - Beijing China#	Include common rules.
4610115c80Sfei feng - Sun Microsystems - Beijing China#
4710115c80Sfei feng - Sun Microsystems - Beijing Chinainclude $(UTSBASE)/intel/Makefile.intel
4810115c80Sfei feng - Sun Microsystems - Beijing China
4910115c80Sfei feng - Sun Microsystems - Beijing China#
5010115c80Sfei feng - Sun Microsystems - Beijing China#	Define targets
5110115c80Sfei feng - Sun Microsystems - Beijing China#
5210115c80Sfei feng - Sun Microsystems - Beijing ChinaALL_TARGET	= $(BINARY)
5310115c80Sfei feng - Sun Microsystems - Beijing ChinaINSTALL_TARGET	= $(BINARY) $(ROOTMODULE)
5410115c80Sfei feng - Sun Microsystems - Beijing China
5510115c80Sfei feng - Sun Microsystems - Beijing China#
5610115c80Sfei feng - Sun Microsystems - Beijing China#	Driver depends on GLDv3 & wifi kernel support module.
5710115c80Sfei feng - Sun Microsystems - Beijing China#
58*82d0151aSRichard LoweLDFLAGS		+= -Nmisc/mac -Nmisc/net80211
5910115c80Sfei feng - Sun Microsystems - Beijing China
6010115c80Sfei feng - Sun Microsystems - Beijing China#
6110115c80Sfei feng - Sun Microsystems - Beijing China#	Overrides
6210115c80Sfei feng - Sun Microsystems - Beijing China#
6310115c80Sfei feng - Sun Microsystems - Beijing China
6410115c80Sfei feng - Sun Microsystems - Beijing China#
6510115c80Sfei feng - Sun Microsystems - Beijing China#	Default build targets.
6610115c80Sfei feng - Sun Microsystems - Beijing China#
6710115c80Sfei feng - Sun Microsystems - Beijing China.KEEP_STATE:
6810115c80Sfei feng - Sun Microsystems - Beijing China
6910115c80Sfei feng - Sun Microsystems - Beijing Chinadef:		$(DEF_DEPS)
7010115c80Sfei feng - Sun Microsystems - Beijing China
7110115c80Sfei feng - Sun Microsystems - Beijing Chinaall:		$(ALL_DEPS)
7210115c80Sfei feng - Sun Microsystems - Beijing China
7310115c80Sfei feng - Sun Microsystems - Beijing Chinaclean:		$(CLEAN_DEPS)
7410115c80Sfei feng - Sun Microsystems - Beijing China
7510115c80Sfei feng - Sun Microsystems - Beijing Chinaclobber:	$(CLOBBER_DEPS)
7610115c80Sfei feng - Sun Microsystems - Beijing China
7710115c80Sfei feng - Sun Microsystems - Beijing Chinainstall:	$(INSTALL_DEPS)
7810115c80Sfei feng - Sun Microsystems - Beijing China
7910115c80Sfei feng - Sun Microsystems - Beijing China#
8010115c80Sfei feng - Sun Microsystems - Beijing China#	Include common targets.
8110115c80Sfei feng - Sun Microsystems - Beijing China#
8210115c80Sfei feng - Sun Microsystems - Beijing Chinainclude $(UTSBASE)/intel/Makefile.targ
8310115c80Sfei feng - Sun Microsystems - Beijing China
8410115c80Sfei feng - Sun Microsystems - Beijing China#
8510115c80Sfei feng - Sun Microsystems - Beijing China#	If you have any special case that general
8610115c80Sfei feng - Sun Microsystems - Beijing China#	Makefile rules don't serve for you, just do
8710115c80Sfei feng - Sun Microsystems - Beijing China#	it yourself.
8810115c80Sfei feng - Sun Microsystems - Beijing China#
89