Makefile revision 1258:9961d7d3ec8c
1255332Scy#
2255332Scy# CDDL HEADER START
3255332Scy#
4255332Scy# The contents of this file are subject to the terms of the
5255332Scy# Common Development and Distribution License (the "License").
6255332Scy# You may not use this file except in compliance with the License.
7255332Scy#
8145516Sdarrenr# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9145516Sdarrenr# or http://www.opensolaris.org/os/licensing.
10145516Sdarrenr# See the License for the specific language governing permissions
11153872Sguido# and limitations under the License.
12145516Sdarrenr#
13145516Sdarrenr# When distributing Covered Code, include this CDDL HEADER in each
14145516Sdarrenr# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15145516Sdarrenr# If applicable, add the following below this CDDL HEADER, with the
16145516Sdarrenr# fields enclosed by brackets "[]" replaced with your own identifying
17145516Sdarrenr# information: Portions Copyright [yyyy] [name of copyright owner]
18145516Sdarrenr#
19145516Sdarrenr# CDDL HEADER END
20145516Sdarrenr#
21145516Sdarrenr#
22145516Sdarrenr# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
23145516Sdarrenr# Use is subject to license terms.
24145516Sdarrenr#
25145516Sdarrenr# ident	"%Z%%M%	%I%	%E% SMI"
26145516Sdarrenr#
27145516Sdarrenr# lib/cfgadm_plugins/Makefile
28145516Sdarrenr#
29145516Sdarrenr
30145516Sdarrenrinclude $(SRC)/Makefile.master
31145516Sdarrenr
32145516SdarrenrCLOSED_PLUGIN = $(CLOSED)/lib/cfgadm_plugins/
33255332Scy
34255332ScyCOMMON_SUBDIRS= scsi pci usb ib
35255332Scysparc_SUBDIRS=	sbd
36145516Sdarrenr
37145516Sdarrenri386_SUBDIRS= sata
38145516Sdarrenr
39145516Sdarrenr$(CLOSED_BUILD)sparc_SUBDIRS += $(CLOSED_PLUGIN)/ac
40145516Sdarrenr$(CLOSED_BUILD)sparc_SUBDIRS += $(CLOSED_PLUGIN)/sysctrl
41145516Sdarrenr
42145516SdarrenrSUBDIRS= $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS)
43145516Sdarrenr
44145516SdarrenrALL_SUBDIRS= $(COMMON_SUBDIRS) $(sparc_SUBDIRS) $(i386_SUBDIRS)
45170263Sdarrenr
46170263SdarrenrMSGSUBDIRS= $(ALL_SUBDIRS)
47170263Sdarrenr
48145516Sdarrenrall:= 		TARGET= all
49145516Sdarrenrinstall:=	TARGET= install
50145516Sdarrenrclean:=		TARGET= clean
51145516Sdarrenrclobber:=	TARGET= clobber
52255332Scylint:=		TARGET= lint
53145516Sdarrenr_msg:=		TARGET= _msg
54145516Sdarrenr
55145516Sdarrenr.KEEP_STATE:
56145516Sdarrenr
57145516Sdarrenrall clean clobber lint: $(SUBDIRS)
58145516Sdarrenr
59145516Sdarrenrinstall: all $(SUBDIRS)
60145516Sdarrenr
61145516Sdarrenr_msg: $(MSGSUBDIRS)
62145516Sdarrenr
63145516Sdarrenr$(ALL_SUBDIRS): FRC
64145516Sdarrenr	@cd $@; pwd; $(MAKE) $(TARGET)
65145516Sdarrenr
66145516SdarrenrFRC:
67255332Scy