changeset 10738:6cd5e5169fec

6880460 some root-build bits were missed by 6864230 6414832 SUNWonbld gk account should be removed 6536468 date in Nevada motd should be changed 6855668 webrev mangles dates in non-Romanised locales 6866716 estimation of max-jobs for /.make.machines is incorrect 6589104 make POUND_SIGN less of a drag 6750554 build rule for mcs gives shell+date a real workout 6885068 no need for raciness Portions contributed by Rich Lowe
author jmcp <James.McPherson@Sun.COM>
date Wed, 07 Oct 2009 16:55:54 -0700
parents c6d4bb2a188c
children 01d875748398
files usr/src/Makefile.master usr/src/Makefile.psm usr/src/Makefile.psm.targ usr/src/Targetdirs usr/src/cmd/cron/Makefile usr/src/cmd/fcoesvc/Makefile usr/src/cmd/mdb/Makefile.kmdb usr/src/cmd/mdb/intel/amd64/kmdb/Makefile usr/src/cmd/mdb/intel/ia32/kmdb/Makefile usr/src/cmd/mdb/sun4u/v9/kmdb/Makefile usr/src/cmd/mdb/sun4v/v9/kmdb/Makefile usr/src/cmd/oplhpd/Makefile usr/src/cmd/scadm/Makefile.com usr/src/cmd/sf880drd/Makefile usr/src/lib/cfgadm_plugins/Makefile.com usr/src/lib/cfgadm_plugins/ac/Makefile.com usr/src/lib/cfgadm_plugins/pci/Makefile.com usr/src/lib/cfgadm_plugins/sbd/Makefile.com usr/src/lib/cfgadm_plugins/sysctrl/Makefile.com usr/src/lib/hbaapi/Makefile.com usr/src/lib/libc_psr/sun4u-opl/Makefile usr/src/lib/libc_psr/sun4u-opl/sparc/Makefile usr/src/lib/libc_psr/sun4u-opl/sparcv9/Makefile usr/src/lib/libc_psr/sun4u-us3/Makefile usr/src/lib/libc_psr/sun4u/sparc/Makefile usr/src/lib/libc_psr/sun4u/sparcv9/Makefile usr/src/lib/libc_psr/sun4u_hwcap1/sparc/Makefile usr/src/lib/libc_psr/sun4u_hwcap1/sparcv9/Makefile usr/src/lib/libc_psr/sun4u_hwcap2/sparc/Makefile usr/src/lib/libc_psr/sun4u_hwcap2/sparcv9/Makefile usr/src/lib/libc_psr/sun4v/Makefile usr/src/lib/libc_psr/sun4v_hwcap1/sparc/Makefile usr/src/lib/libc_psr/sun4v_hwcap1/sparcv9/Makefile usr/src/lib/libc_psr/sun4v_hwcap2/sparc/Makefile usr/src/lib/libc_psr/sun4v_hwcap2/sparcv9/Makefile usr/src/lib/libmd/Makefile.com usr/src/lib/libmd/sun4u/Makefile.links usr/src/lib/libmd/sun4v/sparc/Makefile usr/src/lib/libmd/sun4v/sparcv9/Makefile usr/src/lib/libpcp/sparc/Makefile usr/src/lib/libprtdiag_psr/sparc/cherrystone/Makefile usr/src/lib/libprtdiag_psr/sparc/daktari/Makefile usr/src/lib/libprtdiag_psr/sparc/desktop/picl/Makefile usr/src/lib/libprtdiag_psr/sparc/montecarlo/Makefile usr/src/lib/libprtdiag_psr/sparc/montoya/Makefile usr/src/lib/libprtdiag_psr/sparc/monza/Makefile usr/src/lib/libprtdiag_psr/sparc/ontario/Makefile usr/src/lib/libprtdiag_psr/sparc/schumacher/picl/Makefile usr/src/lib/librsc/Makefile.com usr/src/lib/libtsalarm/sparc/Makefile usr/src/lib/pkcs11/libsoftcrypto/Makefile.com usr/src/lib/smhba/Makefile.com usr/src/psm/stand/bootblks/ufs/Makefile usr/src/tools/Makefile.tools usr/src/tools/SUNWonbld/postinstall usr/src/tools/SUNWonbld/preremove usr/src/tools/SUNWonbld/prototype_com usr/src/tools/gk/Makefile usr/src/tools/gk/gen_make.machines.sh usr/src/tools/scripts/bldenv.sh usr/src/tools/scripts/nightly.1 usr/src/tools/scripts/nightly.sh usr/src/tools/scripts/webrev.sh usr/src/uts/Makefile.targ usr/src/uts/i86pc/i86hvm/Makefile.targ usr/src/uts/i86pc/sys/Makefile usr/src/uts/i86pc/vm/Makefile usr/src/uts/i86xpv/sys/Makefile usr/src/uts/i86xpv/vm/Makefile usr/src/uts/sun4u/Makefile usr/src/uts/sun4u/aes/Makefile usr/src/uts/sun4u/blade/Makefile.targ.shared usr/src/uts/sun4u/boston/Makefile.targ usr/src/uts/sun4u/cherrystone/Makefile.targ usr/src/uts/sun4u/cherrystone/sys/Makefile usr/src/uts/sun4u/chicago/Makefile.targ usr/src/uts/sun4u/chicago/fpc/Makefile usr/src/uts/sun4u/daktari/Makefile.targ usr/src/uts/sun4u/daktari/sys/Makefile usr/src/uts/sun4u/darwin/Makefile.targ usr/src/uts/sun4u/douglas/Makefile.targ.shared usr/src/uts/sun4u/enchilada/Makefile.targ usr/src/uts/sun4u/excalibur/Makefile.targ usr/src/uts/sun4u/excalibur/sys/Makefile usr/src/uts/sun4u/fjlite/Makefile.targ usr/src/uts/sun4u/grover/Makefile.targ.shared usr/src/uts/sun4u/javelin/Makefile.targ.shared usr/src/uts/sun4u/littleneck/Makefile.targ usr/src/uts/sun4u/lw2plus/Makefile.targ usr/src/uts/sun4u/lw8/Makefile.targ usr/src/uts/sun4u/lw8/sys/Makefile usr/src/uts/sun4u/makaha/Makefile.targ usr/src/uts/sun4u/montecarlo/Makefile.targ.shared usr/src/uts/sun4u/montecarlo/sys/Makefile usr/src/uts/sun4u/mpxu/Makefile.targ.shared usr/src/uts/sun4u/mpxu/sys/Makefile usr/src/uts/sun4u/ngdr/sys/Makefile usr/src/uts/sun4u/opl/Makefile.targ.shared usr/src/uts/sun4u/opl/sys/Makefile usr/src/uts/sun4u/quasar/Makefile.targ usr/src/uts/sun4u/schumacher/Makefile.targ usr/src/uts/sun4u/seattle/Makefile.targ usr/src/uts/sun4u/serengeti/Makefile.targ.shared usr/src/uts/sun4u/serengeti/sys/Makefile usr/src/uts/sun4u/snowbird/Makefile.targ usr/src/uts/sun4u/snowbird/sys/Makefile usr/src/uts/sun4u/starcat/Makefile.targ.shared usr/src/uts/sun4u/starcat/sys/Makefile usr/src/uts/sun4u/starfire/Makefile.targ usr/src/uts/sun4u/starfire/sys/Makefile usr/src/uts/sun4u/sunfire/Makefile.targ.shared usr/src/uts/sun4u/sunfire/sys/Makefile usr/src/uts/sun4u/sys/Makefile usr/src/uts/sun4u/taco/Makefile.targ usr/src/uts/sun4u/tazmo/Makefile.targ.shared usr/src/uts/sun4u/vm/Makefile usr/src/uts/sun4v/Makefile usr/src/uts/sun4v/montoya/Makefile.targ usr/src/uts/sun4v/ontario/Makefile.targ usr/src/uts/sun4v/sys/Makefile usr/src/uts/sun4v/vm/Makefile
diffstat 121 files changed, 908 insertions(+), 1184 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/Makefile.master	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/Makefile.master	Wed Oct 07 16:55:54 2009 -0700
@@ -54,12 +54,18 @@
 #
 # The declaration POUND_SIGN is always '#'. This is needed to get around the
 # make feature that '#' is always a comment delimiter, even when escaped or
-# quoted.  The only way of generating this is the :sh macro mechanism.  Note
-# however that in general :sh macros should be avoided in makefiles that are
-# widely included into other makefiles, as the resulting shell executions can
-# cause a noticable slowdown in build times.
+# quoted. We use this macro expansion method to get POUND_SIGN rather than
+# always breaking out a shell because the general case can cause a noticable
+# slowdown in build times when so many Makefiles include Makefile.master.
 #
-POUND_SIGN:sh=				echo \\043
+# While the majority of users are expected to override the setting below
+# with an env file (via nightly or bldenv), if you aren't building that way
+# (ie, you're using "ws" or some other bootstrapping method) then you need
+# this definition in order to avoid the subshell invocation mentioned above.
+#
+
+PRE_POUND=				pre\#
+POUND_SIGN=				$(PRE_POUND:pre\%=%)
 
 NOT_RELEASE_BUILD=
 INTERNAL_RELEASE_BUILD=			$(POUND_SIGN)
@@ -885,11 +891,10 @@
 RELEASE=	$(RELEASE_MAJOR).$(RELEASE_MINOR)
 VERSION=	SunOS Development
 PATCHID=	$(VERSION)
-RELEASE_DATE=	October 2007
+RELEASE_DATE=	release date not set
 PATCH_DATE=	$(RELEASE_DATE)
 RELEASE_CM=	"@($(POUND_SIGN))SunOS $(RELEASE) $(PATCHID) $(PATCH_DATE)"
-DEV_CM=		"@($(POUND_SIGN))SunOS Internal Development: \
-`$(ECHO) $$LOGNAME` `date +%Y-%m-%d` `$(ECHO) [\`basename $$CODEMGR_WS\`]`"
+DEV_CM=		"@($(POUND_SIGN))SunOS Internal Development: non-nightly build"
 
 PROCESS_COMMENT=		   @?${MCS} -c -a $(RELEASE_CM) -a $(DEV_CM)
 $(STRIP_COMMENTS)PROCESS_COMMENT=  @?${MCS} -d -a $(RELEASE_CM) -a $(DEV_CM)
--- a/usr/src/Makefile.psm	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/Makefile.psm	Wed Oct 07 16:55:54 2009 -0700
@@ -26,16 +26,7 @@
 #
 # Makefile.psm, global definitions for platform specific modules
 
-#
-# The distinction between root.sys and root.bin is largely historical;
-# the files in group bin used to be owned by user bin.
-#
-INS.dir.root.sys=	$(INS) -s -d -m $(DIRMODE) $@
-INS.dir.root.bin=	$(INS) -s -d -m $(DIRMODE) $@
 
-#
-#
-#
 ROOT_PLAT_DIR		 = $(ROOT)/platform
 
 ROOT_PSM_DIR		 = $(ROOT_PLAT_DIR)/$(PLATFORM)
--- a/usr/src/Makefile.psm.targ	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/Makefile.psm.targ	Wed Oct 07 16:55:54 2009 -0700
@@ -28,26 +28,26 @@
 #	Installation targets and rules:
 #
 $(ROOT_PLAT_DIR) $(USR_PLAT_DIR):
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_PSM_DIR):		$(ROOT_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_BOOT_PSM_KERN_DIR):
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_PSM_LIB_DIR) \
 $(ROOT_PSM_SBIN_DIR):		$(ROOT_PSM_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_PSM_LIB64_DIR):		$(ROOT_PSM_LIB_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(ROOT_PSM_MOD_DIR):		$(ROOT_PSM_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_PSM_MOD_DIRS_32):	$(ROOT_PSM_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_PSM_DIR)/%:		% $(ROOT_PSM_DIR)
 	$(INS.file)
@@ -113,13 +113,13 @@
 	$(INS.file)
 
 $(ROOT_PSM_LIB_FS_DIR):	$(ROOT_PSM_LIB_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(ROOT_PSM_LIB_UFS_DIR) \
 $(ROOT_PSM_LIB_NFS_DIR) \
 $(ROOT_PSM_LIB_HSFS_DIR) \
 $(ROOT_PSM_LIB_ZFS_DIR):	$(ROOT_PSM_LIB_FS_DIR)
-	$(INS.dir.root.bin)
+	$(INS.dir)
 
 $(ROOT_PSM_LIB_UFS_DIR)/%:	% $(ROOT_PSM_LIB_UFS_DIR)
 	$(INS.file)
@@ -137,34 +137,34 @@
 #
 #
 $(USR_PSM_DIR):			$(USR_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_PSM_INCL_DIR) \
 $(USR_PSM_LIB_DIR) \
 $(USR_PSM_SBIN_DIR):		$(USR_PSM_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(USR_PSM_LIB64_DIR):	$(USR_PSM_LIB_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(USR_PSM_LIB_FS_DIR):	$(USR_PSM_LIB_DIR) $(LINKED_LIB_FS_DIRS)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(USR_PSM_LIB_UFS_DIR) \
 $(USR_PSM_LIB_NFS_DIR) \
 $(USR_PSM_LIB_HSFS_DIR) \
 $(USR_PSM_LIB_ZFS_DIR):	$(USR_PSM_LIB_FS_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(USR_PSM_MOD_DIR):		$(USR_PSM_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_PSM_MOD_DIRS_32):		$(USR_PSM_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_PSM_ISYS_DIR) \
 $(USR_PSM_IVM_DIR):		$(USR_PSM_INCL_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(USR_PSM_INCL_DIR)/%:		% $(USR_PSM_INCL_DIR)
 	$(INS.file)
@@ -227,10 +227,10 @@
 # links in /usr/platform
 #
 $(LINKED_DIRS):		$(USR_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(LINKED_LIB_DIRS):	$(LINKED_DIRS)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(LINKED_ADB_DIRS):	$(LINKED_LIB_DIRS)
 	-$(INS.slink6)
--- a/usr/src/Targetdirs	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/Targetdirs	Wed Oct 07 16:55:54 2009 -0700
@@ -24,43 +24,52 @@
 #
 
 #
-# The list is built of owner-group combinations.  ROOT.SYS occurs twice
-# because some directories owned by root and in group sys are subdirectories
-# of directories having other owner-group attributes.
-#
 # It is easier to think in terms of directory names without the ROOT macro
 # prefix.  ROOTDIRS is TARGETDIRS with ROOT prefixes.  It is necessary
 # to work with ROOT prefixes when controlling conditional assignments.
 #
-# The macro SYM.ROOT.SYS means symlinks with owner root and group sys.
-
-SYMLINKS=	$(SYM.ROOT.SYS) $(SYM.ROOT.BIN) $(SYM.OTHERS)
 
-TARGETDIRS=	$(ROOT.SYS) $(ROOT.BIN) $(ROOT.SYS2) \
-		$(UUCP.UUCP) $(OTHERS) $(ROOT.OTHER) \
-		$(SYM.USRCCSLIB) $(SYM.USRLIB)
+DIRLINKS=	$(SYM.DIRS)
+$(BUILD64)	DIRLINKS += $(SYM.DIRS64)
+
+FILELINKS= $(SYM.USRCCSLIB) $(SYM.USRLIB)
+$(BUILD64)	FILELINKS += $(SYM.USRCCSLIB64) $(SYM.USRLIB64)
 
-$(BUILD64)	TARGETDIRS += $(ROOT.SYS64.2) $(ROOT.BIN64) \
-		$(SYM.USRCCSLIB64) $(SYM.USRLIB64)
+TARGETDIRS=	$(DIRS)
+$(BUILD64)	TARGETDIRS += $(DIRS64)
 
-$(BUILD64)	SYMLINKS += $(SYM.ROOT.BIN64)
+TARGETDIRS	+= $(FILELINKS) $(DIRLINKS)
 
-TARGETDIRS	+= $(SYMLINKS)
-
-i386_ROOT.SYS= \
+i386_DIRS= \
 	/boot/acpi \
 	/boot/acpi/tables \
 	/boot/grub \
 	/boot/grub/bin \
-	/platform/i86pc
+	/platform/i86pc \
+	/usr/lib/brand/lx \
+	/usr/lib/brand/lx/amd64 \
+	/usr/lib/brand/lx/distros \
+	/usr/lib/xen \
+	/usr/lib/xen/bin
+
+sparc_DIRS= \
+	/usr/lib/ldoms
 
-sparc_ROOT.SYS=
+# EXPORT DELETE START
+XDIRS= \
+	/usr/lib/inet/wanboot
+# EXPORT DELETE END
 
-ROOT.SYS= \
+sparc_64ONLY= $(POUND_SIGN)
+64ONLY=  $($(MACH)_64ONLY)
+
+$(64ONLY) MACH32_DIRS=/usr/ucb/$(MACH32)
+
+DIRS= \
 	/boot \
 	/boot/solaris \
 	/boot/solaris/bin \
-	$($(MACH)_ROOT.SYS) \
+	$($(MACH)_DIRS) \
 	/dev \
 	/dev/dsk \
 	/dev/fd \
@@ -71,6 +80,7 @@
 	/dev/pts \
 	/dev/sad \
 	/dev/swap \
+	/dev/term \
 	/dev/vt \
 	/dev/zcons \
 	/devices \
@@ -83,10 +93,13 @@
 	/etc/crypto \
 	/etc/crypto/certs \
 	/etc/crypto/crls \
+	/etc/dbus-1 \
+	/etc/dbus-1/system.d \
 	/etc/default \
 	/etc/devices  \
 	/etc/dev  \
 	/etc/dfs  \
+	/etc/dladm \
 	/etc/fs  \
 	/etc/fs/nfs  \
 	/etc/fs/zfs \
@@ -113,12 +126,24 @@
 	/etc/init.d  \
 	/etc/dhcp	\
 	/etc/lib  \
+	/etc/mail  \
+	/etc/mail/cf  \
+	/etc/mail/cf/cf  \
+	/etc/mail/cf/domain  \
+	/etc/mail/cf/feature  \
+	/etc/mail/cf/m4  \
+	/etc/mail/cf/mailer  \
+	/etc/mail/cf/ostype  \
+	/etc/mail/cf/sh  \
+	/etc/net-snmp \
+	/etc/net-snmp/snmp \
 	/etc/opt  \
 	/etc/rc0.d  \
 	/etc/rc1.d  \
 	/etc/rc2.d  \
 	/etc/rc3.d  \
 	/etc/rcS.d  \
+	/etc/saf \
 	/etc/sasl	\
 	/etc/sfw \
 	/etc/svc \
@@ -129,98 +154,6 @@
 	/etc/zones  \
 	/export  \
 	/home  \
-	/kernel  \
-	/mnt  \
-	/opt  \
-	/platform  \
-	/proc  \
-	/root  \
-	/sbin  \
-	/system \
-	/system/contract \
-	/system/object \
-	/usr  \
-	/usr/kernel  \
-	/usr/platform  \
-	/usr/share  \
-	/var  \
-	/var/adm  \
-	/var/adm/pool \
-	/var/adm/sm.bin \
-	/var/adm/streams \
-	/var/cores \
-	/var/cron \
-	/var/db \
-	/var/db/ipf \
-	/var/krb5 \
-	/var/krb5/rcache  \
-	/var/krb5/rcache/root  \
-	/var/log \
-	/var/log/pool \
-	/var/sadm \
-	/var/sadm/pkg \
-	/var/sadm/security \
-	/var/opt \
-	/var/run \
-	/var/smb \
-	/var/svc \
-	/var/svc/log \
-	/var/svc/manifest \
-	/var/svc/manifest/milestone \
-	/var/svc/manifest/device \
-	/var/svc/manifest/system \
-	/var/svc/manifest/system/device \
-	/var/svc/manifest/system/filesystem \
-	/var/svc/manifest/system/security \
-	/var/svc/manifest/system/svc \
-	/var/svc/manifest/network \
-	/var/svc/manifest/network/dns \
-  	/var/svc/manifest/network/ipsec \
-	/var/svc/manifest/network/ldap \
-	/var/svc/manifest/network/nfs \
-	/var/svc/manifest/network/nis \
-	/var/svc/manifest/network/rpc \
-	/var/svc/manifest/network/security \
-	/var/svc/manifest/network/shares \
-	/var/svc/manifest/network/ssl \
-	/var/svc/manifest/application \
-	/var/svc/manifest/application/management \
-	/var/svc/manifest/application/security \
-	/var/svc/manifest/application/print \
-	/var/svc/manifest/platform \
-	/var/svc/manifest/platform/sun4u \
-	/var/svc/manifest/platform/sun4v \
-	/var/svc/manifest/site \
-	/var/svc/profile \
-	/var/tsol \
-	/var/tsol/doors
-
-# EXPORT DELETE START
-XROOT.BIN= \
-	/usr/lib/inet/wanboot
-# EXPORT DELETE END
-
-i386_ROOT.BIN= \
-	/usr/lib/brand/lx \
-	/usr/lib/brand/lx/amd64 \
-	/usr/lib/brand/lx/distros \
-	/usr/lib/xen \
-	/usr/lib/xen/bin
-
-sparc_ROOT.BIN= \
-	/usr/lib/ldoms
-
-sparc_64ONLY= $(POUND_SIGN)
-64ONLY=  $($(MACH)_64ONLY)
-
-$(64ONLY) MACH32_ROOT.UCB=/usr/ucb/$(MACH32)
-ROOT.BIN= \
-	$($(MACH)_ROOT.BIN) \
-	/etc/dbus-1 \
-	/etc/dbus-1/system.d \
-	/etc/saf \
-	/etc/net-snmp \
-	/etc/net-snmp/snmp \
 	/lib \
 	/lib/crypto \
 	/lib/inet \
@@ -232,6 +165,18 @@
 	/lib/svc/monitor \
 	/lib/svc/seed \
 	/lib/svc/share \
+	/kernel  \
+	/mnt  \
+	/opt  \
+	/platform  \
+	/proc  \
+	/root  \
+	/sbin  \
+	/system \
+	/system/contract \
+	/system/object \
+	/tmp \
+	/usr  \
 	/usr/4lib \
 	/usr/ast \
 	/usr/ast/bin \
@@ -245,7 +190,6 @@
 	/usr/games \
 	/usr/include \
 	/usr/include/ast \
-	/usr/include/sys/crypto \
 	/usr/include/fm \
 	/usr/include/gssapi \
 	/usr/include/hal \
@@ -255,7 +199,9 @@
 	/usr/include/sasl \
 	/usr/include/scsi \
 	/usr/include/security \
+	/usr/include/sys/crypto \
 	/usr/include/tsol \
+	/usr/kernel  \
 	/usr/kvm \
 	/usr/lib \
 	/usr/lib/abi \
@@ -272,17 +218,22 @@
 	/usr/lib/crypto \
 	/usr/lib/drv \
 	/usr/lib/elfedit \
+	/usr/lib/fm \
 	/usr/lib/font \
+	/usr/lib/fs \
+	/usr/lib/fs/nfs \
+	/usr/lib/fs/proc \
+	/usr/lib/fs/smb \
+	/usr/lib/fs/zfs \
+	/usr/lib/gss \
+	/usr/lib/hal \
 	/usr/lib/inet \
 	/usr/lib/inet/dhcp \
 	/usr/lib/inet/dhcp/nsu \
 	/usr/lib/inet/dhcp/svc \
 	/usr/lib/inet/dhcp/svcadm \
 	/usr/lib/inet/$(MACH32) \
-	$(XROOT.BIN) \
-	/usr/lib/fm    \
-	/usr/lib/gss    \
-	/usr/lib/hal \
+	$(XDIRS) \
 	/usr/lib/krb5 \
 	/usr/lib/link_audit \
 	/usr/lib/libp \
@@ -290,12 +241,20 @@
 	/usr/lib/localedef/extensions \
 	/usr/lib/localedef/src \
 	/usr/lib/lwp \
+	/usr/lib/mdb \
+	/usr/lib/mdb/kvm \
+	/usr/lib/mdb/proc \
+	/usr/lib/mdb/disasm \
+	/usr/lib/nfs \
+	/usr/net \
+	/usr/net/servers \
 	/usr/lib/pool \
 	/usr/lib/python2.4 \
 	/usr/lib/python2.4/vendor-packages \
 	/usr/lib/python2.4/vendor-packages/zfs \
 	/usr/lib/rcap \
 	/usr/lib/rcap/$(MACH32) \
+	/usr/lib/sa  \
 	/usr/lib/saf \
 	/usr/lib/sasl \
 	/usr/lib/scsi \
@@ -307,6 +266,7 @@
 	/usr/lib/zones \
 	/usr/old \
 	/usr/openwin \
+	/usr/platform  \
 	/usr/proc \
 	/usr/proc/bin \
 	/usr/sadm \
@@ -315,18 +275,29 @@
 	/usr/sadm/install/scripts \
 	/usr/sadm/sysadm \
 	/usr/sadm/sysadm/add-ons \
-	/usr/snadm \
-	/usr/snadm/lib \
 	/usr/sbin \
 	/usr/sbin/$(MACH32) \
+	/usr/share  \
+	/usr/share/applications \
 	/usr/share/audio \
 	/usr/share/audio/samples \
 	/usr/share/audio/samples/au \
+	/usr/share/gnome \
 	/usr/share/gnome/autostart \
+	/usr/share/hwdata \
+	/usr/share/lib \
+	/usr/share/lib/ccs \
+	/usr/share/lib/tmac  \
+	/usr/share/lib/ldif  \
+	/usr/share/lib/xml \
+	/usr/share/lib/xml/dtd \
 	/usr/share/man \
 	/usr/share/man/man1m \
+	/usr/share/src \
+	/usr/snadm \
+	/usr/snadm/lib \
 	/usr/ucb \
-	$(MACH32_ROOT.UCB) \
+	$(MACH32_DIRS) \
 	/usr/ucblib \
 	/usr/xpg4 \
 	/usr/xpg4/bin \
@@ -334,20 +305,86 @@
 	/usr/xpg4/lib \
 	/usr/xpg6 \
 	/usr/xpg6/bin \
+	/var  \
+	/var/adm  \
+	/var/adm/exacct \
+	/var/adm/log \
+	/var/adm/pool \
+	/var/adm/sa \
+	/var/adm/sm.bin \
+	/var/adm/streams \
+	/var/cores \
+	/var/cron \
+	/var/db \
+	/var/db/ipf \
 	/var/games \
+	/var/idmap \
+	/var/krb5 \
+	/var/krb5/rcache  \
+	/var/krb5/rcache/root  \
 	/var/ld \
+	/var/log \
+	/var/log/pool \
+	/var/mail \
 	/var/news \
+	/var/opt \
 	/var/preserve \
+	/var/run \
 	/var/saf \
+	/var/sadm \
 	/var/sadm/install \
 	/var/sadm/install/admin \
 	/var/sadm/install/logs \
+	/var/sadm/pkg \
+	/var/sadm/security \
+	/var/smb \
 	/var/spool \
-	/var/spool/pkg
+	/var/spool/cron \
+	/var/spool/cron/atjobs \
+	/var/spool/cron/crontabs \
+	/var/spool/lp \
+	/var/spool/pkg \
+	/var/spool/uucp \
+	/var/spool/uucppublic \
+	/var/svc \
+	/var/svc/log \
+	/var/svc/manifest \
+	/var/svc/manifest/milestone \
+	/var/svc/manifest/device \
+	/var/svc/manifest/system \
+	/var/svc/manifest/system/device \
+	/var/svc/manifest/system/filesystem \
+	/var/svc/manifest/system/security \
+	/var/svc/manifest/system/svc \
+	/var/svc/manifest/network \
+	/var/svc/manifest/network/dns \
+	/var/svc/manifest/network/ipsec \
+	/var/svc/manifest/network/ldap \
+	/var/svc/manifest/network/nfs \
+	/var/svc/manifest/network/nis \
+	/var/svc/manifest/network/rpc \
+	/var/svc/manifest/network/security \
+	/var/svc/manifest/network/shares \
+	/var/svc/manifest/network/ssl \
+	/var/svc/manifest/application \
+	/var/svc/manifest/application/management \
+	/var/svc/manifest/application/security \
+	/var/svc/manifest/application/print \
+	/var/svc/manifest/platform \
+	/var/svc/manifest/platform/sun4u \
+	/var/svc/manifest/platform/sun4v \
+	/var/svc/manifest/site \
+	/var/svc/profile \
+	/var/uucp \
+	/var/tmp \
+	/var/tsol \
+	/var/tsol/doors
 
-sparcv9_ROOT.BIN64= \
+sparcv9_DIRS64= \
+	/platform/sun4u \
 	/platform/sun4u/lib \
 	/platform/sun4u/lib/$(MACH64) \
+	/usr/platform/sun4u \
 	/usr/platform/sun4u/sbin \
 	/usr/platform/sun4u/lib \
 	/platform/sun4v/lib \
@@ -357,11 +394,11 @@
 	/usr/platform/sun4u-us3/lib \
 	/usr/platform/sun4u-opl/lib
 
-amd64_ROOT.BIN64= \
+amd64_DIRS64= \
 	/platform/i86pc/amd64
 
-ROOT.BIN64= \
-	$($(MACH64)_ROOT.BIN64) \
+DIRS64= \
+	$($(MACH64)_DIRS64) \
 	/lib/$(MACH64) \
 	/lib/crypto/$(MACH64) \
 	/lib/secure/$(MACH64) \
@@ -373,11 +410,15 @@
 	/usr/lib/brand/sn1/$(MACH64) \
 	/usr/lib/elfedit/$(MACH64) \
 	/usr/lib/fm/$(MACH64) \
+	/usr/lib/fs/nfs/$(MACH64) \
+	/usr/lib/fs/smb/$(MACH64) \
 	/usr/lib/inet/$(MACH64) \
 	/usr/lib/krb5/$(MACH64) \
 	/usr/lib/libp/$(MACH64) \
 	/usr/lib/link_audit/$(MACH64) \
 	/usr/lib/lwp/$(MACH64) \
+	/usr/lib/mdb/kvm/$(MACH64) \
+	/usr/lib/mdb/proc/$(MACH64) \
 	/usr/lib/rcap/$(MACH64) \
 	/usr/lib/sasl/$(MACH64) \
 	/usr/lib/scsi/$(MACH64) \
@@ -391,120 +432,50 @@
 	/usr/xpg4/lib/$(MACH64) \
 	/var/ld/$(MACH64)
 
-ROOT.OTHER= \
-	/usr/share/applications \
-	/usr/share/gnome
-
-ROOT.SYS2= \
-	/usr/lib/fs \
-	/usr/lib/fs/nfs \
-	/usr/lib/fs/proc \
-	/usr/lib/fs/smb \
-	/usr/lib/fs/zfs \
-	/usr/lib/mdb \
-	/usr/lib/mdb/kvm \
-	/usr/lib/mdb/proc \
-	/usr/lib/mdb/disasm \
-	/usr/lib/nfs \
-	/usr/net \
-	/usr/net/servers \
-	/usr/share/hwdata \
-	/usr/share/lib \
-	/usr/share/lib/xml \
-	/usr/share/lib/xml/dtd \
-	/usr/share/src \
-	/var/spool/cron \
-	/var/spool/cron/atjobs \
-	/var/spool/cron/crontabs
-
-sparcv9_ROOT.SYS64.2 = \
-	/platform/sun4u \
-	/usr/platform/sun4u
-
-amd64_ROOT.SYS64.2 =
-
-ROOT.SYS64.2 = \
-	$($(MACH64)_ROOT.SYS64.2) \
-	/usr/lib/mdb/kvm/$(MACH64) \
-	/usr/lib/mdb/proc/$(MACH64) \
-	/usr/lib/fs/nfs/$(MACH64) \
-	/usr/lib/fs/smb/$(MACH64)
-
-UUCP.UUCP= \
-	/var/spool/uucp \
-	/var/spool/uucppublic \
-	/var/uucp
-
-OTHERS=  \
-	/dev/term  \
-	/tmp  \
-	/etc/dladm \
-	/etc/mail  \
-	/etc/mail/cf  \
-	/etc/mail/cf/cf  \
-	/etc/mail/cf/domain  \
-	/etc/mail/cf/feature  \
-	/etc/mail/cf/m4  \
-	/etc/mail/cf/mailer  \
-	/etc/mail/cf/ostype  \
-	/etc/mail/cf/sh  \
-	/usr/lib/sa  \
-	/usr/share/lib/ccs \
-	/usr/share/lib/tmac  \
-	/usr/share/lib/ldif  \
-	/var/adm/exacct \
-	/var/adm/log \
-	/var/adm/sa \
-	/var/idmap \
-	/var/mail \
-	/var/spool/lp \
-	/var/tmp
-
 # /var/mail/:saved is built directly by the rootdirs target in
 # /usr/src/Makefile because of the colon in its name.
 
 # macros for symbolic links
-
-SYM.ROOT.SYS= \
+SYM.DIRS= \
+	/bin \
 	/dev/stdin \
 	/dev/stdout \
 	/dev/stderr \
-	/usr/adm \
-	/usr/lib/cron \
-	/usr/man \
-	/usr/pub
-
-SYM.ROOT.BIN= \
-	/bin \
+	/etc/lib/ld.so.1 \
+	/etc/lib/libdl.so.1 \
+	/etc/lib/nss_files.so.1 \
+	/etc/log \
 	/lib/32 \
 	/lib/crypto/32 \
 	/lib/secure/32 \
-	/etc/lib/ld.so.1 \
-	/etc/lib/libdl.so.1 \
-	/etc/lib/nss_files.so.1 \
+	/usr/adm \
 	/usr/spool \
 	/usr/lib/tmac \
 	/usr/ccs/lib/link_audit \
 	/usr/news \
 	/usr/preserve \
-	/usr/src \
 	/usr/lib/32 \
+	/usr/lib/cron \
 	/usr/lib/elfedit/32 \
 	/usr/lib/libp/32 \
 	/usr/lib/lwp/32 \
 	/usr/lib/link_audit/32 \
 	/usr/lib/secure/32 \
-	/var/ld/32 \
-	/usr/ucblib/32
+	/usr/mail \
+	/usr/man \
+	/usr/pub \
+	/usr/src \
+	/usr/tmp \
+	/usr/ucblib/32 \
+	/var/ld/32
 
-
-i386_SYM.ROOT.BIN64= \
+i386_SYM.DIRS64= \
 	/usr/lib/brand/lx/64
 
-sparc_SYM.ROOT.BIN64=
+sparc_SYM.DIRS64=
 
-SYM.ROOT.BIN64= \
-	$($(MACH)_SYM.ROOT.BIN64) \
+SYM.DIRS64= \
+	$($(MACH)_SYM.DIRS64) \
 	/lib/64 \
 	/lib/crypto/64 \
 	/lib/secure/64 \
@@ -520,11 +491,6 @@
 	/var/ld/64 \
 	/usr/ucblib/64
 
-SYM.OTHERS=  \
-	/etc/log  \
-	/usr/mail  \
-	/usr/tmp
-
 # prepend the ROOT prefix
 
 ROOTDIRS=	$(TARGETDIRS:%=$(ROOT)%)
@@ -536,62 +502,12 @@
 # default values assigned.  If a directory is mentioned above and not
 # mentioned below, it has default values for attributes.
 #
-# The default values for OWNER, GROUP, and DIRMODE are specified in
-# /usr/src/Makefile.master.
+# The default value for DIRMODE is specified in usr/src/Makefile.master.
 #
 
-$(ROOT)/tmp \
-$(ROOT)/usr/tmp \
-$(ROOT)/var/tmp \
-$(ROOT)/var/adm/sa \
-$(ROOT.SYS:%=$(ROOT)%) \
-$(ROOT.SYS2:%=$(ROOT)%) \
-$(ROOT.SYS64.2:%=$(ROOT)%) \
-$(SYM.ROOT.SYS:%=$(ROOT)%):=	GROUP= sys
-
-$(ROOT.OTHER:%=$(ROOT)%):=	GROUP= other
-
 $(ROOT)/var/adm \
 $(ROOT)/var/adm/sa :=		DIRMODE= 775
 
-$(ROOT)/var/idmap :=		OWNER= daemon
-$(ROOT)/var/idmap :=		GROUP= daemon
-
-$(ROOT)/root:=			GROUP= root
-
-$(ROOT)/dev/term:=		GROUP= root
-
-$(UUCP.UUCP:%=$(ROOT)%):=	OWNER= uucp
-$(UUCP.UUCP:%=$(ROOT)%):=	GROUP= uucp
-
-$(ROOT)/etc/log \
-$(ROOT)/usr/lib/sa \
-$(ROOT)/var/adm/exacct \
-$(ROOT)/var/adm/log \
-$(ROOT)/var/adm/sa:=		OWNER= adm
-
-$(ROOT)/etc/log \
-$(ROOT)/var/adm/exacct \
-$(ROOT)/var/adm/log:=	GROUP= adm
-
-$(ROOT)/etc/mail \
-$(ROOT)/etc/mail/cf \
-$(ROOT)/etc/mail/cf/cf \
-$(ROOT)/etc/mail/cf/domain \
-$(ROOT)/etc/mail/cf/feature \
-$(ROOT)/etc/mail/cf/m4 \
-$(ROOT)/etc/mail/cf/mailer \
-$(ROOT)/etc/mail/cf/ostype \
-$(ROOT)/etc/mail/cf/sh \
-$(ROOT)/usr/mail \
-$(ROOT)/var/mail  :=	GROUP= mail
-
-
-$(ROOT)/etc/dladm :=		OWNER= dladm
-$(ROOT)/etc/dladm :=		GROUP= sys
-
-$(ROOT)/var/spool/lp:=		OWNER= lp
-$(ROOT)/var/spool/lp:=		GROUP= lp
 $(ROOT)/var/spool/lp:=		DIRMODE= 775
 
 # file mode
@@ -624,12 +540,8 @@
 $(ROOT)/dev/fd \
 $(ROOT)/home:=		DIRMODE= 555
 
-$(ROOT)/dev/fd \
-$(ROOT)/home:=		GROUP= root
-
 $(ROOT)/var/mail:=	DIRMODE=1777
 
-$(ROOT)/proc:=		GROUP= root
 $(ROOT)/proc:=		DIRMODE= 555
 
 $(ROOT)/system/contract:=	DIRMODE= 555
@@ -686,10 +598,11 @@
 $(BUILD64) $(ROOT)/var/ld/64:=		LINKDEST=$(MACH64)
 $(BUILD64) $(ROOT)/usr/ucblib/64:=	LINKDEST=$(MACH64)
 
+#
 # Installing a directory symlink calls for overriding INS.dir to install
 # a symlink.
 #
-$(SYMLINKS:%=$(ROOT)%):= \
+$(DIRLINKS:%=$(ROOT)%):= \
    INS.dir= -$(RM) -r $@; $(SYMLINK) $(LINKDEST) $@
 
 # Special symlinks to populate usr/ccs/lib, whose objects
@@ -856,13 +769,6 @@
 	/usr/lib/lwp/$(MACH64)/libthread.so.1 \
 	/usr/lib/lwp/$(MACH64)/libthread_db.so.1
 
-
-$(SYM.USRCCSLIB:%=$(ROOT)%):= \
-    INS.dir= -$(RM) $@; $(SYMLINK) $(REALPATH) $@
-
-$(SYM.USRCCSLIB64:%=$(ROOT)%):= \
-    INS.dir= -$(RM) $@; $(SYMLINK) $(REALPATH) $@
-
 # Special symlinks to direct libraries that have been moved
 # from /usr/lib to /lib in order to live in the root filesystem.
 $(ROOT)/lib/libposix4.so.1:=		REALPATH=librt.so.1
@@ -1892,9 +1798,9 @@
 	/usr/lib/$(MACH64)/nss_nisplus.so.1 \
 	/usr/lib/$(MACH64)/nss_user.so.1
 
-$(SYM.USRLIB:%=$(ROOT)%):= \
+#
+# usr/src/Makefile uses INS.dir for any member of ROOTDIRS, the fact
+# these are symlinks to files has no bearing on this.
+#
+$(FILELINKS:%=$(ROOT)%):= \
     INS.dir= -$(RM) $@; $(SYMLINK) $(REALPATH) $@
-
-$(SYM.USRLIB64:%=$(ROOT)%):= \
-    INS.dir= -$(RM) $@; $(SYMLINK) $(REALPATH) $@
-
--- a/usr/src/cmd/cron/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/cmd/cron/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -141,12 +141,7 @@
 
 LINTFLAGS += -u
 
-$(ROOTSVCSYSTEM)/cron.xml := OWNER = root
-$(ROOTSVCSYSTEM)/cron.xml := GROUP = sys
 $(ROOTSVCSYSTEM)/cron.xml := FILEMODE = 0444
-
-$(ROOTLIBSVCMETHOD)/svc-cron := OWNER = root
-$(ROOTLIBSVCMETHOD)/svc-cron := GROUP = bin
 $(ROOTLIBSVCMETHOD)/svc-cron := FILEMODE = 0555
 
 
--- a/usr/src/cmd/fcoesvc/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/cmd/fcoesvc/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -47,8 +47,6 @@
 
 ROOTMANIFESTDIR	= $(ROOTSVCSYSTEM)
 $(ROOTSVCSYSTEM)/fcoe_target.xml	:= FILEMODE = 0444
-$(ROOTSVCSYSTEM)/fcoe_initiator.xml	:= OWNER = root
-$(ROOTSVCSYSTEM)/fcoe_initiator.xml	:= GROUP = bin
 $(ROOTSVCSYSTEM)/fcoe_initiator.xml	:= FILEMODE = 0444
 
 .KEEP_STATE:
--- a/usr/src/cmd/mdb/Makefile.kmdb	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/cmd/mdb/Makefile.kmdb	Wed Oct 07 16:55:54 2009 -0700
@@ -130,8 +130,6 @@
 
 ffs.o ffs.ln := CPPFLAGS += -Dffs=mdb_ffs
 
-INS.dir.root.sys=	$(INS) -s -d -m $(DIRMODE) $@
-
 $(ROOTMISC) $(ROOTMISC64) := FILEMODE = 0755
 
 include ../../../Makefile.kmdb.targ
--- a/usr/src/cmd/mdb/intel/amd64/kmdb/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/cmd/mdb/intel/amd64/kmdb/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -19,10 +19,9 @@
 # CDDL HEADER END
 #
 #
-# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-#ident	"%Z%%M%	%I%	%E% SMI"
 
 #
 # Build and link kmdb
@@ -96,7 +95,7 @@
 #
 
 $(ROOT_MISC_DIR) $(ROOT_MISC_DIR_64):
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_MISC_DIR)/%: 	% $(ROOT_MISC_DIR)
 	$(INS.file)
--- a/usr/src/cmd/mdb/intel/ia32/kmdb/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/cmd/mdb/intel/ia32/kmdb/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -19,10 +19,9 @@
 # CDDL HEADER END
 #
 #
-# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-#ident	"%Z%%M%	%I%	%E% SMI"
 
 #
 # Build and link kmdb
@@ -87,7 +86,7 @@
 #
 
 $(ROOT_MISC_DIR) $(ROOT_MISC_DIR_64):
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_MISC_DIR)/%: 	% $(ROOT_MISC_DIR)
 	$(INS.file)
--- a/usr/src/cmd/mdb/sun4u/v9/kmdb/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/cmd/mdb/sun4u/v9/kmdb/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -19,11 +19,10 @@
 # CDDL HEADER END
 #
 #
-# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-#ident	"%Z%%M%	%I%	%E% SMI"
-#
+
 
 all: $(PROG)
 
@@ -191,7 +190,7 @@
 #
 
 $(ROOT_MISC_DIR) $(ROOT_MISC_DIR_64):
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_MISC_DIR)/%: 	% $(ROOT_MISC_DIR)
 	$(INS.file)
--- a/usr/src/cmd/mdb/sun4v/v9/kmdb/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/cmd/mdb/sun4v/v9/kmdb/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -20,11 +20,10 @@
 #
 
 #
-# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-#ident	"%Z%%M%	%I%	%E% SMI"
-#
+
 
 all: $(PROG)
 
@@ -204,7 +203,7 @@
 #
 
 $(ROOT_MISC_DIR) $(ROOT_MISC_DIR_64):
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_MISC_DIR)/%: 	% $(ROOT_MISC_DIR)
 	$(INS.file)
--- a/usr/src/cmd/oplhpd/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/cmd/oplhpd/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -67,16 +67,16 @@
 lint:	lint_SRCS
 
 $(USR_PLAT_DIR):
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_PSM_DIR):	$(USR_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_PSM_LIB_DIR):	$(USR_PSM_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_PSM_LIB64_DIR):	$(USR_PSM_LIB_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_PSM_LIB64_DIR)/%: % $(USR_PSM_LIB64_DIR)
 	$(INS.file)
--- a/usr/src/cmd/scadm/Makefile.com	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/cmd/scadm/Makefile.com	Wed Oct 07 16:55:54 2009 -0700
@@ -85,7 +85,7 @@
 .PARALLEL: $(OBJS)
 
 $(LINKED_SBIN_DIRS): $(LINKED_DIRS)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 %.o:	common/%.c
 	$(COMPILE.c) -o $@ $<
--- a/usr/src/cmd/sf880drd/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/cmd/sf880drd/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -56,13 +56,13 @@
 lint:	lint_PROG
 
 $(USR_PLAT_DIR):
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_PSM_DIR):		$(USR_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_PSM_LIB_DIR):	$(USR_PSM_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_PSM_LIB_DIR)/%:		% $(USR_PSM_LIB_DIR)
 	$(INS.file)
--- a/usr/src/lib/cfgadm_plugins/Makefile.com	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/lib/cfgadm_plugins/Makefile.com	Wed Oct 07 16:55:54 2009 -0700
@@ -72,10 +72,10 @@
 INS.slink6=	$(RM) -r $@; $(SYMLINK) ../../$(PLATFORM)/lib/$(MODULE) $@
 
 $(LINKED_DIRS):		$(USR_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(LINKED_LIB_DIRS):	$(USR_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(LINKED_CFG_DIRS):	$(USR_PLAT_DIR)
 	-$(INS.slink6)
--- a/usr/src/lib/cfgadm_plugins/ac/Makefile.com	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/lib/cfgadm_plugins/ac/Makefile.com	Wed Oct 07 16:55:54 2009 -0700
@@ -35,9 +35,6 @@
 # include library definitions
 include $(SRC)/lib/Makefile.lib
 
-INS.dir.root.sys=	$(INS) -s -d -m $(DIRMODE) $@
-INS.dir.root.bin=	$(INS) -s -d -m $(DIRMODE) $@
-
 USR_PLAT_DIR		= $(ROOT)/usr/platform
 USR_PSM_DIR		= $(USR_PLAT_DIR)/sun4u
 USR_PSM_LIB_DIR		= $(USR_PSM_DIR)/lib
@@ -64,16 +61,16 @@
 
 # Create target directories
 $(USR_PSM_DIR):		$(LINKED_DIRS)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_PSM_LIB_DIR):	$(USR_PSM_DIR) $(LINKED_LIB_DIRS)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(USR_PSM_LIB_CFG_DIR):	$(USR_PSM_LIB_DIR) $(LINKED_CFG_DIRS)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(USR_PSM_LIB_CFG_DIR_64):	$(USR_PSM_LIB_CFG_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(USR_PSM_LIB_CFG_DIR)/%: % $(USR_PSM_LIB_CFG_DIR)
 	-$(INS.file)
--- a/usr/src/lib/cfgadm_plugins/pci/Makefile.com	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/lib/cfgadm_plugins/pci/Makefile.com	Wed Oct 07 16:55:54 2009 -0700
@@ -31,8 +31,6 @@
 include ../../../Makefile.lib
 
 SRCDIR =	../common
-INS.dir.root.sys=       $(INS) -s -d -m $(DIRMODE) $@
-INS.dir.bin.bin=        $(INS) -s -d -m $(DIRMODE) $@
 
 USR_LIB_DIR		= $(ROOT)/usr/lib
 USR_LIB_DIR_CFGADM	= $(USR_LIB_DIR)/cfgadm
@@ -57,13 +55,13 @@
 
 # Create target directories
 $(USR_LIB_DIR):
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_LIB_DIR_CFGADM): $(USR_LIB_DIR)
-	-$(INS.dir.bin.bin)
+	-$(INS.dir)
 
 $(USR_LIB_DIR_CFGADM_64): $(USR_LIB_DIR_CFGADM)
-	-$(INS.dir.bin.bin)
+	-$(INS.dir)
 
 $(USR_LIB_DIR_CFGADM)/%: % $(USR_LIB_DIR_CFGADM)
 	-$(INS.file)
--- a/usr/src/lib/cfgadm_plugins/sbd/Makefile.com	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/lib/cfgadm_plugins/sbd/Makefile.com	Wed Oct 07 16:55:54 2009 -0700
@@ -32,9 +32,6 @@
 # include library definitions
 include ../../../Makefile.lib
 
-INS.dir.root.sys=	$(INS) -s -d -m $(DIRMODE) $@
-INS.dir.root.bin=	$(INS) -s -d -m $(DIRMODE) $@
-
 USR_PLAT_DIR		= $(ROOT)/usr/platform
 USR_PSM_DIR		= $(USR_PLAT_DIR)/sun4u
 USR_PSM_LIB_DIR		= $(USR_PSM_DIR)/lib
@@ -67,16 +64,16 @@
 
 # Create target directories
 $(USR_PSM_DIR):
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_PSM_LIB_DIR):	$(USR_PSM_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(USR_PSM_LIB_CFG_DIR):	$(USR_PSM_LIB_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(USR_PSM_LIB_CFG_DIR_64):	$(USR_PSM_LIB_CFG_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(USR_PSM_LIB_CFG_DIR)/%: % $(USR_PSM_LIB_CFG_DIR)
 	-$(INS.file)
--- a/usr/src/lib/cfgadm_plugins/sysctrl/Makefile.com	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/lib/cfgadm_plugins/sysctrl/Makefile.com	Wed Oct 07 16:55:54 2009 -0700
@@ -34,9 +34,6 @@
 # include library definitions
 include $(SRC)/lib/Makefile.lib
 
-INS.dir.root.sys=	$(INS) -s -d -m $(DIRMODE) $@
-INS.dir.root.bin=	$(INS) -s -d -m $(DIRMODE) $@
-
 USR_PLAT_DIR		= $(ROOT)/usr/platform
 USR_PSM_DIR		= $(USR_PLAT_DIR)/sun4u
 USR_PSM_LIB_DIR		= $(USR_PSM_DIR)/lib
@@ -63,16 +60,16 @@
 
 # Create target directories
 $(USR_PSM_DIR):		$(LINKED_DIRS)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_PSM_LIB_DIR):	$(USR_PSM_DIR)	$(LINKED_LIB_DIRS)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(USR_PSM_LIB_CFG_DIR):	$(USR_PSM_LIB_DIR)	$(LINKED_CFG_DIRS)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(USR_PSM_LIB_CFG_DIR_64):	$(USR_PSM_LIB_CFG_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(USR_PSM_LIB_CFG_DIR)/%: % $(USR_PSM_LIB_CFG_DIR)
 	-$(INS.file)
--- a/usr/src/lib/hbaapi/Makefile.com	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/lib/hbaapi/Makefile.com	Wed Oct 07 16:55:54 2009 -0700
@@ -33,7 +33,6 @@
 include ../../Makefile.lib
 
 HETCFILES=	$(CONFIGFILE:%=$(ROOTETC)/%)
-HETCFILES:=	FILEMODE= 644
 
 LIBS =		$(DYNLIB) $(LINTLIB)
 SRCDIR=		../common
--- a/usr/src/lib/libc_psr/sun4u-opl/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/lib/libc_psr/sun4u-opl/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -54,13 +54,13 @@
 clean clobber: lib32 $(BUILD64) lib64
 
 $(LIBC_PSR_DIRS):
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(LIBC_PSR_LINKS): $(LIBC_PSR_DIRS)
 	-$(INS.slink6)
 
 $(LIBC_PSR64_DIRS):
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(LIBC_PSR64_LINKS): $(LIBC_PSR64_DIRS)
 	-$(INS.slink7)
--- a/usr/src/lib/libc_psr/sun4u-opl/sparc/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/lib/libc_psr/sun4u-opl/sparc/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -19,11 +19,10 @@
 # CDDL HEADER END
 #
 #
-# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-# ident	"%Z%%M%	%I%	%E% SMI"
-#
+
 
 #
 # Platform specific Makefile for libc_psr.
@@ -53,7 +52,7 @@
 LIBC_PSR_LIB    = $(LIBC_PSR_DIR)/$(MODULE)
 
 $(LIBC_PSR_DIRS):
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 all:		$(LIBS)
 
--- a/usr/src/lib/libc_psr/sun4u-opl/sparcv9/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/lib/libc_psr/sun4u-opl/sparcv9/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -19,11 +19,10 @@
 # CDDL HEADER END
 #
 #
-# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-# ident	"%Z%%M%	%I%	%E% SMI"
-#
+
 
 #
 # Platform specific Makefile for libc_psr.
@@ -56,7 +55,7 @@
 LIBC_PSR64_LIB  = $(LIBC_PSR64_DIR)/$(MODULE)
 
 $(LIBC_PSR64_DIRS):
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 all:		$(LIBS)
 
--- a/usr/src/lib/libc_psr/sun4u-us3/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/lib/libc_psr/sun4u-us3/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -58,8 +58,6 @@
 LINKED_PLATFORMS	+= SUNW,Sun-Fire-15000
 LINKED_PLATFORMS	+= SUNW,Sun-Fire-880
 LINKED_PLATFORMS	+= SUNW,Sun-Fire-480R
-LINKED_PLATFORMS	+= SUNW,Sun-Fire-V890
-LINKED_PLATFORMS	+= SUNW,Sun-Fire-V490
 LINKED_PLATFORMS	+= SUNW,Netra-T12
 LINKED_PLATFORMS	+= SUNW,Netra-T4
 LINKED_PLATFORMS	+= SUNW,Netra-CP3010
@@ -67,25 +65,25 @@
 LINKED_PLATFORMS	+= SUNW,Sun-Fire-V445
 
 $(ROOT_PSM_LIB_DIR):
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(ROOT_PSM_LIB_DIR)/$(MODULE):	$(ROOT_PSM_LIB_DIR) $(MODULE)
 	$(RM) -r $@; $(INS) -s -f $(@D) $(MODULE)
 
 $(ROOT_PSM_LIB64_DIR):
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(ROOT_PSM_LIB64_DIR)/$(MODULE):	$(ROOT_PSM_LIB64_DIR) $(MODULE)
 	$(RM) -r $@; $(INS) -s -f $(@D) $(MODULE)
 
 $(LIBC_PSR_DIRS):
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(LIBC_PSR_LINKS): $(LIBC_PSR_DIRS)
 	-$(INS.slink6)
 
 $(LIBC_PSR64_DIRS):
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(LIBC_PSR64_LINKS): $(LIBC_PSR64_DIRS)
 	-$(INS.slink7)
--- a/usr/src/lib/libc_psr/sun4u/sparc/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/lib/libc_psr/sun4u/sparc/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -49,7 +49,7 @@
 INS.slink6	= $(RM) -r $@; $(SYMLINK) ../../$(PLATFORM)/lib/$(MODULE) $@
 
 $(LIBC_PSR_DIRS):
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(LIBC_PSR_LINKS): $(LIBC_PSR_DIRS)
 	-$(INS.slink6)
--- a/usr/src/lib/libc_psr/sun4u/sparcv9/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/lib/libc_psr/sun4u/sparcv9/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -51,7 +51,7 @@
 INS.slink6	= $(RM) -r $@; $(SYMLINK) ../../../$(PLATFORM)/lib/$(MACH64)/$(MODULE) $@
 
 $(LIBC_PSR64_DIRS):
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(LIBC_PSR64_LINKS): $(LIBC_PSR64_DIRS)
 	-$(INS.slink6)
--- a/usr/src/lib/libc_psr/sun4u_hwcap1/sparc/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/lib/libc_psr/sun4u_hwcap1/sparc/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -19,11 +19,9 @@
 # CDDL HEADER END
 #
 #
-# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-# ident	"%Z%%M%	%I%	%E% SMI"
-#
 
 #
 # Platform specific Makefile for libc_psr_hwcap1.
@@ -53,7 +51,7 @@
 INS.libc	= $(RM) -r $@; $(INS) -s -f $(@D) $(MODULE)
 
 $(LIBC_PSR_DIR):
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(LIBC_PSR_LIB): $(LIBC_PSR_DIR) $(MODULE)
 	-$(INS.libc)
--- a/usr/src/lib/libc_psr/sun4u_hwcap1/sparcv9/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/lib/libc_psr/sun4u_hwcap1/sparcv9/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -19,11 +19,9 @@
 # CDDL HEADER END
 #
 #
-# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-# ident	"%Z%%M%	%I%	%E% SMI"
-#
 
 #
 # Platform specific Makefile for libc_psr_hwcap1.
@@ -56,7 +54,7 @@
 INS.libc.64	= $(RM) -r $@; $(INS) -s -f $(@D) $(MODULE)
 
 $(LIBC_PSR64_DIR):
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(LIBC_PSR64_LIB): $(LIBC_PSR64_DIR) $(MODULE)
 	-$(INS.libc.64)
--- a/usr/src/lib/libc_psr/sun4u_hwcap2/sparc/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/lib/libc_psr/sun4u_hwcap2/sparc/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -19,11 +19,9 @@
 # CDDL HEADER END
 #
 #
-# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-# ident	"%Z%%M%	%I%	%E% SMI"
-#
 
 #
 # Platform specific Makefile for libc_psr_hwcap2.
@@ -53,7 +51,7 @@
 INS.libc	= $(RM) -r $@; $(INS) -s -f $(@D) $(MODULE)
 
 $(LIBC_PSR_DIR):
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(LIBC_PSR_LIB): $(LIBC_PSR_DIR) $(MODULE)
 	-$(INS.libc)
--- a/usr/src/lib/libc_psr/sun4u_hwcap2/sparcv9/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/lib/libc_psr/sun4u_hwcap2/sparcv9/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -19,11 +19,9 @@
 # CDDL HEADER END
 #
 #
-# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-# ident	"%Z%%M%	%I%	%E% SMI"
-#
 
 #
 # Platform specific Makefile for libc_psr_hwcap2.
@@ -56,7 +54,7 @@
 INS.libc.64	= $(RM) -r $@; $(INS) -f $(@D) $(MODULE)
 
 $(LIBC_PSR64_DIR):
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(LIBC_PSR64_LIB): $(LIBC_PSR64_DIR) $(MODULE)
 	-$(INS.libc.64)
--- a/usr/src/lib/libc_psr/sun4v/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/lib/libc_psr/sun4v/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -19,11 +19,9 @@
 # CDDL HEADER END
 #
 #
-# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-# ident	"%Z%%M%	%I%	%E% SMI"
-#
 
 include $(SRC)/lib/Makefile.lib
 include $(SRC)/Makefile.psm
@@ -40,13 +38,13 @@
 MODULE		= libc_psr.so.1
 
 $(ROOT_PSM_LIB_DIR):
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(ROOT_PSM_LIB_DIR)/$(MODULE):	$(ROOT_PSM_LIB_DIR) $(MODULE)
 	$(RM) -r $@; $(INS) -s -m $(FILEMODE) -f $(@D) $(MODULE)
 
 $(ROOT_PSM_LIB64_DIR):
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(ROOT_PSM_LIB64_DIR)/$(MODULE):	$(ROOT_PSM_LIB64_DIR) $(MODULE)
 	$(RM) -r $@; $(INS) -s -m $(FILEMODE) -f $(@D) $(MODULE)
--- a/usr/src/lib/libc_psr/sun4v_hwcap1/sparc/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/lib/libc_psr/sun4v_hwcap1/sparc/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -52,7 +52,7 @@
 $(LIBC_PSR_LIB) := FILEMODE= 0755
 
 $(LIBC_PSR_DIR):
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(LIBC_PSR_LIB): $(LIBC_PSR_DIR) $(MODULE)
 	-$(INS.libc)
--- a/usr/src/lib/libc_psr/sun4v_hwcap1/sparcv9/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/lib/libc_psr/sun4v_hwcap1/sparcv9/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -56,7 +56,7 @@
 $(LIBC_PSR64_LIB) := FILEMODE= 0755
 
 $(LIBC_PSR64_DIR):
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(LIBC_PSR64_LIB): $(LIBC_PSR64_DIR) $(MODULE)
 	-$(INS.libc.64)
--- a/usr/src/lib/libc_psr/sun4v_hwcap2/sparc/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/lib/libc_psr/sun4v_hwcap2/sparc/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -51,7 +51,7 @@
 $(LIBC_PSR_LIB) := FILEMODE= 0755
 
 $(LIBC_PSR_DIR):
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(LIBC_PSR_LIB): $(LIBC_PSR_DIR) $(MODULE)
 	-$(INS.libc)
--- a/usr/src/lib/libc_psr/sun4v_hwcap2/sparcv9/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/lib/libc_psr/sun4v_hwcap2/sparcv9/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -53,7 +53,7 @@
 $(LIBC_PSR64_LIB) := FILEMODE= 0755
 
 $(LIBC_PSR64_DIR):
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(LIBC_PSR64_LIB): $(LIBC_PSR64_DIR) $(MODULE)
 	-$(INS.libc.64)
--- a/usr/src/lib/libmd/Makefile.com	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/lib/libmd/Makefile.com	Wed Oct 07 16:55:54 2009 -0700
@@ -105,13 +105,13 @@
 INS.slink64 = $(RM) -r $@; $(SYMLINK) ../../../$(PLATFORM)/lib/$(MACH64)/$(MODULE) $@
 
 $(LIBMD_PSR_DIRS):
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(LIBMD_PSR_LINKS): $(LIBMD_PSR_DIRS)
 	-$(INS.slink6)
 
 $(LIBMD_PSR64_DIRS):
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(LIBMD_PSR64_LINKS): $(LIBMD_PSR64_DIRS)
 	-$(INS.slink64)
--- a/usr/src/lib/libmd/sun4u/Makefile.links	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/lib/libmd/sun4u/Makefile.links	Wed Oct 07 16:55:54 2009 -0700
@@ -18,10 +18,7 @@
 #
 # CDDL HEADER END
 #
-#
-# ident	"%Z%%M%	%I%	%E% SMI"
-#
-# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
 # lib/libmd/Makefile.sun4u.links
@@ -57,8 +54,6 @@
 LINKED_PLATFORMS	+= SUNW,Sun-Fire-15000
 LINKED_PLATFORMS	+= SUNW,Sun-Fire-880
 LINKED_PLATFORMS	+= SUNW,Sun-Fire-480R
-LINKED_PLATFORMS	+= SUNW,Sun-Fire-V890
-LINKED_PLATFORMS	+= SUNW,Sun-Fire-V490
 LINKED_PLATFORMS	+= SUNW,Serverblade1
 LINKED_PLATFORMS	+= SUNW,Netra-T12
 LINKED_PLATFORMS	+= SUNW,Netra-T4
--- a/usr/src/lib/libmd/sun4v/sparc/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/lib/libmd/sun4v/sparc/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -19,11 +19,9 @@
 # CDDL HEADER END
 #
 #
-# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-# ident	"%Z%%M%	%I%	%E% SMI"
-#
 
 CLASS		= 32
 PLATFORM	= sun4v
@@ -50,6 +48,6 @@
 
 $(ROOT_PSM_LIB_DIR)/% := FILEMODE = 755
 
-install:	all $(LIBMD_PSR_LINKS) $(ROOT_PSM_LIBS)
+install:	all $(ROOT_PSM_LIB_DIR)/$(LIBS)
 
 include $(SRC)/Makefile.psm.targ
--- a/usr/src/lib/libmd/sun4v/sparcv9/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/lib/libmd/sun4v/sparcv9/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -19,7 +19,7 @@
 # CDDL HEADER END
 #
 #
-# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
 
@@ -50,6 +50,6 @@
 
 $(ROOT_PSM_LIB64_DIR)/% := FILEMODE = 755
 
-install:	all $(LIBMD_PSR64_LINKS) $(ROOT_PSM_LIB64_DIR)/$(LIBS)
+install:	all $(ROOT_PSM_LIB64_DIR)/$(LIBS)
 
 include $(SRC)/Makefile.psm.targ
--- a/usr/src/lib/libpcp/sparc/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/lib/libpcp/sparc/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -58,13 +58,13 @@
 	$(INS.file)
 
 $(USR_PSM_LIB_DIR):
-	$(INS.dir.root.sys)
+	$(INS.dir)
 
 $(LINKED_DIRS):   $(USR_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(LINKED_LIB_DIRS):  $(LINKED_DIRS)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(LINKED_LIBPCP_DIR): $(USR_PLAT_DIR)
 	-$(INS.slink7)
--- a/usr/src/lib/libprtdiag_psr/sparc/cherrystone/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/lib/libprtdiag_psr/sparc/cherrystone/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -77,10 +77,10 @@
 	cd $(UTSBASE)/sun4u/cherrystone; pwd ; $(MAKE) $(USR_PSM_LIB_DIR)
 
 $(LINKED_DIRS):	$(USR_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(LINKED_LIB_DIRS):	$(LINKED_DIRS)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(LINKED_PRTDIAG_DIRS):	$(USR_PLAT_DIR)
 	-$(INS.slink6)
--- a/usr/src/lib/libprtdiag_psr/sparc/daktari/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/lib/libprtdiag_psr/sparc/daktari/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -71,10 +71,10 @@
 	cd $(UTSBASE)/sun4u/daktari; pwd ; $(MAKE) $(USR_PSM_LIB_DIR)
 
 $(LINKED_DIRS):	$(USR_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(LINKED_LIB_DIRS):	$(LINKED_DIRS)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(LINKED_PRTDIAG_DIRS):	$(USR_PLAT_DIR)
 	-$(INS.slink6)
--- a/usr/src/lib/libprtdiag_psr/sparc/desktop/picl/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/lib/libprtdiag_psr/sparc/desktop/picl/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -91,10 +91,10 @@
 	$(INS.dir)
 
 $(LINKED_DIRS):	$(USR_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(LINKED_LIB_DIRS):	$(LINKED_DIRS)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(LINKED_PRTDIAG_DIRS):	$(LINKED_LIB_DIRS)
 	-$(INS.slink6)
--- a/usr/src/lib/libprtdiag_psr/sparc/montecarlo/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/lib/libprtdiag_psr/sparc/montecarlo/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -76,10 +76,10 @@
 	$(INS.file)
 
 $(LINKED_DIRS):	$(USR_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(LINKED_LIB_DIRS):	$(LINKED_DIRS)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(LINKED_PRTDIAG_DIRS):	$(LINKED_LIB_DIRS)
 	-$(INS.slink6)
--- a/usr/src/lib/libprtdiag_psr/sparc/montoya/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/lib/libprtdiag_psr/sparc/montoya/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -60,13 +60,13 @@
 	$(INS.file)
 
 $(USR_PSM_LIB_DIR):
-	$(INS.dir.root.sys)
+	$(INS.dir)
 
 $(LINKED_DIRS):	$(USR_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(LINKED_LIB_DIRS):	$(LINKED_DIRS)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(LINKED_PRTDIAG_DIRS):	$(USR_PLAT_DIR)
 	-$(INS.slink6)
--- a/usr/src/lib/libprtdiag_psr/sparc/monza/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/lib/libprtdiag_psr/sparc/monza/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -59,13 +59,13 @@
 	$(INS.file)
 
 $(USR_PSM_LIB_DIR):
-	$(INS.dir.root.sys)
+	$(INS.dir)
 
 $(LINKED_DIRS):	$(USR_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(LINKED_LIB_DIRS):	$(LINKED_DIRS)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(LINKED_PRTDIAG_DIRS):	$(USR_PLAT_DIR)
 	-$(INS.slink6)
--- a/usr/src/lib/libprtdiag_psr/sparc/ontario/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/lib/libprtdiag_psr/sparc/ontario/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -69,13 +69,13 @@
 	$(INS.file)
 
 $(USR_PSM_LIB_DIR):
-	$(INS.dir.root.sys)
+	$(INS.dir)
 
 $(LINKED_DIRS):	$(USR_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(LINKED_LIB_DIRS):	$(LINKED_DIRS)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(LINKED_PRTDIAG_DIRS):	$(USR_PLAT_DIR)
 	-$(INS.slink6)
--- a/usr/src/lib/libprtdiag_psr/sparc/schumacher/picl/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/lib/libprtdiag_psr/sparc/schumacher/picl/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -66,10 +66,10 @@
 	$(INS.dir)
 
 $(LINKED_DIRS):	$(USR_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(LINKED_LIB_DIRS):	$(LINKED_DIRS)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(LINKED_PRTDIAG_DIRS):	$(USR_PLAT_DIR)
 	-$(INS.slink6)
--- a/usr/src/lib/librsc/Makefile.com	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/lib/librsc/Makefile.com	Wed Oct 07 16:55:54 2009 -0700
@@ -78,10 +78,10 @@
 	$(INS.file)
 
 $(LINKED_DIRS):	$(USR_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(LINKED_LIB_DIRS):	$(LINKED_DIRS)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(LINKED_LIBRSC_DIR): $(USR_PLAT_DIR)
 	-$(INS.slink7)
--- a/usr/src/lib/libtsalarm/sparc/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/lib/libtsalarm/sparc/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -52,19 +52,19 @@
 	$(INS.file)
 
 $(USR_PSM_LIB_DIR):
-	$(INS.dir.root.sys)
+	$(INS.dir)
 
 $(USR_PSM_INCL_DIR)/%:	../common/% $(USR_PSM_INCL_DIR)
 	$(INS.file)
 
 $(USR_PSM_INCL_DIR):
-	$(INS.dir.root.sys)
+	$(INS.dir)
 
 $(LINKED_DIRS):	$(USR_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(LINKED_LIB_DIRS):	$(LINKED_DIRS)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(LINKED_LIBTSALARM_DIR):	$(USR_PLAT_DIR)
 	-$(INS.slink7)
--- a/usr/src/lib/pkcs11/libsoftcrypto/Makefile.com	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/lib/pkcs11/libsoftcrypto/Makefile.com	Wed Oct 07 16:55:54 2009 -0700
@@ -152,7 +152,7 @@
 
 $(SOFT_PSR_DIRS) \
 $(SOFT_PSR64_DIRS):
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(SOFT_PSR_LINKS): $(SOFT_PSR_DIRS)
 	-$(INS.slink6)
--- a/usr/src/lib/smhba/Makefile.com	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/lib/smhba/Makefile.com	Wed Oct 07 16:55:54 2009 -0700
@@ -33,9 +33,6 @@
 include ../../Makefile.lib
 
 HETCFILES=	$(CONFIGFILE:%=$(ROOTETC)/%)
-HETCFILES:=	FILEMODE= 644
-HETCFILES:=	OWNER= root
-HETCFILES:=	GROUP= sys
 
 LIBS =		$(DYNLIB) $(LINTLIB)
 SRCDIR=		../common
--- a/usr/src/psm/stand/bootblks/ufs/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/psm/stand/bootblks/ufs/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -2,9 +2,8 @@
 # CDDL HEADER START
 #
 # The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License").  You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
 #
 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
 # or http://www.opensolaris.org/os/licensing.
@@ -19,11 +18,10 @@
 #
 # CDDL HEADER END
 #
-#
-#ident	"%Z%%M%	%I%	%E% SMI"
+
 #
-# Copyright (c) 1989-1994,1998 by by Sun Microsystems, Inc.
-# All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
+# Use is subject to license terms.
 #
 # psm/stand/bootblks/ufs/Makefile
 #
@@ -49,7 +47,7 @@
 # install targets
 #
 $(USR_SBIN): $(USR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(USR_SBIN)/%:	% $(USR_SBIN)
 	$(INS.file)
--- a/usr/src/tools/Makefile.tools	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/tools/Makefile.tools	Wed Oct 07 16:55:54 2009 -0700
@@ -66,6 +66,7 @@
 ROOTONBLDETCFILES=	$(ETCFILES:%=$(ROOTONBLDETC)/%)
 ROOTONBLDENVFILES=	$(ENVFILES:%=$(ROOTONBLDENV)/%)
 ROOTONBLDGKFILES=	$(GKFILES:%=$(ROOTONBLDGK)/.%)
+ROOTONBLDGKSHFILES=	$(SHFILES:%=$(ROOTONBLDGK)/%)
 ROOTONBLDPERLFILES=	$(PERLFILES:%=$(ROOTONBLDBIN)/%)
 ROOTONBLDPERLMODULES=	$(PERLMODULES:%=$(ROOTONBLDLIBPERL)/%)
 ROOTONBLDPYFILES=	$(PYFILES:%=$(ROOTONBLDBIN)/%)
@@ -102,3 +103,6 @@
 
 $(ROOTONBLDGK)/.%: %
 	$(INS.rename)
+
+$(ROOTONBLDGK)/%: %
+	$(INS.file)
--- a/usr/src/tools/SUNWonbld/postinstall	Wed Oct 07 16:47:57 2009 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,88 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
-# Use is subject to license terms.
-#
-
-LC_ALL=C
-export LC_ALL
-GREP=/usr/bin/grep
-LN=/usr/bin/ln
-CP=/usr/bin/cp
-MV=/usr/bin/mv
-PSRINFO=/usr/sbin/psrinfo
-SED=/usr/bin/sed
-UNAME=/usr/bin/uname
-AWK=/usr/bin/awk
-WC=/usr/bin/wc
-
-# Add the 'gk' account with the same password as root
-$GREP "^gk:" $BASEDIR/etc/passwd >/dev/null 2>&1
-if [ "$?" != "0" ]; then
-	echo "Installing 'gk' account"
-	echo "gk:x:0:1:Gatekeeper:/opt/onbld/gk:/usr/bin/csh" \
-	    >> $BASEDIR/etc/passwd
-	$GREP "^root:" $BASEDIR/etc/shadow | $SED -e 's/^root:/gk:/' \
-	    >> $BASEDIR/etc/shadow
-fi
-
-# Back up gk's existing .make.machines file
-if [ "(" -f $BASEDIR/opt/onbld/gk/.make.machines ")" -a "!" "(" -f \
-    $BASEDIR/opt/onbld/gk/.make.machines.orig ")" ]; then
-	echo "Backing up $BASEDIR/opt/onbld/gk/.make.machines" \
-		"to $BASEDIR/opt/onbld/gk/.make.machines.orig";
-	$CP $BASEDIR/opt/onbld/gk/.make.machines \
-		$BASEDIR/opt/onbld/gk/.make.machines.orig;
-fi
-
-# Back up root's existing .make.machines file
-if [ "(" -f $BASEDIR/.make.machines ")" -a "!" "(" -f \
-    $BASEDIR/.make.machines.orig ")" ]; then
-	echo "Backing up $BASEDIR/.make.machines to" \
-		"$BASEDIR/.make.machines.orig";
-	$MV $BASEDIR/.make.machines \
-		$BASEDIR/.make.machines.orig;
-fi
-
-# Create a .make.machines file for dmake.  Preserve concurrency setting
-# for the local machine if present.
-$GREP `$UNAME -n` $BASEDIR/opt/onbld/gk/.make.machines >/dev/null 2>&1;
-if [ "$?" = "0" ]; then
-	echo "Preserving existing dmake concurrency.";
-	$GREP `$UNAME -n` $BASEDIR/opt/onbld/gk/.make.machines \
-		> /tmp/.make.machines;
-	$MV /tmp/.make.machines $BASEDIR/opt/onbld/gk/.make.machines;
-else
-	cpus=`$PSRINFO | $GREP on-line | $WC -l`;
-	max=`expr '(' $cpus + 1 ')' '*' 2`;
-	speed=`$PSRINFO -v | head -3 | $AWK '/MHz/ { print $6 }'`;
-	if [ $speed -gt "500" ]; then
-		max=`expr $max '*' 2`;
-	fi
-	echo "`$UNAME -n` max=$max" > $BASEDIR/opt/onbld/gk/.make.machines;
-	echo "dmake concurrency set to $max.";
-fi
-
-# Create link for root's .make.machines.
-cd $BASEDIR ;
-$LN -s opt/onbld/gk/.make.machines .make.machines >/dev/null 2>&1 ;
-exit 0 ;
--- a/usr/src/tools/SUNWonbld/preremove	Wed Oct 07 16:47:57 2009 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,58 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License").  You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 1993-2002 Sun Microsystems, Inc.  All rights reserved.
-# Use is subject to license terms.
-# 
-#ident	"%Z%%M%	%I%	%E% SMI"
-
-# Remove the 'gk' account
-echo "Removing 'gk' account"
-ed $BASEDIR/etc/passwd <<EOF >/dev/null
-1,\$g/^gk:/d
-1,\$p
-w
-q
-EOF
-ed $BASEDIR/etc/shadow <<EOF >/dev/null
-1,\$g/^gk:/d
-1,\$p
-w
-q
-EOF
-
-# Remove gk's .make.machines file.
-echo "Removing .make.machines";
-rm -f $BASEDIR/opt/onbld/gk/.make.machines > /dev/null 2>&1;
-
-# Remove root's link to gk's .make.machines file.
-/usr/bin/test -L $BASEDIR/.make.machines ;
-if [ "$?" = "0" ]; then
-	rm -f $BASEDIR/.make.machines > /dev/null 2>&1;
-fi
-
-# Restore previous ~gk/.make.machines, if it exists.
-mv $BASEDIR/opt/onbld/gk/.make.machines.orig \
-	$BASEDIR/opt/onbld/gk/.make.machines > /dev/null 2>&1;
-# Restore previous /.make.machines, if it exists.
-mv $BASEDIR/.make.machines.orig $BASEDIR/.make.machines > /dev/null 2>&1;
-exit 0;
--- a/usr/src/tools/SUNWonbld/prototype_com	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/tools/SUNWonbld/prototype_com	Wed Oct 07 16:55:54 2009 -0700
@@ -39,8 +39,6 @@
 i depend
 i pkginfo
 i copyright
-i postinstall
-i preremove
 #
 # source locations relative to the prototype file
 #
@@ -174,6 +172,7 @@
 d none opt/onbld/gk 755 root bin
 f none opt/onbld/gk/.cshrc 644 root bin
 f none opt/onbld/gk/.login 644 root bin
+f none opt/onbld/gk/gen_make.machines 755 root bin
 d none opt/onbld/man 755 root bin
 d none opt/onbld/man/man1 755 root bin
 f none opt/onbld/man/man1/Install.1 644 root bin
--- a/usr/src/tools/gk/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/tools/gk/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -27,16 +27,22 @@
 	cshrc \
 	login
 
+SHFILES = gen_make.machines
+ROOTONBLDGKSHFILES = $(SHFILES)
+
+CLEANFILES += $(GKFILES) $(SHFILES)
 
 include ../Makefile.tools
 
-FILEMODE=	644
-
 .KEEP_STATE:
 
-all:	$(GKFILES)
+FILEMODE = 0644
+$(ROOTONBLDGKSHFILES):= FILEMODE= 755
 
-install: all .WAIT $(ROOTONBLDGKFILES)
+all:	$(GKFILES) $(SHFILES)
+
+install: all .WAIT $(ROOTONBLDGKFILES) \
+	$(ROOTONBLDGKSHFILES)
 
 clean:
 	$(RM) $(CLEANFILES)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/usr/src/tools/gk/gen_make.machines.sh	Wed Oct 07 16:55:54 2009 -0700
@@ -0,0 +1,48 @@
+#!/usr/bin/ksh93
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+#
+# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
+# Use is subject to license terms.
+# 
+# script to generate example .make.machines for build users
+#
+
+
+PATH=/usr/bin:/usr/sbin
+
+THISHOST=$(uname -n)
+
+cpus=$(psrinfo | grep on-line | wc -l)
+max=$(((cpus + 1) * 2))
+
+EXISTING=$(grep "^$THISHOST" $HOME/.make.machines |awk -F"=" '{print $2}')
+
+if [[ -n "$EXISTING" ]] then
+	printf "Your existing \$HOME/.make.machines has a concurrency "
+	printf "setting of $EXISTING for host\n"
+	printf "$THISHOST. If you wish to change the setting then this "
+	printf "script suggests\nsetting concurrency to $max for a single-user "
+	printf "machine. Multi-user machines might\nrequire different values.\n"
+else
+	printf "$THISHOST max=$max\n" >> $HOME/.make.machines
+	printf "dmake concurrency for host $THISHOST set to $max.\n"
+fi
--- a/usr/src/tools/scripts/bldenv.sh	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/tools/scripts/bldenv.sh	Wed Oct 07 16:55:54 2009 -0700
@@ -278,6 +278,16 @@
 	esac
 done
 
+POUND_SIGN="#"
+# have we set RELEASE_DATE in our env file?
+if [ -z "$RELEASE_DATE" ]; then
+	RELEASE_DATE=$(LC_ALL=C date +"%B %Y")
+fi
+BUILD_DATE=$(LC_ALL=C date +%Y-%b-%d)
+BASEWSDIR=$(basename $CODEMGR_WS)
+DEV_CM="\"@(#)SunOS Internal Development: $LOGNAME $BUILD_DATE [$BASEWSDIR]\""
+export DEV_CM RELEASE_DATE POUND_SIGN
+
 export INTERNAL_RELEASE_BUILD=
 
 print 'Build type   is  \c'
@@ -380,7 +390,6 @@
 else
 	unset CH
 fi
-POUND_SIGN="#"
 DEF_STRIPFLAG="-s"
 
 TMPDIR="/tmp"
@@ -392,7 +401,8 @@
 export \
 	PATH TMPDIR \
 	POUND_SIGN \
-	DEF_STRIPFLAG
+	DEF_STRIPFLAG \
+	RELEASE_DATE
 unset \
 	CFLAGS \
 	LD_LIBRARY_PATH
--- a/usr/src/tools/scripts/nightly.1	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/tools/scripts/nightly.1	Wed Oct 07 16:55:54 2009 -0700
@@ -436,7 +436,9 @@
 .LP
 .B RELEASE_DATE
 .RS 5
-The release date text to be used; e.g., October 2007.
+The release date text to be used; e.g., October 2009. If not set in
+your environment file, then this text defaults to the output from
+$(LC_ALL=C date +"%B %Y"); e.g., "October 2009".
 .RE
 .LP
 .B INTERNAL_RELEASE_BUILD
--- a/usr/src/tools/scripts/nightly.sh	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/tools/scripts/nightly.sh	Wed Oct 07 16:55:54 2009 -0700
@@ -1536,10 +1536,17 @@
 	PROTOCMPTERSE="protocmp.terse -gu"
 fi
 POUND_SIGN="#"
-
-# we export POUND_SIGN to speed up the build process -- prevents evaluation of
-# the Makefile.master definitions.
-export o_FLAG X_FLAG POUND_SIGN
+# have we set RELEASE_DATE in our env file?
+if [ -z "$RELEASE_DATE" ]; then
+	RELEASE_DATE=$(LC_ALL=C date +"%B %Y")
+fi
+BUILD_DATE=$(LC_ALL=C date +%Y-%b-%d)
+BASEWSDIR=$(basename $CODEMGR_WS)
+DEV_CM="\"@(#)SunOS Internal Development: $LOGNAME $BUILD_DATE [$BASEWSDIR]\""
+
+# we export POUND_SIGN, RELEASE_DATE and DEV_CM to speed up the build process
+# by avoiding repeated shell invocations to evaluate Makefile.master definitions.
+export o_FLAG X_FLAG POUND_SIGN RELEASE_DATE DEV_CM
 
 maketype="distributed"
 MAKE=dmake
--- a/usr/src/tools/scripts/webrev.sh	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/tools/scripts/webrev.sh	Wed Oct 07 16:55:54 2009 -0700
@@ -3250,7 +3250,8 @@
 	')
 fi
 
-print "<tr><th>Prepared by:</th><td>$preparer on `date`</td></tr>"
+PREPDATE=$(LC_ALL=C /usr/bin/date +%Y-%b-%d\ %R\ %z\ %Z)
+print "<tr><th>Prepared by:</th><td>$preparer on $PREPDATE</td></tr>"
 print "<tr><th>Workspace:</th><td>$CWS"
 if [[ -n $CWS_REV ]]; then
 	print "(at $CWS_REV)"
--- a/usr/src/uts/Makefile.targ	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/Makefile.targ	Wed Oct 07 16:55:54 2009 -0700
@@ -135,13 +135,13 @@
 #	Installation targets and rules:
 #
 $(ROOT_MOD_DIR) $(USR_MOD_DIR):
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_MOD_DIRS_32):	$(ROOT_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_MOD_DIRS_32):	$(USR_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_MOD_DIR)/%:	$(OBJS_DIR)/% $(ROOT_MOD_DIR) FRC
 	$(INS.file)
@@ -257,13 +257,13 @@
 #	Target for 64b modules
 #
 $(ROOT_KERN_DIR_64):
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_KERN_DIR_64)/%:	$(OBJS_DIR)/% $(ROOT_KERN_DIR_64) FRC
 	$(INS.file)
 
 %/$(SUBDIR64):		%
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 #
 #	Targets for '.conf' file installation.
--- a/usr/src/uts/i86pc/i86hvm/Makefile.targ	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/i86pc/i86hvm/Makefile.targ	Wed Oct 07 16:55:54 2009 -0700
@@ -18,10 +18,9 @@
 #
 # CDDL HEADER END
 #
+
 #
-#ident	"%Z%%M%	%I%	%E% SMI"
-#
-# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
 #	Common targets for i86hvm platform-implementation specific modules.
@@ -33,22 +32,22 @@
 # Rules for implementation subdirectories.
 #
 $(ROOT_HVM_DIR):
-	$(INS.dir.root.sys)
+	$(INS.dir)
 
 $(ROOT_HVM_MOD_DIR):		$(ROOT_HVM_DIR)
-	$(INS.dir.root.sys)
+	$(INS.dir)
 
 $(ROOT_HVM_DRV_DIR_32):		$(ROOT_HVM_MOD_DIR)
-	$(INS.dir.root.sys)
+	$(INS.dir)
 
 $(ROOT_HVM_DRV_DIR_64):		$(ROOT_HVM_DRV_DIR_32)
-	$(INS.dir.root.sys)
+	$(INS.dir)
 
 $(ROOT_HVM_MISC_DIR_32):	$(ROOT_HVM_MOD_DIR)
-	$(INS.dir.root.sys)
+	$(INS.dir)
 
 $(ROOT_HVM_MISC_DIR_64):	$(ROOT_HVM_MISC_DIR_32)
-	$(INS.dir.root.sys)
+	$(INS.dir)
 
 $(ROOT_HVM_MOD_DIR)/%:		$(OBJS_DIR)/% $(ROOT_HVM_MOD_DIR) FRC
 	$(INS.file)
@@ -60,7 +59,7 @@
 	$(INS.file)
 
 $(USR_HVM_DIR):
-	$(INS.dir.root.sys)
+	$(INS.dir)
 
 #
 #	Include common targets.
--- a/usr/src/uts/i86pc/sys/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/i86pc/sys/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -84,7 +84,7 @@
 check:		$(CHECKHDRS)
 
 $(ROOTDIRS):
-	$(INS.dir.root.bin)
+	$(INS.dir)
 
 $(ROOTLINK):	$(ROOTDIRS)
 	-$(RM) -r $@; $(SYMLINK) $(LINKDEST) $@
--- a/usr/src/uts/i86pc/vm/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/i86pc/vm/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -63,7 +63,7 @@
 	$(INS.file)
 
 $(ROOTDIRS):
-	$(INS.dir.root.bin)
+	$(INS.dir)
 
 # -r because this used to be a directory and is now a link.
 $(ROOTLINK):    $(ROOTDIRS)
--- a/usr/src/uts/i86xpv/sys/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/i86xpv/sys/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -60,7 +60,7 @@
 check:		$(CHECKHDRS)
 
 $(ROOTDIRS):
-	$(INS.dir.root.bin)
+	$(INS.dir)
 
 $(ROOTLINK):	$(ROOTDIRS)
 	-$(RM) -r $@; $(SYMLINK) $(LINKDEST) $@
--- a/usr/src/uts/i86xpv/vm/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/i86xpv/vm/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -66,7 +66,7 @@
 	$(INS.file)
 
 $(ROOTDIRS):
-	$(INS.dir.root.bin)
+	$(INS.dir)
 
 # -r because this used to be a directory and is now a link.
 $(ROOTLINK):    $(ROOTDIRS)
--- a/usr/src/uts/sun4u/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/sun4u/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -225,7 +225,7 @@
 # here in kernel land.
 #
 $(ROOT_PLAT_DIRS): $(ROOT_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 #
 # create directories in /usr/platform/ for the implementations that are
@@ -236,7 +236,7 @@
 # that are linked to it.
 #
 $(USR_PLAT_DIR)/$(IMPLEMENTED_PLATFORM):	$(USR_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 #
 # create the links in /usr/platform/ foreach $(LINKED_PLATFORMS)
@@ -271,7 +271,7 @@
 	$(INS.slink5)
 
 $(USR_DESKTOP_LIB_DIR):		$(USR_DESKTOP_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 #
 #	Full kernel lint target.
--- a/usr/src/uts/sun4u/aes/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/sun4u/aes/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -21,10 +21,10 @@
 #
 # uts/sun4u/aes/Makefile
 #
-# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-#ident	"%Z%%M%	%I%	%E% SMI"
+
 #
 #	This makefile drives the production of the aes kernel module.
 #
@@ -114,13 +114,13 @@
 include $(UTSBASE)/sun4u/Makefile.targ
 
 $(ROOT_US3_DIR): $(ROOT_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_US3_MOD_DIR): $(ROOT_US3_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_US3_CRYPTO_DIR): $(ROOT_US3_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_US3_CRYPTO_DIR)/%: $(OBJS_DIR)/% $(ROOT_US3_CRYPTO_DIR)
 	-$(INS.file)
--- a/usr/src/uts/sun4u/blade/Makefile.targ.shared	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/sun4u/blade/Makefile.targ.shared	Wed Oct 07 16:55:54 2009 -0700
@@ -2,9 +2,8 @@
 # CDDL HEADER START
 #
 # The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License").  You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
 #
 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
 # or http://www.opensolaris.org/os/licensing.
@@ -20,9 +19,9 @@
 # CDDL HEADER END
 #
 #
-#pragma ident	"%Z%%M%	%I%	%E% SMI"
+
 #
-# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
 #	Common targets for sun4u jbos-blade implementation specific modules.
@@ -34,22 +33,22 @@
 # Rules for implementation subdirectories.
 #
 $(ROOT_BLADE_DIR): $(ROOT_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_BLADE_MOD_DIR): $(ROOT_BLADE_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_BLADE_DRV_DIR_32): $(ROOT_BLADE_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_BLADE_DRV_DIR_64): $(ROOT_BLADE_DRV_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_BLADE_MISC_DIR_32): $(ROOT_BLADE_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_BLADE_MISC_DIR_64): $(ROOT_BLADE_MISC_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_BLADE_MOD_DIR)/%: $(OBJS_DIR)/% $(ROOT_BLADE_MOD_DIR) FRC
 	$(INS.file)
@@ -61,19 +60,19 @@
 	$(INS.file)
 
 $(USR_BLADE_DIR):	$(USR_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_BLADE_INC_DIR):	$(USR_BLADE_DIR)
 	-$(INS.slink4)
 
 $(USR_BLADE_ISYS_DIR):	$(USR_BLADE_INC_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_BLADE_SBIN_DIR):	$(USR_BLADE_DIR)
 	$(INS.slink5)
 
 $(USR_BLADE_LIB_DIR):	$(USR_BLADE_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 #
 #	Include common targets.
 #
--- a/usr/src/uts/sun4u/boston/Makefile.targ	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/sun4u/boston/Makefile.targ	Wed Oct 07 16:55:54 2009 -0700
@@ -33,37 +33,37 @@
 # Rules for implementation subdirectories.
 #
 $(ROOT_BOSTON_DIR): $(ROOT_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_BOSTON_MOD_DIR): $(ROOT_BOSTON_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_BOSTON_MISC_DIR_32): $(ROOT_BOSTON_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_BOSTON_MISC_DIR_64): $(ROOT_BOSTON_MISC_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_BOSTON_DRV_DIR_32): $(ROOT_BOSTON_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_BOSTON_DRV_DIR_64): $(ROOT_BOSTON_DRV_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_BOSTON_CRYPTO_DIR_32): $(ROOT_BOSTON_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_BOSTON_CRYPTO_DIR_64): $(ROOT_BOSTON_CRYPTO_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_BOSTON_DIR): $(USR_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_BOSTON_INC_DIR): $(USR_BOSTON_DIR)
 	-$(INS.slink4)
 
 $(USR_BOSTON_SBIN_DIR): $(USR_BOSTON_DIR)
-	$(INS.dir.root.bin)
+	$(INS.dir)
 
 $(USR_BOSTON_SBIN_PRTDIAG): $(USR_BOSTON_SBIN_DIR)
 	$(RM) -r $@; $(SYMLINK) ../../$(PLATFORM)/sbin/prtdiag $@
@@ -75,10 +75,10 @@
 	$(RM) -r $@; $(SYMLINK) ../../$(PLATFORM)/sbin/fruadm $@
 
 $(USR_BOSTON_LIB_DIR): $(USR_BOSTON_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(USR_BOSTON_ISYS_DIR): $(USR_BOSTON_INC_DIR)
-	$(INS.dir.root.bin)
+	$(INS.dir)
 
 $(ROOT_BOSTON_MOD_DIR)/%: $(OBJS_DIR)/% $(ROOT_BOSTON_MOD_DIR)
 	$(INS.file)
--- a/usr/src/uts/sun4u/cherrystone/Makefile.targ	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/sun4u/cherrystone/Makefile.targ	Wed Oct 07 16:55:54 2009 -0700
@@ -2,9 +2,8 @@
 # CDDL HEADER START
 #
 # The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License").  You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
 #
 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
 # or http://www.opensolaris.org/os/licensing.
@@ -21,10 +20,10 @@
 #
 #
 # uts/sun4u/cherrystone/Makefile.targ
-# Copyright 2001-2003 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-#ident	"%Z%%M%	%I%	%E% SMI"
+
 #
 #	Common targets for sun4u Cherrystone implementation specific modules.
 #
@@ -37,31 +36,31 @@
 # Platform targets
 #
 $(ROOT_CHERRYSTONE_DIR): $(ROOT_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_CHERRYSTONE_MOD_DIR): $(ROOT_CHERRYSTONE_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_CHERRYSTONE_DRV_DIR_32): $(ROOT_CHERRYSTONE_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_CHERRYSTONE_DRV_DIR_64): $(ROOT_CHERRYSTONE_DRV_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_CHERRYSTONE_MISC_DIR_32): $(ROOT_CHERRYSTONE_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_CHERRYSTONE_MISC_DIR_64): $(ROOT_CHERRYSTONE_MISC_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_CHERRYSTONE_CRYPTO_DIR_32): $(ROOT_CHERRYSTONE_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_CHERRYSTONE_CRYPTO_DIR_64): $(ROOT_CHERRYSTONE_CRYPTO_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_CHERRYSTONE_DIR): $(USR_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_CHERRYSTONE_INC_DIR): $(USR_CHERRYSTONE_DIR)
 	-$(INS.slink4)
@@ -70,10 +69,10 @@
 	-$(INS.slink5)
 
 $(USR_CHERRYSTONE_LIB_DIR): $(USR_CHERRYSTONE_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(USR_CHERRYSTONE_ISYS_DIR): $(USR_CHERRYSTONE_INC_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(ROOT_CHERRYSTONE_MOD_DIR)/%: $(OBJS_DIR)/% $(ROOT_CHERRYSTONE_MOD_DIR) FRC
 	$(INS.file)
@@ -88,7 +87,7 @@
 	$(INS.slink3)
 
 $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/lib): $(USR_PLAT_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/include): $(USR_PLAT_DIR)
 	$(INS.slink4)
--- a/usr/src/uts/sun4u/cherrystone/sys/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/sun4u/cherrystone/sys/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -60,7 +60,7 @@
 	$(INS.file)
 
 $(ROOTDIRS):
-	$(INS.dir.root.bin)
+	$(INS.dir)
 
 FRC:
 
--- a/usr/src/uts/sun4u/chicago/Makefile.targ	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/sun4u/chicago/Makefile.targ	Wed Oct 07 16:55:54 2009 -0700
@@ -2,9 +2,8 @@
 # CDDL HEADER START
 #
 # The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License").  You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
 #
 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
 # or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,10 @@
 # CDDL HEADER END
 #
 #
-# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-# ident	"%Z%%M%	%I%	%E% SMI"
+
 #
 #	Common targets for sun4u implementation specific modules.
 #
@@ -35,31 +34,31 @@
 # Rules for implementation subdirectories.
 #
 $(ROOT_CHICAGO_DIR): $(ROOT_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_CHICAGO_MOD_DIR): $(ROOT_CHICAGO_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_CHICAGO_MISC_DIR_32): $(ROOT_CHICAGO_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_CHICAGO_MISC_DIR_64): $(ROOT_CHICAGO_MISC_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_CHICAGO_DRV_DIR_32): $(ROOT_CHICAGO_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_CHICAGO_DRV_DIR_64): $(ROOT_CHICAGO_DRV_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_CHICAGO_CRYPTO_DIR_32): $(ROOT_CHICAGO_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_CHICAGO_CRYPTO_DIR_64): $(ROOT_CHICAGO_CRYPTO_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_CHICAGO_DIR): $(USR_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_CHICAGO_INC_DIR): $(USR_CHICAGO_DIR)
 	-$(INS.slink4)
@@ -68,10 +67,10 @@
 	-$(INS.slink5)
 
 $(USR_CHICAGO_LIB_DIR): $(USR_CHICAGO_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(USR_CHICAGO_ISYS_DIR): $(USR_CHICAGO_INC_DIR)
-	-$(INS.dir.bin.bin)
+	-$(INS.dir)
 
 $(ROOT_CHICAGO_MOD_DIR)/%: $(OBJS_DIR)/% $(ROOT_CHICAGO_MOD_DIR)
 	$(INS.file)
--- a/usr/src/uts/sun4u/chicago/fpc/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/sun4u/chicago/fpc/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -20,10 +20,10 @@
 #
 
 #
-# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-# ident	"%Z%%M%	%I%	%E% SMI"
+
 #
 #	uts/sun4u/chicago/fpc/Makefile
 #
@@ -125,28 +125,28 @@
 install:	$(INSTALL_DEPS)
 
 $(ROOT_BOSTON_DIR): $(ROOT_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_BOSTON_MOD_DIR): $(ROOT_BOSTON_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_BOSTON_DRV_DIR_32): $(ROOT_BOSTON_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_BOSTON_DRV_DIR_64): $(ROOT_BOSTON_DRV_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_SEATTLE_DIR): $(ROOT_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_SEATTLE_MOD_DIR): $(ROOT_SEATTLE_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_SEATTLE_DRV_DIR_32): $(ROOT_SEATTLE_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_SEATTLE_DRV_DIR_64): $(ROOT_SEATTLE_DRV_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(BOSTON_ROOTMODULE): $(ROOTMODULE) $(ROOT_BOSTON_DRV_DIR_64)
 	$(RM) $@; $(SYMLINK) $(ROOTMODULE_SOFTLINK) $@
--- a/usr/src/uts/sun4u/daktari/Makefile.targ	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/sun4u/daktari/Makefile.targ	Wed Oct 07 16:55:54 2009 -0700
@@ -2,9 +2,8 @@
 # CDDL HEADER START
 #
 # The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License").  You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
 #
 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
 # or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,10 @@
 # CDDL HEADER END
 #
 #
-# Copyright 2000-2003 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-#ident	"%Z%%M%	%I%	%E% SMI"
+
 #
 #	Common targets for sun4u Daktari implementation specific modules.
 #
@@ -36,31 +35,31 @@
 # Platform targets
 #
 $(ROOT_DAKTARI_DIR): $(ROOT_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_DAKTARI_MOD_DIR): $(ROOT_DAKTARI_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_DAKTARI_DRV_DIR_32): $(ROOT_DAKTARI_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_DAKTARI_DRV_DIR_64): $(ROOT_DAKTARI_DRV_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_DAKTARI_MISC_DIR_32): $(ROOT_DAKTARI_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_DAKTARI_MISC_DIR_64): $(ROOT_DAKTARI_MISC_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_DAKTARI_CRYPTO_DIR_32): $(ROOT_DAKTARI_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_DAKTARI_CRYPTO_DIR_64): $(ROOT_DAKTARI_CRYPTO_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_DAKTARI_DIR): $(USR_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_DAKTARI_INC_DIR): $(USR_DAKTARI_DIR)
 	-$(INS.slink4)
@@ -69,10 +68,10 @@
 	-$(INS.slink5)
 
 $(USR_DAKTARI_LIB_DIR): $(USR_DAKTARI_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(USR_DAKTARI_ISYS_DIR): $(USR_DAKTARI_INC_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(ROOT_DAKTARI_MOD_DIR)/%: $(OBJS_DIR)/% $(ROOT_DAKTARI_MOD_DIR) FRC
 	$(INS.file)
@@ -87,7 +86,7 @@
 	$(INS.slink3)
 
 $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/lib): $(USR_PLAT_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/include): $(USR_PLAT_DIR)
 	$(INS.slink4)
--- a/usr/src/uts/sun4u/daktari/sys/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/sun4u/daktari/sys/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -60,7 +60,7 @@
 	$(INS.file)
 
 $(ROOTDIRS):
-	$(INS.dir.root.bin)
+	$(INS.dir)
 
 FRC:
 
--- a/usr/src/uts/sun4u/darwin/Makefile.targ	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/sun4u/darwin/Makefile.targ	Wed Oct 07 16:55:54 2009 -0700
@@ -2,9 +2,8 @@
 # CDDL HEADER START
 #
 # The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License").  You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
 #
 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
 # or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,10 @@
 # CDDL HEADER END
 #
 #
-# Copyright 1999-2003 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-#ident	"%Z%%M%	%I%	%E% SMI"
+
 #
 #	Common targets for sun4u Darwin implementation specific modules.
 #
@@ -36,16 +35,16 @@
 # Rules for implementation subdirectories.
 #
 $(ROOT_DARWIN_DIR): $(ROOT_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_DARWIN_MOD_DIR): $(ROOT_DARWIN_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_DARWIN_MISC_DIR_32): $(ROOT_DARWIN_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_DARWIN_MISC_DIR_64): $(ROOT_DARWIN_MISC_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_DARWIN_DIR): $(USR_PLAT_DIR)
 	-$(INS.slink3)
--- a/usr/src/uts/sun4u/douglas/Makefile.targ.shared	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/sun4u/douglas/Makefile.targ.shared	Wed Oct 07 16:55:54 2009 -0700
@@ -19,10 +19,10 @@
 # CDDL HEADER END
 #
 #
-# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-#pragma ident	"%Z%%M%	%I%	%E% SMI"
+
 #
 #	Common targets for sun4u Douglas implementation specific modules.
 #
@@ -35,25 +35,25 @@
 # Rules for implementation subdirectories.
 #
 $(ROOT_DOUGLAS_DIR): $(ROOT_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_DOUGLAS_MOD_DIR): $(ROOT_DOUGLAS_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_DOUGLAS_MISC_DIR_32): $(ROOT_DOUGLAS_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_DOUGLAS_MISC_DIR_64): $(ROOT_DOUGLAS_MISC_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_DOUGLAS_DRV_DIR_32): $(ROOT_DOUGLAS_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_DOUGLAS_DRV_DIR_64): $(ROOT_DOUGLAS_DRV_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_DOUGLAS_DIR): $(USR_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_DOUGLAS_INC_DIR): $(USR_DOUGLAS_DIR)
 	-$(INS.slink4)
@@ -62,11 +62,7 @@
 	-$(INS.slink5)
 
 $(USR_DOUGLAS_LIB_DIR): $(USR_DOUGLAS_DIR)
-	-$(INS.dir.root.bin)
-
-$(USR_DOUGLAS_ISYS_DIR): $(USR_DOUGLAS_INC_DIR)
-	-$(INS.dir.bin.bin)
-
+	-$(INS.dir)
 
 $(ROOT_DOUGLAS_MOD_DIR)/%: $(OBJS_DIR)/% $(ROOT_DOUGLAS_MOD_DIR) FRC
 	$(INS.file)
--- a/usr/src/uts/sun4u/enchilada/Makefile.targ	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/sun4u/enchilada/Makefile.targ	Wed Oct 07 16:55:54 2009 -0700
@@ -2,9 +2,8 @@
 # CDDL HEADER START
 #
 # The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License").  You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
 #
 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
 # or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,10 @@
 # CDDL HEADER END
 #
 #
-# Copyright 2002-2003 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-# ident	"%Z%%M%	%I%	%E% SMI"
+
 #
 #	Common targets for sun4u implementation specific modules.
 #
@@ -36,31 +35,31 @@
 # Rules for implementation subdirectories.
 #
 $(ROOT_ENCHILADA_DIR): $(ROOT_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_ENCHILADA_MOD_DIR): $(ROOT_ENCHILADA_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_ENCHILADA_MISC_DIR_32): $(ROOT_ENCHILADA_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_ENCHILADA_MISC_DIR_64): $(ROOT_ENCHILADA_MISC_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_ENCHILADA_DRV_DIR_32): $(ROOT_ENCHILADA_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_ENCHILADA_DRV_DIR_64): $(ROOT_ENCHILADA_DRV_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_ENCHILADA_CRYPTO_DIR_32): $(ROOT_ENCHILADA_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_ENCHILADA_CRYPTO_DIR_64): $(ROOT_ENCHILADA_CRYPTO_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_ENCHILADA_DIR): $(USR_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_ENCHILADA_INC_DIR): $(USR_ENCHILADA_DIR)
 	-$(INS.slink4)
@@ -69,10 +68,7 @@
 	-$(INS.slink5)
 
 $(USR_ENCHILADA_LIB_DIR): $(USR_ENCHILADA_DIR)
-	-$(INS.dir.root.bin)
-
-$(USR_ENCHILADA_ISYS_DIR): $(USR_ENCHILADA_INC_DIR)
-	-$(INS.dir.bin.bin)
+	-$(INS.dir)
 
 $(ROOT_ENCHILADA_MOD_DIR)/%: $(OBJS_DIR)/% $(ROOT_ENCHILADA_MOD_DIR)
 	$(INS.file)
--- a/usr/src/uts/sun4u/excalibur/Makefile.targ	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/sun4u/excalibur/Makefile.targ	Wed Oct 07 16:55:54 2009 -0700
@@ -2,9 +2,8 @@
 # CDDL HEADER START
 #
 # The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License").  You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
 #
 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
 # or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,10 @@
 # CDDL HEADER END
 #
 #
-# Copyright 1999-2003 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-#pragma ident	"%Z%%M%	%I%	%E% SMI"
+
 #
 #	Common targets for sun4u Excalibur implementation specific modules.
 #
@@ -36,31 +35,31 @@
 # Rules for implementation subdirectories.
 #
 $(ROOT_EXCALIBUR_DIR): $(ROOT_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_EXCALIBUR_MOD_DIR): $(ROOT_EXCALIBUR_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_EXCALIBUR_MISC_DIR_32): $(ROOT_EXCALIBUR_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_EXCALIBUR_MISC_DIR_64): $(ROOT_EXCALIBUR_MISC_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_EXCALIBUR_DRV_DIR_32): $(ROOT_EXCALIBUR_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_EXCALIBUR_DRV_DIR_64): $(ROOT_EXCALIBUR_DRV_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_EXCALIBUR_CRYPTO_DIR_32): $(ROOT_EXCALIBUR_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_EXCALIBUR_CRYPTO_DIR_64): $(ROOT_EXCALIBUR_CRYPTO_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_EXCALIBUR_DIR): $(USR_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_EXCALIBUR_INC_DIR): $(USR_EXCALIBUR_DIR)
 	-$(INS.slink4)
@@ -69,10 +68,7 @@
 	-$(INS.slink5)
 
 $(USR_EXCALIBUR_LIB_DIR): $(USR_EXCALIBUR_DIR)
-	-$(INS.dir.root.bin)
-
-$(USR_EXCALIBUR_ISYS_DIR): $(USR_EXCALIBUR_INC_DIR)
-	-$(INS.dir.bin.bin)
+	-$(INS.dir)
 
 $(ROOT_EXCALIBUR_MOD_DIR)/%: $(OBJS_DIR)/% $(ROOT_EXCALIBUR_MOD_DIR) FRC
 	$(INS.file)
--- a/usr/src/uts/sun4u/excalibur/sys/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/sun4u/excalibur/sys/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -56,9 +56,6 @@
 $(USR_EXCALIBUR_ISYS_DIR)/%:	% $(USR_EXCALIBUR_ISYS_DIR)
 	$(INS.file)
 
-$(ROOTDIRS):
-	$(INS.dir.bin.bin)
-
 FRC:
 
 include ../Makefile.targ
--- a/usr/src/uts/sun4u/fjlite/Makefile.targ	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/sun4u/fjlite/Makefile.targ	Wed Oct 07 16:55:54 2009 -0700
@@ -2,9 +2,8 @@
 # CDDL HEADER START
 #
 # The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License").  You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
 #
 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
 # or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,10 @@
 # CDDL HEADER END
 #
 #
-#pragma ident	"%Z%%M%	%I%	%E% SMI"
+
 #
-# Copyright 2001-2003 Sun Microsystems, Inc.  All rights reserved.
-# Use is subject to license terms
+# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
+# Use is subject to license terms.
 #
 #	Common targets for sun4u fjlite implementation specific modules.
 #
@@ -34,22 +33,22 @@
 # Rules for implementation subdirectories.
 #
 $(ROOT_FJLITE_DIR): $(ROOT_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_FJLITE_MOD_DIR): $(ROOT_FJLITE_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_FJLITE_DRV_DIR_32): $(ROOT_FJLITE_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_FJLITE_DRV_DIR_64): $(ROOT_FJLITE_DRV_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_FJLITE_MISC_DIR_32): $(ROOT_FJLITE_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_FJLITE_MISC_DIR_64): $(ROOT_FJLITE_MISC_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_FJLITE_MOD_DIR)/%: $(OBJS_DIR)/% $(ROOT_FJLITE_MOD_DIR) FRC
 	$(INS.file)
@@ -64,10 +63,10 @@
 	-$(INS.slink1)
 
 $(USR_FJLITE_INC_DIR):	$(USR_FJLITE_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_FJLITE_ISYS_DIR):	$(USR_FJLITE_INC_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 #
 #	Include common targets.
--- a/usr/src/uts/sun4u/grover/Makefile.targ.shared	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/sun4u/grover/Makefile.targ.shared	Wed Oct 07 16:55:54 2009 -0700
@@ -2,9 +2,8 @@
 # CDDL HEADER START
 #
 # The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License").  You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
 #
 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
 # or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,10 @@
 # CDDL HEADER END
 #
 #
-# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-#pragma ident	"%Z%%M%	%I%	%E% SMI"
+
 #
 #	Common targets for sun4u Grover implementation specific modules.
 #
@@ -36,25 +35,25 @@
 # Rules for implementation subdirectories.
 #
 $(ROOT_GROVER_DIR): $(ROOT_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_GROVER_MOD_DIR): $(ROOT_GROVER_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_GROVER_MISC_DIR_32): $(ROOT_GROVER_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_GROVER_MISC_DIR_64): $(ROOT_GROVER_MISC_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_GROVER_DRV_DIR_32): $(ROOT_GROVER_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_GROVER_DRV_DIR_64): $(ROOT_GROVER_DRV_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_GROVER_DIR): $(USR_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_GROVER_INC_DIR): $(USR_GROVER_DIR)
 	-$(INS.slink4)
@@ -63,11 +62,7 @@
 	-$(INS.slink5)
 
 $(USR_GROVER_LIB_DIR): $(USR_GROVER_DIR)
-	-$(INS.dir.root.bin)
-
-$(USR_GROVER_ISYS_DIR): $(USR_GROVER_INC_DIR)
-	-$(INS.dir.bin.bin)
-
+	-$(INS.dir)
 
 $(ROOT_GROVER_MOD_DIR)/%: $(OBJS_DIR)/% $(ROOT_GROVER_MOD_DIR) FRC
 	$(INS.file)
--- a/usr/src/uts/sun4u/javelin/Makefile.targ.shared	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/sun4u/javelin/Makefile.targ.shared	Wed Oct 07 16:55:54 2009 -0700
@@ -2,9 +2,8 @@
 # CDDL HEADER START
 #
 # The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License").  You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
 #
 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
 # or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,10 @@
 # CDDL HEADER END
 #
 #
-# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-#ident	"%Z%%M%	%I%	%E% SMI"
+
 #
 #	Common targets for sun4u Javelin implementation specific modules.
 #
@@ -35,25 +34,25 @@
 # Platform targets
 #
 $(ROOT_JAVELIN_DIR): $(ROOT_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_JAVELIN_MOD_DIR): $(ROOT_JAVELIN_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_JAVELIN_DRV_DIR_32): $(ROOT_JAVELIN_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_JAVELIN_DRV_DIR_64): $(ROOT_JAVELIN_DRV_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_JAVELIN_MISC_DIR_32): $(ROOT_JAVELIN_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_JAVELIN_MISC_DIR_64): $(ROOT_JAVELIN_MISC_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_JAVELIN_DIR): $(USR_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_JAVELIN_INC_DIR): $(USR_JAVELIN_DIR)
 	-$(INS.slink4)
@@ -62,10 +61,10 @@
 	-$(INS.slink5)
 
 $(USR_JAVELIN_LIB_DIR): $(USR_JAVELIN_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(USR_JAVELIN_ISYS_DIR): $(USR_JAVELIN_INC_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(ROOT_JAVELIN_MOD_DIR)/%: $(OBJS_DIR)/% $(ROOT_JAVELIN_MOD_DIR) FRC
 	$(INS.file)
--- a/usr/src/uts/sun4u/littleneck/Makefile.targ	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/sun4u/littleneck/Makefile.targ	Wed Oct 07 16:55:54 2009 -0700
@@ -2,9 +2,8 @@
 # CDDL HEADER START
 #
 # The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License").  You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
 #
 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
 # or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,10 @@
 # CDDL HEADER END
 #
 #
-# Copyright 2000-2003 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-#ident	"%Z%%M%	%I%	%E% SMI"
+
 #
 #	Common targets for sun4u Littleneck implementation specific modules.
 #
@@ -35,31 +34,31 @@
 # Platform targets
 #
 $(ROOT_LITTLENECK_DIR): $(ROOT_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_LITTLENECK_MOD_DIR): $(ROOT_LITTLENECK_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_LITTLENECK_DRV_DIR_32): $(ROOT_LITTLENECK_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_LITTLENECK_DRV_DIR_64): $(ROOT_LITTLENECK_DRV_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_LITTLENECK_MISC_DIR_32): $(ROOT_LITTLENECK_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_LITTLENECK_MISC_DIR_64): $(ROOT_LITTLENECK_MISC_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_LITTLENECK_CRYPTO_DIR_32): $(ROOT_TACO_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_LITTLENECK_CRYPTO_DIR_64): $(ROOT_LITTLENECK_CRYPTO_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_LITTLENECK_DIR): $(USR_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_LITTLENECK_INC_DIR): $(USR_LITTLENECK_DIR)
 	-$(INS.slink4)
@@ -68,10 +67,10 @@
 	-$(INS.slink5)
 
 $(USR_LITTLENECK_LIB_DIR): $(USR_LITTLENECK_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(USR_LITTLENECK_ISYS_DIR): $(USR_LITTLENECK_INC_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(ROOT_LITTLENECK_MOD_DIR)/%: $(OBJS_DIR)/% $(ROOT_LITTLENECK_MOD_DIR) FRC
 	$(INS.file)
--- a/usr/src/uts/sun4u/lw2plus/Makefile.targ	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/sun4u/lw2plus/Makefile.targ	Wed Oct 07 16:55:54 2009 -0700
@@ -19,11 +19,9 @@
 # CDDL HEADER END
 #
 #
-# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-#ident	"%Z%%M%	%I%	%E% SMI"
-#
 
 #
 #	Common targets for sun4u LW2PLUS implementation specific modules.
@@ -35,43 +33,43 @@
 # Rules for implementation subdirectories.
 #
 $(ROOT_LW2PLUS_DIR): $(ROOT_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_LW2PLUS_MOD_DIR): $(ROOT_LW2PLUS_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_LW2PLUS_DRV_DIR_32): $(ROOT_LW2PLUS_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_LW2PLUS_DRV_DIR_64): $(ROOT_LW2PLUS_DRV_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_LW2PLUS_MISC_DIR_32): $(ROOT_LW2PLUS_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_LW2PLUS_MISC_DIR_64): $(ROOT_LW2PLUS_MISC_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_LW2PLUS_CRYPTO_DIR_32): $(ROOT_LW2PLUS_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_LW2PLUS_CRYPTO_DIR_64): $(ROOT_LW2PLUS_CRYPTO_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_LW2PLUS_DIR): $(USR_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_LW2PLUS_INC_DIR): $(USR_LW2PLUS_DIR)
 	$(INS.slink4)
 
 $(USR_LW2PLUS_ISYS_DIR): $(USR_LW2PLUS_INC_DIR)
-	$(INS.dir.root.bin)
+	$(INS.dir)
 
 $(USR_LW2PLUS_SBIN_DIR): $(USR_LW2PLUS_DIR)
 	$(INS.slink5)
 
 $(USR_LW2PLUS_LIB_DIR): $(USR_LW2PLUS_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(ROOT_LW2PLUS_DRV_DIR)/%: $(OBJS_DIR)/% $(ROOT_LW2PLUS_DRV_DIR) FRC
 	$(INS.file)
--- a/usr/src/uts/sun4u/lw8/Makefile.targ	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/sun4u/lw8/Makefile.targ	Wed Oct 07 16:55:54 2009 -0700
@@ -20,10 +20,10 @@
 #
 
 #
-# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-#ident	"%Z%%M%	%I%	%E% SMI"
+
 #
 #	Common targets for sun4u LW8 implementation specific modules.
 #
@@ -34,43 +34,43 @@
 # Rules for implementation subdirectories.
 #
 $(ROOT_LW8_DIR): $(ROOT_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_LW8_MOD_DIR): $(ROOT_LW8_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_LW8_DRV_DIR_32): $(ROOT_LW8_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_LW8_DRV_DIR_64): $(ROOT_LW8_DRV_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_LW8_MISC_DIR_32): $(ROOT_LW8_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_LW8_MISC_DIR_64): $(ROOT_LW8_MISC_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_LW8_CRYPTO_DIR_32): $(ROOT_LW8_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_LW8_CRYPTO_DIR_64): $(ROOT_LW8_CRYPTO_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_LW8_DIR): $(USR_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_LW8_INC_DIR): $(USR_LW8_DIR)
 	$(INS.slink4)
 
 $(USR_LW8_ISYS_DIR): $(USR_LW8_INC_DIR)
-	$(INS.dir.root.bin)
+	$(INS.dir)
 
 $(USR_LW8_SBIN_DIR): $(USR_LW8_DIR)
 	$(INS.slink5)
 
 $(USR_LW8_LIB_DIR): $(USR_LW8_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(ROOT_LW8_DRV_DIR)/%: $(OBJS_DIR)/% $(ROOT_LW8_DRV_DIR) FRC
 	$(INS.file)
--- a/usr/src/uts/sun4u/lw8/sys/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/sun4u/lw8/sys/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -61,7 +61,7 @@
 	$(INS.file)
 
 $(ROOTDIRS):
-	$(INS.dir.root.bin)
+	$(INS.dir)
 
 FRC:
 
--- a/usr/src/uts/sun4u/makaha/Makefile.targ	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/sun4u/makaha/Makefile.targ	Wed Oct 07 16:55:54 2009 -0700
@@ -19,10 +19,10 @@
 # CDDL HEADER END
 #
 #
-# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-#ident	"%Z%%M%	%I%	%E% SMI"
+
 #
 #
 #	Common targets for sun4u MAKAHA implementation specific modules.
@@ -31,7 +31,7 @@
 # Platform targets
 #
 $(ROOT_MAKAHA_DIR): $(ROOT_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 .KEEP_STATE:
 
@@ -39,22 +39,22 @@
 # Rules for implementation subdirectories.
 #
 $(ROOT_MAKAHA_MOD_DIR): $(ROOT_MAKAHA_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_MAKAHA_DRV_DIR_32): $(ROOT_MAKAHA_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_MAKAHA_DRV_DIR_64): $(ROOT_MAKAHA_DRV_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_MAKAHA_MISC_DIR_32): $(ROOT_MAKAHA_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_MAKAHA_MISC_DIR_64): $(ROOT_MAKAHA_MISC_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_MAKAHA_DIR): $(USR_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_MAKAHA_INC_DIR): $(USR_MAKAHA_DIR)
 	-$(INS.slink4)
@@ -63,10 +63,10 @@
 	-$(INS.slink5)
 
 $(USR_MAKAHA_LIB_DIR): $(USR_MAKAHA_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(USR_MAKAHA_ISYS_DIR): $(USR_MAKAHA_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(ROOT_MAKAHA_MOD_DIR)/%: $(OBJS_DIR)/% $(ROOT_MAKAHA_MOD_DIR)
 	$(INS.file)
@@ -75,10 +75,10 @@
 	$(INS.file)
 
 $(ROOT_MAKAHA_DACF_DIR_32): $(ROOT_MAKAHA_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_MAKAHA_DACF_DIR_64): $(ROOT_MAKAHA_DACF_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_MAKAHA_DACF_DIR)/%: $(OBJS_DIR)/% $(ROOT_MAKAHA_DACF_DIR)
 	$(INS.file)
@@ -90,25 +90,25 @@
 # Create Sputnik platform directories
 #
 $(ROOT_SPUTNIK_DIR): $(ROOT_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_SPUTNIK_MOD_DIR): $(ROOT_SPUTNIK_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_SPUTNIK_DRV_DIR_32): $(ROOT_SPUTNIK_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_SPUTNIK_DRV_DIR_64): $(ROOT_SPUTNIK_DRV_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_SPUTNIK_MISC_DIR_32): $(ROOT_SPUTNIK_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_SPUTNIK_MISC_DIR_64): $(ROOT_SPUTNIK_MISC_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_SPUTNIK_DIR): $(USR_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_SPUTNIK_INC_DIR): $(USR_SPUTNIK_DIR)
 	-$(INS.slink4)
@@ -117,10 +117,10 @@
 	-$(INS.slink5)
 
 $(USR_SPUTNIK_LIB_DIR): $(USR_SPUTNIK_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(USR_SPUTNIK_ISYS_DIR): $(USR_SPUTNIK_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(ROOT_SPUTNIK_MOD_DIR)/%: $(OBJS_DIR)/% $(ROOT_SPUTNIK_MOD_DIR)
 	$(INS.file)
@@ -132,10 +132,10 @@
 	$(INS.file)
 
 $(ROOT_SPUTNIK_DACF_DIR_32): $(ROOT_SPUTNIK_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_SPUTNIK_DACF_DIR_64): $(ROOT_SPUTNIK_DACF_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_SPUTNIK_DACF_DIR)/%: $(OBJS_DIR)/% $(ROOT_SPUTNIK_DACF_DIR)
 	$(INS.file)
--- a/usr/src/uts/sun4u/montecarlo/Makefile.targ.shared	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/sun4u/montecarlo/Makefile.targ.shared	Wed Oct 07 16:55:54 2009 -0700
@@ -2,9 +2,8 @@
 # CDDL HEADER START
 #
 # The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License").  You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
 #
 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
 # or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,10 @@
 # CDDL HEADER END
 #
 #
-# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-#ident	"%Z%%M%	%I%	%E% SMI"
+
 #
 #	Common targets for sun4u MonteCarlo implementation specific modules.
 #
@@ -31,7 +30,7 @@
 # Platform targets
 #
 $(ROOT_MONTECARLO_DIR): $(ROOT_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 .KEEP_STATE:
 
@@ -39,28 +38,28 @@
 # Rules for implementation subdirectories.
 #
 $(ROOT_MONTECARLO_MOD_DIR): $(ROOT_MONTECARLO_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_MONTECARLO_DACF_DIR_32): $(ROOT_MONTECARLO_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_MONTECARLO_DACF_DIR_64): $(ROOT_MONTECARLO_DACF_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_MONTECARLO_DRV_DIR_32): $(ROOT_MONTECARLO_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_MONTECARLO_DRV_DIR_64): $(ROOT_MONTECARLO_DRV_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_MONTECARLO_MISC_DIR_32): $(ROOT_MONTECARLO_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_MONTECARLO_MISC_DIR_64): $(ROOT_MONTECARLO_MISC_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_MONTECARLO_DIR): $(USR_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_MONTECARLO_INC_DIR): $(USR_MONTECARLO_DIR)
 	-$(INS.slink4)
@@ -69,10 +68,10 @@
 	-$(INS.slink5)
 
 $(USR_MONTECARLO_LIB_DIR): $(USR_MONTECARLO_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(USR_MONTECARLO_ISYS_DIR): $(USR_MONTECARLO_INC_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(ROOT_MONTECARLO_MOD_DIR)/%: $(OBJS_DIR)/% $(ROOT_MONTECARLO_MOD_DIR) FRC
 	$(INS.file)
--- a/usr/src/uts/sun4u/montecarlo/sys/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/sun4u/montecarlo/sys/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -58,7 +58,7 @@
 	$(INS.file)
 
 $(ROOTDIRS):
-	$(INS.dir.root.bin)
+	$(INS.dir)
 
 FRC:
 
--- a/usr/src/uts/sun4u/mpxu/Makefile.targ.shared	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/sun4u/mpxu/Makefile.targ.shared	Wed Oct 07 16:55:54 2009 -0700
@@ -33,40 +33,40 @@
 # Rules for implementation subdirectories.
 #
 $(ROOT_MPXU_DIR): $(ROOT_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_MPXU_MOD_DIR): $(ROOT_MPXU_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_MPXU_DRV_DIR_32): $(ROOT_MPXU_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_MPXU_DRV_DIR_64): $(ROOT_MPXU_DRV_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_MPXU_MISC_DIR_32): $(ROOT_MPXU_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_MPXU_MISC_DIR_64): $(ROOT_MPXU_MISC_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_MPXU_CRYPTO_DIR_32): $(ROOT_MPXU_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_MPXU_CRYPTO_DIR_64): $(ROOT_MPXU_CRYPTO_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_MPXU_DIR): $(USR_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_MPXU_INC_DIR): $(USR_MPXU_DIR)
 	$(INS.slink4)
 
 $(USR_MPXU_ISYS_DIR): $(USR_MPXU_INC_DIR)
-	$(INS.dir.root.bin)
+	$(INS.dir)
 
 $(USR_MPXU_SBIN_DIR): $(USR_MPXU_DIR)
-	$(INS.dir.root.bin)
+	$(INS.dir)
 
 $(USR_MPXU_SBIN_PRTDIAG): $(USR_MPXU_SBIN_DIR)
 	$(RM) -r $@; $(SYMLINK) ../../$(PLATFORM)/sbin/prtdiag $@
@@ -84,7 +84,7 @@
 	$(INS.slink3)
 
 $(USR_MPXU_LIB_DIR): $(USR_MPXU_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(ROOT_MPXU_MISC_DIR)/%: $(OBJS_DIR)/% $(ROOT_MPXU_MISC_DIR)
 	$(INS.file)
--- a/usr/src/uts/sun4u/mpxu/sys/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/sun4u/mpxu/sys/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -63,7 +63,7 @@
 	$(INS.file)
 
 $(ROOTDIRS):
-	$(INS.dir.root.bin)
+	$(INS.dir)
 
 FRC:
 
--- a/usr/src/uts/sun4u/ngdr/sys/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/sun4u/ngdr/sys/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -60,7 +60,7 @@
 	$(INS.file)
 
 $(ROOTDIRS):
-	$(INS.dir.root.bin)
+	$(INS.dir)
 
 FRC:
 
--- a/usr/src/uts/sun4u/opl/Makefile.targ.shared	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/sun4u/opl/Makefile.targ.shared	Wed Oct 07 16:55:54 2009 -0700
@@ -33,43 +33,43 @@
 # Rules for implementation subdirectories.
 #
 $(ROOT_OPL_DIR): $(ROOT_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_OPL_MOD_DIR): $(ROOT_OPL_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_OPL_DRV_DIR_32): $(ROOT_OPL_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_OPL_DRV_DIR_64): $(ROOT_OPL_DRV_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_OPL_CPU_DIR_32): $(ROOT_OPL_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_OPL_CPU_DIR_64): $(ROOT_OPL_CPU_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_OPL_MISC_DIR_32): $(ROOT_OPL_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_OPL_MISC_DIR_64): $(ROOT_OPL_MISC_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_OPL_CRYPTO_DIR_32): $(ROOT_OPL_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_OPL_CRYPTO_DIR_64): $(ROOT_OPL_CRYPTO_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_OPL_DIR): $(USR_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_OPL_INC_DIR): $(USR_OPL_DIR) $(USR_PSM_INCL_DIR)
 	$(INS.slink4)
 
 $(USR_OPL_SBIN_DIR):	$(USR_OPL_DIR) $(USR_PSM_SBIN_DIR)
-	$(INS.dir.root.bin)
+	$(INS.dir)
 
 $(USR_OPL_SBIN_PRTDIAG): $(USR_OPL_SBIN_DIR)
 	$(RM) -r $@; $(SYMLINK) ../../$(PLATFORM)/sbin/prtdiag $@
@@ -81,10 +81,10 @@
 	$(RM) -r $@; $(SYMLINK) ../../$(PLATFORM)/sbin/fruadm $@
 
 $(USR_OPL_LIB_DIR):	$(USR_OPL_DIR) $(USR_PSM_LIB_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(USR_OPL_ISYS_DIR): $(USR_OPL_INC_DIR)
-	$(INS.dir.root.bin)
+	$(INS.dir)
 
 $(ROOT_OPL_KERN_DIR)/%: $(OBJS_DIR)/% $(ROOT_OPL_KERN_DIR) FRC
 	$(INS.file)
--- a/usr/src/uts/sun4u/opl/sys/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/sun4u/opl/sys/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -93,9 +93,6 @@
 $(USR_OPL_ISYS_DIR)/%:	% $(USR_OPL_ISYS_DIR)
 	$(INS.file)
 
-$(ROOTDIRS):
-	$(INS.dir.bin.bin)
-
 FRC:
 
 include ../Makefile.targ
--- a/usr/src/uts/sun4u/quasar/Makefile.targ	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/sun4u/quasar/Makefile.targ	Wed Oct 07 16:55:54 2009 -0700
@@ -2,9 +2,8 @@
 # CDDL HEADER START
 #
 # The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License").  You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
 #
 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
 # or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,10 @@
 # CDDL HEADER END
 #
 #
-# Copyright 1999-2003 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-#ident	"%Z%%M%	%I%	%E% SMI"
+
 #
 #	Common targets for sun4u implementation specific modules.
 #
@@ -36,16 +35,16 @@
 # Rules for implementation subdirectories.
 #
 $(ROOT_QUASAR_DIR): $(ROOT_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_QUASAR_MOD_DIR): $(ROOT_QUASAR_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_QUASAR_MISC_DIR_32): $(ROOT_QUASAR_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_QUASAR_MISC_DIR_64): $(ROOT_QUASAR_MISC_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_QUASAR_DIR): $(USR_PLAT_DIR)
 	-$(INS.slink3)
--- a/usr/src/uts/sun4u/schumacher/Makefile.targ	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/sun4u/schumacher/Makefile.targ	Wed Oct 07 16:55:54 2009 -0700
@@ -32,37 +32,37 @@
 # Rules for implementation subdirectories.
 #
 $(ROOT_SCHUMACHER_DIR): $(ROOT_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_SCHUMACHER_MOD_DIR): $(ROOT_SCHUMACHER_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_SCHUMACHER_MISC_DIR_32): $(ROOT_SCHUMACHER_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_SCHUMACHER_MISC_DIR): $(ROOT_SCHUMACHER_MISC_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_SCHUMACHER_DRV_DIR_32): $(ROOT_SCHUMACHER_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_SCHUMACHER_DRV_DIR): $(ROOT_SCHUMACHER_DRV_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_SCHUMACHER_CRYPTO_DIR_32): $(ROOT_SCHUMACHER_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_SCHUMACHER_CRYPTO_DIR_64): $(ROOT_SCHUMACHER_CRYPTO_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_SCHUMACHER_DIR): $(USR_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_SCHUMACHER_INC_DIR): $(USR_SCHUMACHER_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(USR_SCHUMACHER_SBIN_DIR): $(USR_SCHUMACHER_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(USR_SCHUMACHER_SBIN_PRTDIAG): $(USR_SCHUMACHER_SBIN_DIR)
 	$(RM) -r $@; $(SYMLINK) ../../$(PLATFORM)/sbin/prtdiag $@
@@ -74,10 +74,7 @@
 	$(RM) -r $@; $(SYMLINK) ../../$(PLATFORM)/sbin/fruadm $@
 
 $(USR_SCHUMACHER_LIB_DIR): $(USR_SCHUMACHER_DIR)
-	-$(INS.dir.root.bin)
-
-$(USR_SCHUMACHER_ISYS_DIR): $(USR_SCHUMACHER_INC_DIR)
-	-$(INS.dir.bin.bin)
+	-$(INS.dir)
 
 $(ROOT_SCHUMACHER_MOD_DIR)/%: $(OBJS_DIR)/% $(ROOT_SCHUMACHER_MOD_DIR)
 	$(INS.file)
--- a/usr/src/uts/sun4u/seattle/Makefile.targ	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/sun4u/seattle/Makefile.targ	Wed Oct 07 16:55:54 2009 -0700
@@ -33,37 +33,37 @@
 # Rules for implementation subdirectories.
 #
 $(ROOT_SEATTLE_DIR): $(ROOT_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_SEATTLE_MOD_DIR): $(ROOT_SEATTLE_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_SEATTLE_MISC_DIR_32): $(ROOT_SEATTLE_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_SEATTLE_MISC_DIR_64): $(ROOT_SEATTLE_MISC_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_SEATTLE_DRV_DIR_32): $(ROOT_SEATTLE_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_SEATTLE_DRV_DIR_64): $(ROOT_SEATTLE_DRV_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_SEATTLE_CRYPTO_DIR_32): $(ROOT_SEATTLE_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_SEATTLE_CRYPTO_DIR_64): $(ROOT_SEATTLE_CRYPTO_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_SEATTLE_DIR): $(USR_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_SEATTLE_INC_DIR): $(USR_SEATTLE_DIR)
 	-$(INS.slink4)
 
 $(USR_SEATTLE_SBIN_DIR): $(USR_SEATTLE_DIR)
-	$(INS.dir.root.bin)
+	$(INS.dir)
 
 $(USR_SEATTLE_SBIN_PRTDIAG): $(USR_SEATTLE_SBIN_DIR)
 	$(RM) -r $@; $(SYMLINK) ../../$(PLATFORM)/sbin/prtdiag $@
@@ -81,10 +81,10 @@
 	$(INS.slink3)
 
 $(USR_SEATTLE_LIB_DIR): $(USR_SEATTLE_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(USR_SEATTLE_ISYS_DIR): $(USR_SEATTLE_INC_DIR)
-	$(INS.dir.root.bin)
+	$(INS.dir)
 
 $(ROOT_SEATTLE_MOD_DIR)/%: $(OBJS_DIR)/% $(ROOT_SEATTLE_MOD_DIR)
 	$(INS.file)
--- a/usr/src/uts/sun4u/serengeti/Makefile.targ.shared	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/sun4u/serengeti/Makefile.targ.shared	Wed Oct 07 16:55:54 2009 -0700
@@ -2,9 +2,8 @@
 # CDDL HEADER START
 #
 # The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License").  You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
 #
 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
 # or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,10 @@
 # CDDL HEADER END
 #
 #
-# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-#ident	"%Z%%M%	%I%	%E% SMI"
+
 #
 #	Common targets for sun4u Serengeti implementation specific modules.
 #
@@ -34,49 +33,49 @@
 # Rules for implementation subdirectories.
 #
 $(ROOT_SERENGETI_DIR): $(ROOT_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_SERENGETI_MOD_DIR): $(ROOT_SERENGETI_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_SERENGETI_CPU_DIR_32): $(ROOT_SERENGETI_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_SERENGETI_CPU_DIR_64): $(ROOT_SERENGETI_CPU_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_SERENGETI_DRV_DIR_32): $(ROOT_SERENGETI_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_SERENGETI_DRV_DIR_64): $(ROOT_SERENGETI_DRV_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_SERENGETI_MISC_DIR_32): $(ROOT_SERENGETI_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_SERENGETI_MISC_DIR_64): $(ROOT_SERENGETI_MISC_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_SERENGETI_CRYPTO_DIR_32): $(ROOT_SERENGETI_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_SERENGETI_CRYPTO_DIR_64): $(ROOT_SERENGETI_CRYPTO_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_SERENGETI_DIR): $(USR_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_SERENGETI_INC_DIR): $(USR_SERENGETI_DIR)
 	$(INS.slink4)
 
 $(USR_SERENGETI_ISYS_DIR): $(USR_SERENGETI_INC_DIR)
-	$(INS.dir.root.bin)
+	$(INS.dir)
 
 $(USR_SERENGETI_SBIN_DIR): $(USR_SERENGETI_DIR)
 	$(INS.slink5)
 
 $(USR_SERENGETI_LIB_DIR): $(USR_SERENGETI_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(ROOT_SERENGETI_MISC_DIR)/%: $(OBJS_DIR)/% $(ROOT_SERENGETI_MISC_DIR) FRC
 	$(INS.file)
--- a/usr/src/uts/sun4u/serengeti/sys/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/sun4u/serengeti/sys/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -60,7 +60,7 @@
 	$(INS.file)
 
 $(ROOTDIRS):
-	$(INS.dir.root.bin)
+	$(INS.dir)
 
 FRC:
 
--- a/usr/src/uts/sun4u/snowbird/Makefile.targ	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/sun4u/snowbird/Makefile.targ	Wed Oct 07 16:55:54 2009 -0700
@@ -33,34 +33,34 @@
 # Rules for implementation subdirectories.
 #
 $(ROOT_SNOWBIRD_DIR): $(ROOT_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_SNOWBIRD_MOD_DIR): $(ROOT_SNOWBIRD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_SNOWBIRD_DRV_DIR_32): $(ROOT_SNOWBIRD_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_SNOWBIRD_DRV_DIR_64): $(ROOT_SNOWBIRD_DRV_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_SNOWBIRD_TOD_DIR_32): $(ROOT_SNOWBIRD_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_SNOWBIRD_TOD_DIR_64): $(ROOT_SNOWBIRD_TOD_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_SNOWBIRD_MISC_DIR_32): $(ROOT_SNOWBIRD_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_SNOWBIRD_MISC_DIR_64): $(ROOT_SNOWBIRD_MISC_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_SNOWBIRD_DACF_DIR_32): $(ROOT_SNOWBIRD_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_SNOWBIRD_DACF_DIR_64): $(ROOT_SNOWBIRD_DACF_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_SNOWBIRD_MOD_DIR)/%: $(OBJS_DIR)/% $(ROOT_SNOWBIRD_MOD_DIR) FRC
 	$(INS.file)
@@ -78,13 +78,13 @@
 	$(INS.file)
 
 $(USR_SNOWBIRD_DIR):	$(USR_PLAT_DIR)
-	$(INS.dir.root.sys)
+	$(INS.dir)
 
 $(USR_SNOWBIRD_INC_DIR):	$(USR_SNOWBIRD_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(USR_SNOWBIRD_SBIN_DIR): $(USR_SNOWBIRD_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(USR_SNOWBIRD_SBIN_PRTDIAG): $(USR_SNOWBIRD_SBIN_DIR)
 	$(RM) -r $@; $(SYMLINK) ../../$(PLATFORM)/sbin/prtdiag $@
@@ -96,10 +96,10 @@
 	$(RM) -r $@; $(SYMLINK) ../../$(PLATFORM)/sbin/fruadm $@
 
 $(USR_SNOWBIRD_LIB_DIR): $(USR_SNOWBIRD_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(USR_SNOWBIRD_ISYS_DIR):	$(USR_SNOWBIRD_INC_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 #
 #	Include common targets.
--- a/usr/src/uts/sun4u/snowbird/sys/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/sun4u/snowbird/sys/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -58,7 +58,7 @@
 	$(INS.file)
 
 $(ROOTDIR):
-	$(INS.dir.root.bin)
+	$(INS.dir)
 
 FRC:
 
--- a/usr/src/uts/sun4u/starcat/Makefile.targ.shared	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/sun4u/starcat/Makefile.targ.shared	Wed Oct 07 16:55:54 2009 -0700
@@ -2,9 +2,8 @@
 # CDDL HEADER START
 #
 # The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License").  You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
 #
 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
 # or http://www.opensolaris.org/os/licensing.
@@ -19,10 +18,9 @@
 #
 # CDDL HEADER END
 #
+
 #
-#pragma ident	"%Z%%M%	%I%	%E% SMI"
-#
-# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
 #	Common targets for sun4u starcat implementation specific modules.
@@ -34,37 +32,37 @@
 # Rules for implementation subdirectories.
 #
 $(ROOT_STARCAT_DIR): $(ROOT_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_STARCAT_MOD_DIR): $(ROOT_STARCAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_STARCAT_CPU_DIR_32): $(ROOT_STARCAT_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_STARCAT_CPU_DIR_64): $(ROOT_STARCAT_CPU_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_STARCAT_DRV_DIR_32): $(ROOT_STARCAT_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_STARCAT_DRV_DIR_64): $(ROOT_STARCAT_DRV_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_STARCAT_MISC_DIR_32): $(ROOT_STARCAT_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_STARCAT_MISC_DIR_64): $(ROOT_STARCAT_MISC_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_STARCAT_CRYPTO_DIR_32): $(ROOT_STARCAT_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_STARCAT_CRYPTO_DIR_64): $(ROOT_STARCAT_CRYPTO_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_STARCAT_DIR): $(USR_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_STARCAT_INC_DIR): $(USR_STARCAT_DIR)
 	$(INS.slink4)
@@ -73,10 +71,10 @@
 	-$(INS.slink5)
 
 $(USR_STARCAT_LIB_DIR): $(USR_STARCAT_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(USR_STARCAT_ISYS_DIR): $(USR_STARCAT_INC_DIR)
-	$(INS.dir.root.bin)
+	$(INS.dir)
 
 $(ROOT_STARCAT_KERN_DIR)/%: $(OBJS_DIR)/% $(ROOT_STARCAT_KERN_DIR) FRC
 	$(INS.file)
--- a/usr/src/uts/sun4u/starcat/sys/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/sun4u/starcat/sys/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -69,9 +69,6 @@
 $(USR_STARCAT_ISYS_DIR)/%:	% $(USR_STARCAT_ISYS_DIR)
 	$(INS.file)
 
-$(ROOTDIRS):
-	$(INS.dir.bin.bin)
-
 FRC:
 
 include ../Makefile.targ
--- a/usr/src/uts/sun4u/starfire/Makefile.targ	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/sun4u/starfire/Makefile.targ	Wed Oct 07 16:55:54 2009 -0700
@@ -2,9 +2,8 @@
 # CDDL HEADER START
 #
 # The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License").  You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
 #
 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
 # or http://www.opensolaris.org/os/licensing.
@@ -19,10 +18,9 @@
 #
 # CDDL HEADER END
 #
+
 #
-#ident	"%Z%%M%	%I%	%E% SMI"
-#
-# Copyright 1997-2003 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
 #	Common targets for sun4u starfire implementation specific modules.
@@ -34,34 +32,34 @@
 # Rules for implementation subdirectories.
 #
 $(ROOT_STARFIRE_DIR): $(ROOT_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_STARFIRE_MOD_DIR): $(ROOT_STARFIRE_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_STARFIRE_KERN_DIR): $(ROOT_STARFIRE_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_STARFIRE_DRV_DIR_32): $(ROOT_STARFIRE_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_STARFIRE_DRV_DIR_64): $(ROOT_STARFIRE_DRV_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_STARFIRE_CPU_DIR_32): $(ROOT_STARFIRE_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_STARFIRE_CPU_DIR_64): $(ROOT_STARFIRE_CPU_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_STARFIRE_MISC_DIR_32): $(ROOT_STARFIRE_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_STARFIRE_MISC_DIR_64): $(ROOT_STARFIRE_MISC_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_STARFIRE_DIR): $(USR_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_STARFIRE_INC_DIR): $(USR_STARFIRE_DIR) $(USR_PSM_INCL_DIR)
 	$(INS.slink4)
@@ -70,10 +68,10 @@
 	-$(INS.slink5)
 
 $(USR_STARFIRE_LIB_DIR):	$(USR_STARFIRE_DIR) $(USR_PSM_LIB_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(USR_STARFIRE_ISYS_DIR): $(USR_STARFIRE_INC_DIR)
-	$(INS.dir.root.bin)
+	$(INS.dir)
 
 $(ROOT_STARFIRE_KERN_DIR)/%: $(OBJS_DIR)/% $(ROOT_STARFIRE_KERN_DIR) FRC
 	$(INS.file)
--- a/usr/src/uts/sun4u/starfire/sys/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/sun4u/starfire/sys/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -61,7 +61,7 @@
 	$(INS.file)
 
 $(ROOTDIRS):
-	$(INS.dir.root.bin)
+	$(INS.dir)
 
 FRC:
 
--- a/usr/src/uts/sun4u/sunfire/Makefile.targ.shared	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/sun4u/sunfire/Makefile.targ.shared	Wed Oct 07 16:55:54 2009 -0700
@@ -20,10 +20,10 @@
 #
 
 #
-# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-#ident	"%Z%%M%	%I%	%E% SMI"
+
 #
 #	Common targets for sun4u implementation specific modules.
 #
@@ -34,37 +34,37 @@
 # Rules for implementation subdirectories.
 #
 $(ROOT_SUNFIRE_DIR): $(ROOT_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_SUNFIRE_MOD_DIR): $(ROOT_SUNFIRE_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_SUNFIRE_MISC_DIR_32): $(ROOT_SUNFIRE_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_SUNFIRE_MISC_DIR_64): $(ROOT_SUNFIRE_MISC_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_SUNFIRE_DRV_DIR_32): $(ROOT_SUNFIRE_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_SUNFIRE_DRV_DIR_64): $(ROOT_SUNFIRE_DRV_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_SUNFIRE_DIR): $(USR_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_SUNFIRE_INC_DIR):		$(USR_SUNFIRE_DIR) $(USR_PSM_INCL_DIR)
 	$(INS.slink4)
 
 $(USR_SUNFIRE_ISYS_DIR): $(USR_SUNFIRE_INC_DIR)
-	$(INS.dir.root.bin)
+	$(INS.dir)
 
 $(USR_SUNFIRE_SBIN_DIR):	$(USR_SUNFIRE_DIR) $(USR_PSM_SBIN_DIR)
 	$(INS.slink5)
 
 $(USR_SUNFIRE_LIB_DIR):		$(USR_SUNFIRE_DIR) $(USR_PSM_LIB_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(ROOT_SUNFIRE_MISC_DIR)/%: $(OBJS_DIR)/% $(ROOT_SUNFIRE_MISC_DIR) FRC
 	$(INS.file)
--- a/usr/src/uts/sun4u/sunfire/sys/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/sun4u/sunfire/sys/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -60,7 +60,7 @@
 	$(INS.file)
 
 $(ROOTDIRS):
-	$(INS.dir.root.bin)
+	$(INS.dir)
 
 FRC:
 
--- a/usr/src/uts/sun4u/sys/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/sun4u/sys/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -163,10 +163,10 @@
 # install rules
 #
 $(USR_PSM_MON_DIR):	$(USR_PSM_ISYS_DIR)
-	$(INS.dir.root.bin)
+	$(INS.dir)
 
 $(USR_PSM_ISYS_I2C_DIRS):
-	$(INS.dir.root.bin)
+	$(INS.dir)
 
 $(USR_PSM_ISYS_DIR)/%:	$(CLOSED)/uts/sun4u/sys/% $(USR_PSM_ISYS_DIR)
 	$(INS.file)
@@ -184,7 +184,7 @@
 	$(INS.file)
 
 $(ROOTDIRS):
-	$(INS.dir.root.bin)
+	$(INS.dir)
 
 # -r because this used to be a directory and is now a link.
 $(ROOTLINK):	$(ROOTDIRS)
--- a/usr/src/uts/sun4u/taco/Makefile.targ	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/sun4u/taco/Makefile.targ	Wed Oct 07 16:55:54 2009 -0700
@@ -2,9 +2,8 @@
 # CDDL HEADER START
 #
 # The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License").  You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
 #
 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
 # or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,10 @@
 # CDDL HEADER END
 #
 #
-# Copyright 2002-2003 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-#ident	"%Z%%M%	%I%	%E% SMI"
+
 #
 #	Common targets for sun4u implementation specific modules.
 #
@@ -36,31 +35,31 @@
 # Rules for implementation subdirectories.
 #
 $(ROOT_TACO_DIR): $(ROOT_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_TACO_MOD_DIR): $(ROOT_TACO_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_TACO_MISC_DIR_32): $(ROOT_TACO_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_TACO_MISC_DIR_64): $(ROOT_TACO_MISC_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_TACO_DRV_DIR_32): $(ROOT_TACO_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_TACO_DRV_DIR_64): $(ROOT_TACO_DRV_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_TACO_CRYPTO_DIR_32): $(ROOT_TACO_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_TACO_CRYPTO_DIR_64): $(ROOT_TACO_CRYPTO_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_TACO_DIR): $(USR_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_TACO_INC_DIR): $(USR_TACO_DIR)
 	-$(INS.slink4)
@@ -69,10 +68,7 @@
 	-$(INS.slink5)
 
 $(USR_TACO_LIB_DIR): $(USR_TACO_DIR)
-	-$(INS.dir.root.bin)
-
-$(USR_TACO_ISYS_DIR): $(USR_TACO_INC_DIR)
-	-$(INS.dir.bin.bin)
+	-$(INS.dir)
 
 $(ROOT_TACO_MOD_DIR)/%: $(OBJS_DIR)/% $(ROOT_TACO_MOD_DIR)
 	$(INS.file)
--- a/usr/src/uts/sun4u/tazmo/Makefile.targ.shared	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/sun4u/tazmo/Makefile.targ.shared	Wed Oct 07 16:55:54 2009 -0700
@@ -2,9 +2,8 @@
 # CDDL HEADER START
 #
 # The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License").  You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
 #
 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
 # or http://www.opensolaris.org/os/licensing.
@@ -20,10 +19,10 @@
 # CDDL HEADER END
 #
 #
-# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-#ident	"%Z%%M%	%I%	%E% SMI"
+
 #
 #	Common targets for sun4u Tazmo implementation specific modules.
 #
@@ -36,25 +35,25 @@
 # Rules for implementation subdirectories.
 #
 $(ROOT_TAZMO_DIR): $(ROOT_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_TAZMO_MOD_DIR): $(ROOT_TAZMO_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_TAZMO_DRV_DIR_32): $(ROOT_TAZMO_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_TAZMO_DRV_DIR_64): $(ROOT_TAZMO_DRV_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_TAZMO_MISC_DIR_32): $(ROOT_TAZMO_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_TAZMO_MISC_DIR_64): $(ROOT_TAZMO_MISC_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_TAZMO_DIR): $(USR_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_TAZMO_INC_DIR): $(USR_TAZMO_DIR)
 	-$(INS.slink4)
@@ -63,10 +62,7 @@
 	-$(INS.slink5)
 
 $(USR_TAZMO_LIB_DIR): $(USR_TAZMO_DIR)
-	-$(INS.dir.root.bin)
-
-$(USR_TAZMO_ISYS_DIR): $(USR_TAZMO_INC_DIR)
-	-$(INS.dir.bin.bin)
+	-$(INS.dir)
 
 $(ROOT_TAZMO_MOD_DIR)/%: $(OBJS_DIR)/% $(ROOT_TAZMO_MOD_DIR) FRC
 	$(INS.file)
--- a/usr/src/uts/sun4u/vm/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/sun4u/vm/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -63,7 +63,7 @@
 	$(INS.file)
 
 $(ROOTDIRS):
-	$(INS.dir.root.bin)
+	$(INS.dir)
 
 # -r because this used to be a directory and is now a link.
 $(ROOTLINK):	$(ROOTDIRS)
--- a/usr/src/uts/sun4v/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/sun4v/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -139,7 +139,7 @@
 # here in kernel land.
 #
 $(ROOT_PLAT_DIRS): $(ROOT_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(LINKED_PLATFORMS:%=$(ROOT_PLAT_DIR)/%): $(ROOT_PLAT_DIR)
 	$(INS.slink1)
@@ -153,7 +153,7 @@
 # that are linked to it.
 #
 $(USR_PLAT_DIR)/$(IMPLEMENTED_PLATFORM):	$(USR_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 #
 # create the links in /usr/platform/ foreach $(LINKED_PLATFORMS)
@@ -208,76 +208,76 @@
 	$(INS.slink5)
 
 $(USR_DESKTOP_LIB_DIR):		$(USR_DESKTOP_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(USR_STPAUL_DIR):		$(USR_SUN4V_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_STPAUL_SBIN_DIR):		$(USR_STPAUL_DIR)
 	$(INS.slink5)
 
 $(USR_STPAUL_LIB_DIR):		$(USR_STPAUL_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(USR_HURON_DIR):		$(USR_SUN4V_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_HURON_SBIN_DIR):		$(USR_HURON_DIR)
 	$(INS.slink5)
 
 $(USR_HURON_LIB_DIR):		$(USR_HURON_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(USR_GLENDALE_DIR):		$(USR_SUN4V_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_GLENDALE_SBIN_DIR):		$(USR_GLENDALE_DIR)
 	$(INS.slink5)
 
 $(USR_GLENDALE_LIB_DIR):		$(USR_GLENDALE_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(USR_MARAMBA_DIR):		$(USR_SUN4V_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_MARAMBA_SBIN_DIR):	$(USR_MARAMBA_DIR)
 	$(INS.slink5)
 
 $(USR_MARAMBA_LIB_DIR):		$(USR_MARAMBA_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(USR_THUNDER_DIR):		$(USR_SUN4V_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_THUNDER_SBIN_DIR):	$(USR_THUNDER_DIR)
 	$(INS.slink5)
 
 $(USR_THUNDER_LIB_DIR):		$(USR_THUNDER_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(USR_TURGO_DIR):		$(USR_SUN4V_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_TURGO_SBIN_DIR):		$(USR_TURGO_DIR)
 	$(INS.slink5)
 
 $(USR_TURGO_LIB_DIR):		$(USR_TURGO_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(USR_CONGO_DIR):		$(USR_SUN4V_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_CONGO_SBIN_DIR):		$(USR_CONGO_DIR)
 	$(INS.slink5)
 
 $(USR_CONGO_LIB_DIR):		$(USR_CONGO_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(USR_MONZA_DIR):		$(USR_SUN4V_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_MONZA_SBIN_DIR):		$(USR_MONZA_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_MONZA_SBIN_LINKS):	$(USR_MONZA_SBIN_DIR)
 	$(INS.slink7)
--- a/usr/src/uts/sun4v/montoya/Makefile.targ	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/sun4v/montoya/Makefile.targ	Wed Oct 07 16:55:54 2009 -0700
@@ -30,25 +30,25 @@
 # Rules for implementation subdirectories.
 #
 $(ROOT_MONTOYA_DIR): $(ROOT_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_MONTOYA_MOD_DIR): $(ROOT_MONTOYA_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_MONTOYA_DRV_DIR_32): $(ROOT_MONTOYA_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_MONTOYA_DRV_DIR_64): $(ROOT_MONTOYA_DRV_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_MONTOYA_LIB_DIR): $(ROOT_MONTOYA_DIR)
 	-$(INS.slink2)
 
 $(ROOT_MONTOYA_MISC_DIR_32): $(ROOT_MONTOYA_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_MONTOYA_MISC_DIR_64): $(ROOT_MONTOYA_MISC_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_MONTOYA_MOD_DIR)/%: $(OBJS_DIR)/% $(ROOT_MONTOYA_MOD_DIR) FRC
 	$(INS.file)
@@ -60,19 +60,19 @@
 	$(INS.file)
 
 $(USR_MONTOYA_DIR):	$(USR_SUN4V_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_MONTOYA_INC_DIR):	$(USR_MONTOYA_DIR)
 	-$(INS.slink4)
 
 $(USR_MONTOYA_ISYS_DIR):	$(USR_MONTOYA_INC_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_MONTOYA_SBIN_DIR):	$(USR_MONTOYA_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(USR_MONTOYA_LIB_DIR):	$(USR_MONTOYA_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%): $(USR_PLAT_DIR)
 	$(INS.slink3)
--- a/usr/src/uts/sun4v/ontario/Makefile.targ	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/sun4v/ontario/Makefile.targ	Wed Oct 07 16:55:54 2009 -0700
@@ -18,10 +18,7 @@
 #
 # CDDL HEADER END
 #
-#
-#pragma ident	"%Z%%M%	%I%	%E% SMI"
-#
-# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
 #	Common targets for sun4v platform-implementation specific modules.
@@ -33,25 +30,25 @@
 # Rules for implementation subdirectories.
 #
 $(ROOT_ONTARIO_DIR): $(ROOT_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_ONTARIO_MOD_DIR): $(ROOT_ONTARIO_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_ONTARIO_DRV_DIR_32): $(ROOT_ONTARIO_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_ONTARIO_DRV_DIR_64): $(ROOT_ONTARIO_DRV_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_ONTARIO_LIB_DIR): $(ROOT_ONTARIO_DIR)
 	-$(INS.slink2)
 
 $(ROOT_ONTARIO_MISC_DIR_32): $(ROOT_ONTARIO_MOD_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_ONTARIO_MISC_DIR_64): $(ROOT_ONTARIO_MISC_DIR_32)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(ROOT_ONTARIO_MOD_DIR)/%: $(OBJS_DIR)/% $(ROOT_ONTARIO_MOD_DIR) FRC
 	$(INS.file)
@@ -63,19 +60,19 @@
 	$(INS.file)
 
 $(USR_ONTARIO_DIR):	$(USR_SUN4V_PLAT_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_ONTARIO_INC_DIR):	$(USR_ONTARIO_DIR)
 	-$(INS.slink4)
 
 $(USR_ONTARIO_ISYS_DIR):	$(USR_ONTARIO_INC_DIR)
-	-$(INS.dir.root.sys)
+	-$(INS.dir)
 
 $(USR_ONTARIO_SBIN_DIR):	$(USR_ONTARIO_DIR)
 	-$(INS.slink5)
 
 $(USR_ONTARIO_LIB_DIR):	$(USR_ONTARIO_DIR)
-	-$(INS.dir.root.bin)
+	-$(INS.dir)
 
 $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%): $(USR_PLAT_DIR)
 	$(INS.slink3)
--- a/usr/src/uts/sun4v/sys/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/sun4v/sys/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -143,7 +143,7 @@
 	$(INS.file)
 
 $(ROOTDIRS):
-	$(INS.dir.root.bin)
+	$(INS.dir)
 
 # -r because this used to be a directory and is now a link.
 $(ROOTLINK):	$(ROOTDIRS)
--- a/usr/src/uts/sun4v/vm/Makefile	Wed Oct 07 16:47:57 2009 -0700
+++ b/usr/src/uts/sun4v/vm/Makefile	Wed Oct 07 16:55:54 2009 -0700
@@ -63,7 +63,7 @@
 	$(INS.file)
 
 $(ROOTDIRS):
-	$(INS.dir.root.bin)
+	$(INS.dir)
 
 # -r because this used to be a directory and is now a link.
 $(ROOTLINK):	$(ROOTDIRS)