Print this page
7627 Build should be smarter about how SGSPROTO is created
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Kim Shrier <kshrier@racktopsystems.com>

@@ -19,10 +19,11 @@
 # CDDL HEADER END
 #
 
 #
 # Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved.
+# Copyright 2016 RackTop Systems.
 #
 
 # Standard install rules
 # The VAR_SGSBIN and VAR_SGSBIN64 install rules included here are applicable
 # to Solaris 10 and earlier releases. For post Solaris 10 releases, the 

@@ -229,6 +230,21 @@
         $(INS.liblinkccc)
 
 $(ROOTFS_LIBDIR64)/$(LIBLINKSCCC): $(ROOTFS_LIBDIR64)/$(LIBLINKSCCC)$(VERS)
         $(INS.liblinkccc64)
 
+#
+# For those that install into the SGSPROTO directory.
+#
+$(SGSPROTO):
+        $(INS.dir)
+
+$(SGSBINDIR): $(SGSPROTO)
+        $(INS.dir)
+
+$(SGSPREFIX): $(SGSPROTO)
+        $(INS.dir)
+
+$(SGSLIBDIR): $(SGSPREFIX)
+        $(INS.dir)
+
 FRC: