xref: /illumos-gate/usr/src/uts/intel/usbwcm/Makefile (revision 41e0a469c3dbc14deb2b200f6ca6f6e00b5865d0)
1692d834dSPengcheng Chen - Sun Microsystems - Beijing China#
2692d834dSPengcheng Chen - Sun Microsystems - Beijing China# CDDL HEADER START
3692d834dSPengcheng Chen - Sun Microsystems - Beijing China#
4692d834dSPengcheng Chen - Sun Microsystems - Beijing China# The contents of this file are subject to the terms of the
5692d834dSPengcheng Chen - Sun Microsystems - Beijing China# Common Development and Distribution License (the "License").
6692d834dSPengcheng Chen - Sun Microsystems - Beijing China# You may not use this file except in compliance with the License.
7692d834dSPengcheng Chen - Sun Microsystems - Beijing China#
8692d834dSPengcheng Chen - Sun Microsystems - Beijing China# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9692d834dSPengcheng Chen - Sun Microsystems - Beijing China# or http://www.opensolaris.org/os/licensing.
10692d834dSPengcheng Chen - Sun Microsystems - Beijing China# See the License for the specific language governing permissions
11692d834dSPengcheng Chen - Sun Microsystems - Beijing China# and limitations under the License.
12692d834dSPengcheng Chen - Sun Microsystems - Beijing China#
13692d834dSPengcheng Chen - Sun Microsystems - Beijing China# When distributing Covered Code, include this CDDL HEADER in each
14692d834dSPengcheng Chen - Sun Microsystems - Beijing China# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15692d834dSPengcheng Chen - Sun Microsystems - Beijing China# If applicable, add the following below this CDDL HEADER, with the
16692d834dSPengcheng Chen - Sun Microsystems - Beijing China# fields enclosed by brackets "[]" replaced with your own identifying
17692d834dSPengcheng Chen - Sun Microsystems - Beijing China# information: Portions Copyright [yyyy] [name of copyright owner]
18692d834dSPengcheng Chen - Sun Microsystems - Beijing China#
19692d834dSPengcheng Chen - Sun Microsystems - Beijing China# CDDL HEADER END
20692d834dSPengcheng Chen - Sun Microsystems - Beijing China#
21692d834dSPengcheng Chen - Sun Microsystems - Beijing China#
22692d834dSPengcheng Chen - Sun Microsystems - Beijing China# uts/intel/usbwcm/Makefile
23692d834dSPengcheng Chen - Sun Microsystems - Beijing China# Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
24692d834dSPengcheng Chen - Sun Microsystems - Beijing China# Use is subject to license terms.
25692d834dSPengcheng Chen - Sun Microsystems - Beijing China#
26692d834dSPengcheng Chen - Sun Microsystems - Beijing China#
27692d834dSPengcheng Chen - Sun Microsystems - Beijing China#	This makefile drives the production of the usbwcm kernel module.
28692d834dSPengcheng Chen - Sun Microsystems - Beijing China#
29692d834dSPengcheng Chen - Sun Microsystems - Beijing China
30692d834dSPengcheng Chen - Sun Microsystems - Beijing China#
31692d834dSPengcheng Chen - Sun Microsystems - Beijing China#	Path to the base of the uts directory tree (usually /usr/src/uts).
32692d834dSPengcheng Chen - Sun Microsystems - Beijing China#
33692d834dSPengcheng Chen - Sun Microsystems - Beijing ChinaUTSBASE	= ../..
34692d834dSPengcheng Chen - Sun Microsystems - Beijing China
35692d834dSPengcheng Chen - Sun Microsystems - Beijing China#
36692d834dSPengcheng Chen - Sun Microsystems - Beijing China#	Define the module and object file sets.
37692d834dSPengcheng Chen - Sun Microsystems - Beijing China#
38692d834dSPengcheng Chen - Sun Microsystems - Beijing ChinaMODULE		= usbwcm
39692d834dSPengcheng Chen - Sun Microsystems - Beijing ChinaOBJECTS		= $(USBWCM_OBJS:%=$(OBJS_DIR)/%)
40692d834dSPengcheng Chen - Sun Microsystems - Beijing ChinaROOTMODULE	= $(ROOT_STRMOD_DIR)/$(MODULE)
41692d834dSPengcheng Chen - Sun Microsystems - Beijing China
42692d834dSPengcheng Chen - Sun Microsystems - Beijing China#
43692d834dSPengcheng Chen - Sun Microsystems - Beijing China#	Include common rules.
44692d834dSPengcheng Chen - Sun Microsystems - Beijing China#
45692d834dSPengcheng Chen - Sun Microsystems - Beijing Chinainclude $(UTSBASE)/intel/Makefile.intel
46692d834dSPengcheng Chen - Sun Microsystems - Beijing China
47692d834dSPengcheng Chen - Sun Microsystems - Beijing China#
48692d834dSPengcheng Chen - Sun Microsystems - Beijing China#	Define targets
49692d834dSPengcheng Chen - Sun Microsystems - Beijing China#
50692d834dSPengcheng Chen - Sun Microsystems - Beijing ChinaALL_TARGET	= $(BINARY)
51692d834dSPengcheng Chen - Sun Microsystems - Beijing ChinaINSTALL_TARGET	= $(BINARY) $(ROOTMODULE)
52692d834dSPengcheng Chen - Sun Microsystems - Beijing China
53692d834dSPengcheng Chen - Sun Microsystems - Beijing China#
54692d834dSPengcheng Chen - Sun Microsystems - Beijing China# depends on misc/usba
55692d834dSPengcheng Chen - Sun Microsystems - Beijing China#
56*82d0151aSRichard LoweLDFLAGS         += -Nmisc/usba
57692d834dSPengcheng Chen - Sun Microsystems - Beijing China
58692d834dSPengcheng Chen - Sun Microsystems - Beijing China#
590aaef2f5SRichard Lowe# For now, disable these warnings; maintainers should endeavor
600aaef2f5SRichard Lowe# to investigate and remove these for maximum coverage.
61692d834dSPengcheng Chen - Sun Microsystems - Beijing China# Please do not carry these forward to new Makefiles.
62692d834dSPengcheng Chen - Sun Microsystems - Beijing China#
63692d834dSPengcheng Chen - Sun Microsystems - Beijing China
647014882cSRichard LoweCERRWARN	+= -_gcc=-Wno-parentheses
65d3b5f563SJohn LevonCERRWARN	+= $(CNOWARN_UNINIT)
667014882cSRichard Lowe
67692d834dSPengcheng Chen - Sun Microsystems - Beijing China#
68692d834dSPengcheng Chen - Sun Microsystems - Beijing China#	Default build targets.
69692d834dSPengcheng Chen - Sun Microsystems - Beijing China#
70692d834dSPengcheng Chen - Sun Microsystems - Beijing China.KEEP_STATE:
71692d834dSPengcheng Chen - Sun Microsystems - Beijing China
72692d834dSPengcheng Chen - Sun Microsystems - Beijing Chinadef:		$(DEF_DEPS)
73692d834dSPengcheng Chen - Sun Microsystems - Beijing China
74692d834dSPengcheng Chen - Sun Microsystems - Beijing Chinaall:		$(ALL_DEPS)
75692d834dSPengcheng Chen - Sun Microsystems - Beijing China
76692d834dSPengcheng Chen - Sun Microsystems - Beijing Chinaclean:		$(CLEAN_DEPS)
77692d834dSPengcheng Chen - Sun Microsystems - Beijing China
78692d834dSPengcheng Chen - Sun Microsystems - Beijing Chinaclobber:	$(CLOBBER_DEPS)
79692d834dSPengcheng Chen - Sun Microsystems - Beijing China
80692d834dSPengcheng Chen - Sun Microsystems - Beijing Chinainstall:	$(INSTALL_DEPS)
81692d834dSPengcheng Chen - Sun Microsystems - Beijing China
82692d834dSPengcheng Chen - Sun Microsystems - Beijing China#
83692d834dSPengcheng Chen - Sun Microsystems - Beijing China#	Include common targets.
84692d834dSPengcheng Chen - Sun Microsystems - Beijing China#
85692d834dSPengcheng Chen - Sun Microsystems - Beijing Chinainclude $(UTSBASE)/intel/Makefile.targ
86692d834dSPengcheng Chen - Sun Microsystems - Beijing China
87