summaryrefslogtreecommitdiff
path: root/usr/src/lib/cfgadm_plugins/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/cfgadm_plugins/Makefile')
-rw-r--r--usr/src/lib/cfgadm_plugins/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/usr/src/lib/cfgadm_plugins/Makefile b/usr/src/lib/cfgadm_plugins/Makefile
index dbe7ddba1c..64b5cd9962 100644
--- a/usr/src/lib/cfgadm_plugins/Makefile
+++ b/usr/src/lib/cfgadm_plugins/Makefile
@@ -20,7 +20,7 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "%Z%%M% %I% %E% SMI"
@@ -28,14 +28,18 @@
# lib/cfgadm_plugins/Makefile
#
-COMMON_SUBDIRS= scsi pci usb ib
-sparc_SUBDIRS= ac sysctrl sbd
+include $(SRC)/Makefile.master
+
+CLOSED_PLUGIN = $(CLOSED)/lib/cfgadm_plugins/
-# currently pci library is built only for i386; it should be moved
-# to COMMON_SUBDIRS when it is to be built for SPARC also.
+COMMON_SUBDIRS= scsi pci usb ib
+sparc_SUBDIRS= sbd
i386_SUBDIRS=
+$(CLOSED_BUILD)sparc_SUBDIRS += $(CLOSED_PLUGIN)/ac
+$(CLOSED_BUILD)sparc_SUBDIRS += $(CLOSED_PLUGIN)/sysctrl
+
SUBDIRS= $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS)
ALL_SUBDIRS= $(COMMON_SUBDIRS) $(sparc_SUBDIRS) $(i386_SUBDIRS)