make-rules/shared-macros.mk
changeset 40 84267c1130e9
parent 38 cd00ea74156e
child 43 9f5ebe30300c
--- a/make-rules/shared-macros.mk	Fri Oct 15 16:16:53 2010 -0500
+++ b/make-rules/shared-macros.mk	Tue Oct 19 15:39:47 2010 -0500
@@ -81,14 +81,19 @@
 INSTALL_64 =		$(COMPONENT_SRC)/build-$(MACH64)/.installed
 INSTALL_32_and_64 =	$(INSTALL_32) $(INSTALL_64)
 
-SPRO_ROOT =	/opt/sunstudio12.1
+# BUILD_TOOLS is the root of all tools not normally installed on the system.
+BUILD_TOOLS =	/ws/onnv-tools
+
+SPRO_ROOT =	$(BUILD_TOOLS)/SUNWspro
+SPRO_VROOT =	$(SPRO_ROOT)/SS12
+
 GCC_ROOT =	/usr/gnu
 
-CC.studio.32 =	$(SPRO_ROOT)/bin/cc -m32
-CCC.studio.32 =	$(SPRO_ROOT)/bin/CC -m32
+CC.studio.32 =	$(SPRO_VROOT)/bin/cc -m32
+CCC.studio.32 =	$(SPRO_VROOT)/bin/CC -m32
 
-CC.studio.64 =	$(SPRO_ROOT)/bin/cc -m64
-CCC.studio.64 =	$(SPRO_ROOT)/bin/CC -m64
+CC.studio.64 =	$(SPRO_VROOT)/bin/cc -m64
+CCC.studio.64 =	$(SPRO_VROOT)/bin/CC -m64
 
 CC.gcc.32 =	$(GCC_ROOT)/bin/cc -m32
 CCC.gcc.32 =	$(GCC_ROOT)/bin/CC -m32