xref: /titanic_41/usr/src/uts/intel/atu/Makefile (revision 7014882c6a3672fd0e5d60200af8643ae53c5928)
19f758cafSpengcheng chen - Sun Microsystems - Beijing China#
29f758cafSpengcheng chen - Sun Microsystems - Beijing China# CDDL HEADER START
39f758cafSpengcheng chen - Sun Microsystems - Beijing China#
49f758cafSpengcheng chen - Sun Microsystems - Beijing China# The contents of this file are subject to the terms of the
59f758cafSpengcheng chen - Sun Microsystems - Beijing China# Common Development and Distribution License (the "License").
69f758cafSpengcheng chen - Sun Microsystems - Beijing China# You may not use this file except in compliance with the License.
79f758cafSpengcheng chen - Sun Microsystems - Beijing China#
89f758cafSpengcheng chen - Sun Microsystems - Beijing China# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
99f758cafSpengcheng chen - Sun Microsystems - Beijing China# or http://www.opensolaris.org/os/licensing.
109f758cafSpengcheng chen - Sun Microsystems - Beijing China# See the License for the specific language governing permissions
119f758cafSpengcheng chen - Sun Microsystems - Beijing China# and limitations under the License.
129f758cafSpengcheng chen - Sun Microsystems - Beijing China#
139f758cafSpengcheng chen - Sun Microsystems - Beijing China# When distributing Covered Code, include this CDDL HEADER in each
149f758cafSpengcheng chen - Sun Microsystems - Beijing China# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
159f758cafSpengcheng chen - Sun Microsystems - Beijing China# If applicable, add the following below this CDDL HEADER, with the
169f758cafSpengcheng chen - Sun Microsystems - Beijing China# fields enclosed by brackets "[]" replaced with your own identifying
179f758cafSpengcheng chen - Sun Microsystems - Beijing China# information: Portions Copyright [yyyy] [name of copyright owner]
189f758cafSpengcheng chen - Sun Microsystems - Beijing China#
199f758cafSpengcheng chen - Sun Microsystems - Beijing China# CDDL HEADER END
209f758cafSpengcheng chen - Sun Microsystems - Beijing China#
219f758cafSpengcheng chen - Sun Microsystems - Beijing China#
229f758cafSpengcheng chen - Sun Microsystems - Beijing China# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
239f758cafSpengcheng chen - Sun Microsystems - Beijing China# Use is subject to license terms.
249f758cafSpengcheng chen - Sun Microsystems - Beijing China#
259f758cafSpengcheng chen - Sun Microsystems - Beijing China
269f758cafSpengcheng chen - Sun Microsystems - Beijing China#
279f758cafSpengcheng chen - Sun Microsystems - Beijing China# This makefile drives the production of the atu driver kernel module.
289f758cafSpengcheng chen - Sun Microsystems - Beijing China#
299f758cafSpengcheng chen - Sun Microsystems - Beijing China# i86pc architecture dependent
309f758cafSpengcheng chen - Sun Microsystems - Beijing China#
319f758cafSpengcheng chen - Sun Microsystems - Beijing China
329f758cafSpengcheng chen - Sun Microsystems - Beijing China#
339f758cafSpengcheng chen - Sun Microsystems - Beijing China#	Path to the base of the uts directory tree (usually /usr/src/uts).
349f758cafSpengcheng chen - Sun Microsystems - Beijing China#
359f758cafSpengcheng chen - Sun Microsystems - Beijing ChinaUTSBASE	= ../..
369f758cafSpengcheng chen - Sun Microsystems - Beijing China
379f758cafSpengcheng chen - Sun Microsystems - Beijing China#
389f758cafSpengcheng chen - Sun Microsystems - Beijing China#	Define the module and object file sets.
399f758cafSpengcheng chen - Sun Microsystems - Beijing China#
409f758cafSpengcheng chen - Sun Microsystems - Beijing ChinaMODULE		= atu
419f758cafSpengcheng chen - Sun Microsystems - Beijing ChinaOBJECTS		= $(ATU_OBJS:%=$(OBJS_DIR)/%)
429f758cafSpengcheng chen - Sun Microsystems - Beijing ChinaLINTS           = $(ATU_OBJS:%.o=$(LINTS_DIR)/%.ln)
439f758cafSpengcheng chen - Sun Microsystems - Beijing ChinaROOTMODULE	= $(ROOT_DRV_DIR)/$(MODULE)
449f758cafSpengcheng chen - Sun Microsystems - Beijing China
459f758cafSpengcheng chen - Sun Microsystems - Beijing China#
469f758cafSpengcheng chen - Sun Microsystems - Beijing China#	Include common rules.
479f758cafSpengcheng chen - Sun Microsystems - Beijing China#
489f758cafSpengcheng chen - Sun Microsystems - Beijing Chinainclude $(UTSBASE)/intel/Makefile.intel
499f758cafSpengcheng chen - Sun Microsystems - Beijing China
509f758cafSpengcheng chen - Sun Microsystems - Beijing China#
519f758cafSpengcheng chen - Sun Microsystems - Beijing China#	Define targets
529f758cafSpengcheng chen - Sun Microsystems - Beijing China#
539f758cafSpengcheng chen - Sun Microsystems - Beijing ChinaALL_TARGET	= $(BINARY)
549f758cafSpengcheng chen - Sun Microsystems - Beijing ChinaLINT_TARGET	= $(MODULE).lint
559f758cafSpengcheng chen - Sun Microsystems - Beijing ChinaINSTALL_TARGET	= $(BINARY) $(ROOTMODULE)
569f758cafSpengcheng chen - Sun Microsystems - Beijing China
579f758cafSpengcheng chen - Sun Microsystems - Beijing China#
589f758cafSpengcheng chen - Sun Microsystems - Beijing China#	Driver depends on GLDv3 & wifi kernel support module.
599f758cafSpengcheng chen - Sun Microsystems - Beijing China#
609f758cafSpengcheng chen - Sun Microsystems - Beijing ChinaLDFLAGS		+= -dy -Nmisc/mac -Nmisc/net80211 -Nmisc/usba
619f758cafSpengcheng chen - Sun Microsystems - Beijing China
62*7014882cSRichard LoweCERRWARN	+= -_gcc=-Wno-switch
63*7014882cSRichard Lowe
649f758cafSpengcheng chen - Sun Microsystems - Beijing China#
659f758cafSpengcheng chen - Sun Microsystems - Beijing China#	Default build targets.
669f758cafSpengcheng chen - Sun Microsystems - Beijing China#
679f758cafSpengcheng chen - Sun Microsystems - Beijing China.KEEP_STATE:
689f758cafSpengcheng chen - Sun Microsystems - Beijing China
699f758cafSpengcheng chen - Sun Microsystems - Beijing Chinadef:		$(DEF_DEPS)
709f758cafSpengcheng chen - Sun Microsystems - Beijing China
719f758cafSpengcheng chen - Sun Microsystems - Beijing Chinaall:		$(ALL_DEPS)
729f758cafSpengcheng chen - Sun Microsystems - Beijing China
739f758cafSpengcheng chen - Sun Microsystems - Beijing Chinaclean:		$(CLEAN_DEPS)
749f758cafSpengcheng chen - Sun Microsystems - Beijing China
759f758cafSpengcheng chen - Sun Microsystems - Beijing Chinaclobber:	$(CLOBBER_DEPS)
769f758cafSpengcheng chen - Sun Microsystems - Beijing China
779f758cafSpengcheng chen - Sun Microsystems - Beijing Chinalint:		$(LINT_DEPS)
789f758cafSpengcheng chen - Sun Microsystems - Beijing China
799f758cafSpengcheng chen - Sun Microsystems - Beijing Chinamodlintlib:	$(MODLINTLIB_DEPS)
809f758cafSpengcheng chen - Sun Microsystems - Beijing China
819f758cafSpengcheng chen - Sun Microsystems - Beijing Chinaclean.lint:	$(CLEAN_LINT_DEPS)
829f758cafSpengcheng chen - Sun Microsystems - Beijing China
839f758cafSpengcheng chen - Sun Microsystems - Beijing Chinainstall:	$(INSTALL_DEPS)
849f758cafSpengcheng chen - Sun Microsystems - Beijing China
859f758cafSpengcheng chen - Sun Microsystems - Beijing China#
869f758cafSpengcheng chen - Sun Microsystems - Beijing China#	Include common targets.
879f758cafSpengcheng chen - Sun Microsystems - Beijing China#
889f758cafSpengcheng chen - Sun Microsystems - Beijing Chinainclude $(UTSBASE)/intel/Makefile.targ
899f758cafSpengcheng chen - Sun Microsystems - Beijing China
909f758cafSpengcheng chen - Sun Microsystems - Beijing China#
919f758cafSpengcheng chen - Sun Microsystems - Beijing China#	If you have any special case that general
929f758cafSpengcheng chen - Sun Microsystems - Beijing China#	Makefile rules don't serve for you, just do
939f758cafSpengcheng chen - Sun Microsystems - Beijing China#	it yourself.
949f758cafSpengcheng chen - Sun Microsystems - Beijing China#
95