xref: /titanic_50/usr/src/uts/intel/cardbus/Makefile (revision 3db86aab554edbb4244c8d1a1c90f152eee768af)
1*3db86aabSstevel# CDDL HEADER START
2*3db86aabSstevel#
3*3db86aabSstevel# The contents of this file are subject to the terms of the
4*3db86aabSstevel# Common Development and Distribution License (the "License").
5*3db86aabSstevel# You may not use this file except in compliance with the License.
6*3db86aabSstevel#
7*3db86aabSstevel# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8*3db86aabSstevel# or http://www.opensolaris.org/os/licensing.
9*3db86aabSstevel# See the License for the specific language governing permissions
10*3db86aabSstevel# and limitations under the License.
11*3db86aabSstevel#
12*3db86aabSstevel# When distributing Covered Code, include this CDDL HEADER in each
13*3db86aabSstevel# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
14*3db86aabSstevel# If applicable, add the following below this CDDL HEADER, with the
15*3db86aabSstevel# fields enclosed by brackets "[]" replaced with your own identifying
16*3db86aabSstevel# information: Portions Copyright [yyyy] [name of copyright owner]
17*3db86aabSstevel#
18*3db86aabSstevel# CDDL HEADER END
19*3db86aabSstevel#
20*3db86aabSstevel
21*3db86aabSstevel#
22*3db86aabSstevel# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
23*3db86aabSstevel# Use is subject to license terms.
24*3db86aabSstevel#
25*3db86aabSstevel# uts/intel/cardbus/Makefile
26*3db86aabSstevel#
27*3db86aabSstevel#pragma ident	"%Z%%M%	%I%	%E% SMI"
28*3db86aabSstevel#
29*3db86aabSstevel#	This makefile drives the production of the cardbus kernel module.
30*3db86aabSstevel#
31*3db86aabSstevel#	intel architecture dependent
32*3db86aabSstevel#
33*3db86aabSstevel
34*3db86aabSstevel#
35*3db86aabSstevel#	Path to the base of the uts directory tree (usually /usr/src/uts).
36*3db86aabSstevel#
37*3db86aabSstevelUTSBASE		= ../..
38*3db86aabSstevel
39*3db86aabSstevel#
40*3db86aabSstevel#	Define the module and object file sets.
41*3db86aabSstevel#
42*3db86aabSstevelMODULE		= cardbus
43*3db86aabSstevelOBJECTS		= $(CARDBUS_OBJS:%=$(OBJS_DIR)/%)
44*3db86aabSstevelLINTS		= $(CARDBUS_OBJS:%.o=$(LINTS_DIR)/%.ln)
45*3db86aabSstevelROOTMODULE	= $(ROOT_MISC_DIR)/$(MODULE)
46*3db86aabSstevel
47*3db86aabSstevel#
48*3db86aabSstevel#	Include common rules.
49*3db86aabSstevel#
50*3db86aabSstevelinclude $(UTSBASE)/intel/Makefile.intel
51*3db86aabSstevel
52*3db86aabSstevel#
53*3db86aabSstevel#	Define targets
54*3db86aabSstevel#
55*3db86aabSstevelALL_TARGET	= $(BINARY)
56*3db86aabSstevelLINT_TARGET	= $(MODULE).lint
57*3db86aabSstevelINSTALL_TARGET	= $(BINARY) $(ROOTMODULE)
58*3db86aabSstevel
59*3db86aabSstevel#
60*3db86aabSstevel# 	Include sun4u specific header files
61*3db86aabSstevel#
62*3db86aabSstevelINC_PATH        += -I$(UTSBASE)/sun4u -I$(UTSBASE)/sun4 -I$(UTSBASE)/i86pc
63*3db86aabSstevel
64*3db86aabSstevel#
65*3db86aabSstevel# lint pass one enforcement
66*3db86aabSstevel#
67*3db86aabSstevelCFLAGS += $(CCVERBOSE)
68*3db86aabSstevel
69*3db86aabSstevelCPPFLAGS        +=      -DHOTPLUG
70*3db86aabSstevel
71*3db86aabSstevel#	dependency
72*3db86aabSstevelLDFLAGS	+=	-dy -Nmisc/busra -Nmisc/pcmcia -Nmisc/hpcsvc
73*3db86aabSstevel
74*3db86aabSstevel#
75*3db86aabSstevel#	Default build targets.
76*3db86aabSstevel#
77*3db86aabSstevel.KEEP_STATE:
78*3db86aabSstevel
79*3db86aabSsteveldef:		$(DEF_DEPS)
80*3db86aabSstevel
81*3db86aabSstevelall:		$(ALL_DEPS)
82*3db86aabSstevel
83*3db86aabSstevelclean:		$(CLEAN_DEPS)
84*3db86aabSstevel
85*3db86aabSstevelclobber:	$(CLOBBER_DEPS)
86*3db86aabSstevel
87*3db86aabSstevellint:		$(LINT_DEPS)
88*3db86aabSstevel
89*3db86aabSstevelmodlintlib:	$(MODLINTLIB_DEPS)
90*3db86aabSstevel
91*3db86aabSstevelclean.lint:	$(CLEAN_LINT_DEPS)
92*3db86aabSstevel
93*3db86aabSstevelinstall:	$(INSTALL_DEPS)
94*3db86aabSstevel
95*3db86aabSstevel#	Include common targets.
96*3db86aabSstevel#
97*3db86aabSstevelinclude $(UTSBASE)/intel/Makefile.targ
98