make/common/shared/Defs-solaris.gmk

changeset 194
0f60cf26c5b5
parent 158
91006f157c46
child 240
f90b3e014e83
equal deleted inserted replaced
185:519daea48888 194:0f60cf26c5b5
84 JDK_DEVTOOLS_DIR =$(ALT_JDK_DEVTOOLS_DIR) 84 JDK_DEVTOOLS_DIR =$(ALT_JDK_DEVTOOLS_DIR)
85 else 85 else
86 JDK_DEVTOOLS_DIR =$(SLASH_JAVA)/devtools 86 JDK_DEVTOOLS_DIR =$(SLASH_JAVA)/devtools
87 endif 87 endif
88 88
89 # COMPILER_PATH: path to where the compiler and tools are installed.
90 # NOTE: Must end with / so that it could be empty, allowing PATH usage.
91 ifneq "$(origin ALT_COMPILER_PATH)" "undefined"
92 COMPILER_PATH :=$(call PrefixPath,$(ALT_COMPILER_PATH))
93 else
94 # Careful here, COMPILER_VERSION may not be defined yet (see Compiler.gmk)
95 # If the place where we keep a set of Sun Studio compilers doesn't exist,
96 # try and use /opt/SUNWspro, the default location for the SS compilers.
97 # (DirExists checks for this path twice, an automount double check)
98 _SUNSTUDIO_SET_ROOT=$(JDK_DEVTOOLS_DIR)/$(ARCH_FAMILY)/SUNWspro
99 SUNSTUDIO_SET_ROOT:=$(call DirExists,$(_SUNSTUDIO_SET_ROOT),$(_SUNSTUDIO_SET_ROOT),)
100 ifneq ($(SUNSTUDIO_SET_ROOT),)
101 COMPILER_PATH =$(SUNSTUDIO_SET_ROOT)/$(COMPILER_VERSION)/bin/
102 else
103 COMPILER_PATH =/opt/SUNWspro/bin/
104 endif
105 endif
106
107 # DEVTOOLS_PATH: for other tools required for building (such as zip, etc.) 89 # DEVTOOLS_PATH: for other tools required for building (such as zip, etc.)
108 # NOTE: Must end with / so that it could be empty, allowing PATH usage. 90 # NOTE: Must end with / so that it could be empty, allowing PATH usage.
109 ifneq "$(origin ALT_DEVTOOLS_PATH)" "undefined" 91 ifneq "$(origin ALT_DEVTOOLS_PATH)" "undefined"
110 DEVTOOLS_PATH :=$(call PrefixPath,$(ALT_DEVTOOLS_PATH)) 92 DEVTOOLS_PATH :=$(call PrefixPath,$(ALT_DEVTOOLS_PATH))
111 else 93 else

mercurial