1 # |
1 # |
2 # Copyright (c) 2005, 2007, Oracle and/or its affiliates. All rights reserved. |
2 # Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. |
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 # |
4 # |
5 # This code is free software; you can redistribute it and/or modify it |
5 # This code is free software; you can redistribute it and/or modify it |
6 # under the terms of the GNU General Public License version 2 only, as |
6 # under the terms of the GNU General Public License version 2 only, as |
7 # published by the Free Software Foundation. Oracle designates this |
7 # published by the Free Software Foundation. Oracle designates this |
89 # COMPILER_PATH: path to where the compiler and tools are installed. |
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. |
90 # NOTE: Must end with / so that it could be empty, allowing PATH usage. |
91 ifneq "$(origin ALT_COMPILER_PATH)" "undefined" |
91 ifneq "$(origin ALT_COMPILER_PATH)" "undefined" |
92 COMPILER_PATH :=$(call PrefixPath,$(ALT_COMPILER_PATH)) |
92 COMPILER_PATH :=$(call PrefixPath,$(ALT_COMPILER_PATH)) |
93 else |
93 else |
94 # Careful here, REQUIRED_COMPILER_VERSION may not be defined yet (see Defs-versions.gmk) |
|
95 # If the place where we keep a set of Sun Studio compilers doesn't exist, |
94 # 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. |
95 # try and use /opt/SUNWspro, the default location for the SS compilers. |
97 # (DirExists checks for this path twice, an automount double check) |
96 # (DirExists checks for this path twice, an automount double check) |
98 _SUNSTUDIO_SET_ROOT=$(JDK_DEVTOOLS_DIR)/$(ARCH_FAMILY)/SUNWspro |
97 _SUNSTUDIO_SET_ROOT=$(JDK_DEVTOOLS_DIR)/$(ARCH_FAMILY)/SUNWspro |
99 SUNSTUDIO_SET_ROOT:=$(call DirExists,$(_SUNSTUDIO_SET_ROOT),$(_SUNSTUDIO_SET_ROOT),) |
98 SUNSTUDIO_SET_ROOT:=$(call DirExists,$(_SUNSTUDIO_SET_ROOT),$(_SUNSTUDIO_SET_ROOT),) |