author | michaelm |
Tue, 06 Mar 2012 20:34:38 +0000 | |
changeset 12047 | 320a714614e9 |
parent 10048 | 2968c7bcabc1 |
child 13829 | 9da0d8f01a5a |
permissions | -rw-r--r-- |
2 | 1 |
# |
9035
1255eb81cc2f
7033660: Update copyright year to 2011 on any files changed in 2011
ohair
parents:
8586
diff
changeset
|
2 |
# Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved. |
2 | 3 |
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 |
# |
|
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 |
|
5506 | 7 |
# published by the Free Software Foundation. Oracle designates this |
2 | 8 |
# particular file as subject to the "Classpath" exception as provided |
5506 | 9 |
# by Oracle in the LICENSE file that accompanied this code. |
2 | 10 |
# |
11 |
# This code is distributed in the hope that it will be useful, but WITHOUT |
|
12 |
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
13 |
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
14 |
# version 2 for more details (a copy is included in the LICENSE file that |
|
15 |
# accompanied this code). |
|
16 |
# |
|
17 |
# You should have received a copy of the GNU General Public License version |
|
18 |
# 2 along with this work; if not, write to the Free Software Foundation, |
|
19 |
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
|
20 |
# |
|
5506 | 21 |
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
22 |
# or visit www.oracle.com if you need additional information or have any |
|
23 |
# questions. |
|
2 | 24 |
# |
25 |
||
26 |
# |
|
27 |
# Definitions for all platforms. |
|
28 |
# |
|
29 |
# Normally the convention is that these alternate definitions of |
|
30 |
# primary make variables are never defined inside the Makefiles anywhere |
|
31 |
# but are defined via environment variables or set on the make command |
|
32 |
# line. So you should never see an ALT_* variable defined in any |
|
33 |
# makefiles, just used. This is the convention and there are some |
|
34 |
# exceptions, either mistakes or unusual circumstances. |
|
35 |
# |
|
36 |
# The naming convention for the default value of one of these variables |
|
37 |
# that has an ALT_* override capability is to name the default value with a |
|
38 |
# leading underscore (_). So for XXX you would have: |
|
39 |
# _XXX default value |
|
40 |
# ALT_XXX any override the user is providing if any |
|
41 |
# XXX the final value, either the default _XXX or the ALT_XXX value. |
|
42 |
# |
|
43 |
||
44 |
# On Directory names. In very rare cases should the Windows directory |
|
45 |
# names use the backslash, please use the C:/ style of windows paths. |
|
46 |
# Avoid duplicating the // characters in paths, this has known to cause |
|
47 |
# strange problems with jar and other utilities, e.g. /a//b/ != /a/b/. |
|
48 |
# Some of these variables have an explicit trailing / character, but in |
|
49 |
# general, they should NOT have the trailing / character. |
|
50 |
||
51 |
# Get shared system utilities macros defined |
|
52 |
include $(JDK_MAKE_SHARED_DIR)/Defs-utils.gmk |
|
53 |
||
54 |
# Assumes ARCH, PLATFORM, ARCH_VM_SUBDIR, JDK_TOPDIR, etc. have been defined. |
|
55 |
||
56 |
# Simple pwd path |
|
8201
9e6915af34ba
7012644: Regression: jdk/make/common/shared/Defs-windows.gmk has problems on cygwin
ohair
parents:
7665
diff
changeset
|
57 |
# NOTE: Just use the shell's cd and pwd here, more reliable at sanity time. |
2 | 58 |
define PwdPath |
8201
9e6915af34ba
7012644: Regression: jdk/make/common/shared/Defs-windows.gmk has problems on cygwin
ohair
parents:
7665
diff
changeset
|
59 |
$(shell cd $1 2> $(DEV_NULL) && pwd) |
33
51a7bc3e93a0
6649672: Adjustments to OUTPUTDIR default and mkdirs to avoid empty directory clutter
ohair
parents:
2
diff
changeset
|
60 |
endef |
51a7bc3e93a0
6649672: Adjustments to OUTPUTDIR default and mkdirs to avoid empty directory clutter
ohair
parents:
2
diff
changeset
|
61 |
define AbsPwdPathCheck |
8201
9e6915af34ba
7012644: Regression: jdk/make/common/shared/Defs-windows.gmk has problems on cygwin
ohair
parents:
7665
diff
changeset
|
62 |
$(shell cd .. 2> $(DEV_NULL) && cd $1 2> $(DEV_NULL) && pwd) |
2 | 63 |
endef |
64 |
||
65 |
# Checks an ALT value for spaces (should be one word), |
|
66 |
# warns and returns Check_ALT_$1 if spaces |
|
67 |
define AltCheckSpaces |
|
68 |
$(if $(word 2,$($1)),$(warning "WARNING: Value of $1 contains a space: '$($1)', check or set ALT_$1")Check_ALT_$1,$($1)) |
|
69 |
endef |
|
70 |
||
71 |
# Checks an ALT value for empty, warns and returns Check_ALT_$1 if empty |
|
72 |
define AltCheckValue |
|
73 |
$(if $($1),$($1),$(warning "WARNING: Value of $1 cannot be empty, check or set ALT_$1")Check_ALT_$1) |
|
74 |
endef |
|
75 |
||
76 |
# Checks any value for empty, warns and returns $2 if empty |
|
77 |
define CheckValue |
|
78 |
$(if $($1),$($1),$(warning "WARNING: Value of $1 cannot be empty, will use '$2'")$2) |
|
79 |
endef |
|
80 |
||
81 |
# Prefix for a utility prefix path, if empty leave alone, otherwise end with a / |
|
82 |
define PrefixPath |
|
83 |
$(if $1,$(subst //,/,$1/),) |
|
84 |
endef |
|
85 |
||
86 |
# Select a directory if it exists, or the alternate 2 or the alternate 3 |
|
87 |
define DirExists |
|
88 |
$(shell \ |
|
89 |
if [ -d "$1" ]; then \ |
|
90 |
echo "$1"; \ |
|
91 |
elif [ -d "$2" ]; then \ |
|
92 |
echo "$2"; \ |
|
93 |
else \ |
|
94 |
echo "$3"; \ |
|
95 |
fi) |
|
96 |
endef |
|
97 |
||
2806
27edf81ff967
6833444: _BOOTDIR1/_BOOTDIR2 on MS Windows should be consistent with other platforms
anthony
parents:
2660
diff
changeset
|
98 |
# Select a directory if it exists, or the alternate 2, or the alternate 3, or the alternate 4 |
27edf81ff967
6833444: _BOOTDIR1/_BOOTDIR2 on MS Windows should be consistent with other platforms
anthony
parents:
2660
diff
changeset
|
99 |
define DirExists4 |
27edf81ff967
6833444: _BOOTDIR1/_BOOTDIR2 on MS Windows should be consistent with other platforms
anthony
parents:
2660
diff
changeset
|
100 |
$(shell \ |
27edf81ff967
6833444: _BOOTDIR1/_BOOTDIR2 on MS Windows should be consistent with other platforms
anthony
parents:
2660
diff
changeset
|
101 |
if [ -d "$1" ]; then \ |
27edf81ff967
6833444: _BOOTDIR1/_BOOTDIR2 on MS Windows should be consistent with other platforms
anthony
parents:
2660
diff
changeset
|
102 |
echo "$1"; \ |
27edf81ff967
6833444: _BOOTDIR1/_BOOTDIR2 on MS Windows should be consistent with other platforms
anthony
parents:
2660
diff
changeset
|
103 |
elif [ -d "$2" ]; then \ |
27edf81ff967
6833444: _BOOTDIR1/_BOOTDIR2 on MS Windows should be consistent with other platforms
anthony
parents:
2660
diff
changeset
|
104 |
echo "$2"; \ |
27edf81ff967
6833444: _BOOTDIR1/_BOOTDIR2 on MS Windows should be consistent with other platforms
anthony
parents:
2660
diff
changeset
|
105 |
elif [ -d "$3" ]; then \ |
27edf81ff967
6833444: _BOOTDIR1/_BOOTDIR2 on MS Windows should be consistent with other platforms
anthony
parents:
2660
diff
changeset
|
106 |
echo "$3"; \ |
27edf81ff967
6833444: _BOOTDIR1/_BOOTDIR2 on MS Windows should be consistent with other platforms
anthony
parents:
2660
diff
changeset
|
107 |
else \ |
27edf81ff967
6833444: _BOOTDIR1/_BOOTDIR2 on MS Windows should be consistent with other platforms
anthony
parents:
2660
diff
changeset
|
108 |
echo "$4"; \ |
27edf81ff967
6833444: _BOOTDIR1/_BOOTDIR2 on MS Windows should be consistent with other platforms
anthony
parents:
2660
diff
changeset
|
109 |
fi) |
27edf81ff967
6833444: _BOOTDIR1/_BOOTDIR2 on MS Windows should be consistent with other platforms
anthony
parents:
2660
diff
changeset
|
110 |
endef |
27edf81ff967
6833444: _BOOTDIR1/_BOOTDIR2 on MS Windows should be consistent with other platforms
anthony
parents:
2660
diff
changeset
|
111 |
|
27edf81ff967
6833444: _BOOTDIR1/_BOOTDIR2 on MS Windows should be consistent with other platforms
anthony
parents:
2660
diff
changeset
|
112 |
|
2 | 113 |
# Select a writable directory if it exists and is writable, or the alternate |
114 |
define WriteDirExists |
|
115 |
$(shell \ |
|
116 |
if [ -d "$1" -a -w "$1" ]; then \ |
|
117 |
echo "$1"; \ |
|
118 |
else \ |
|
119 |
echo "$2"; \ |
|
120 |
fi) |
|
121 |
endef |
|
122 |
||
123 |
# Select a file if it exists, or the alternate 1, or the alternate 2 |
|
124 |
define FileExists |
|
125 |
$(shell \ |
|
126 |
if [ -r "$1" ]; then \ |
|
127 |
echo "$1"; \ |
|
128 |
elif [ -r "$2" ]; then \ |
|
129 |
echo "$2"; \ |
|
130 |
else \ |
|
131 |
echo "NO_FILE_EXISTS"; \ |
|
132 |
fi) |
|
133 |
endef |
|
134 |
||
2158
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
1163
diff
changeset
|
135 |
# Given a line of text, get the version number from it |
2 | 136 |
define GetVersion |
2158
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
1163
diff
changeset
|
137 |
$(shell echo $1 | sed -e 's@[^0-9]*\([0-9][0-9]*\.[0-9][.0-9]*\).*@\1@' ) |
2 | 138 |
endef |
139 |
||
6310
8affde0eeeb4
6932743: Makefiles not parsing version strings with - from uname -r
ohair
parents:
5552
diff
changeset
|
140 |
# Return one part of the version numbers, watch out for non digits. |
8affde0eeeb4
6932743: Makefiles not parsing version strings with - from uname -r
ohair
parents:
5552
diff
changeset
|
141 |
define VersionWord # Number Version |
8affde0eeeb4
6932743: Makefiles not parsing version strings with - from uname -r
ohair
parents:
5552
diff
changeset
|
142 |
$(word $1,$(subst ., ,$(subst -, ,$2))) |
8affde0eeeb4
6932743: Makefiles not parsing version strings with - from uname -r
ohair
parents:
5552
diff
changeset
|
143 |
endef |
8affde0eeeb4
6932743: Makefiles not parsing version strings with - from uname -r
ohair
parents:
5552
diff
changeset
|
144 |
|
2 | 145 |
# Given a major.minor.micro version, return the major, minor, or micro number |
146 |
define MajorVersion |
|
6310
8affde0eeeb4
6932743: Makefiles not parsing version strings with - from uname -r
ohair
parents:
5552
diff
changeset
|
147 |
$(if $(call VersionWord,1,$1),$(call VersionWord,1,$1),0) |
2 | 148 |
endef |
149 |
define MinorVersion |
|
6310
8affde0eeeb4
6932743: Makefiles not parsing version strings with - from uname -r
ohair
parents:
5552
diff
changeset
|
150 |
$(if $(call VersionWord,2,$1),$(call VersionWord,2,$1),0) |
2 | 151 |
endef |
152 |
define MicroVersion |
|
6310
8affde0eeeb4
6932743: Makefiles not parsing version strings with - from uname -r
ohair
parents:
5552
diff
changeset
|
153 |
$(if $(call VersionWord,3,$1),$(call VersionWord,3,$1),0) |
2 | 154 |
endef |
155 |
||
156 |
# Macro that returns missing, same, newer, or older $1=version $2=required |
|
157 |
define CheckVersions |
|
158 |
$(shell \ |
|
159 |
if [ "$1" = "" -o "$2" = "" ]; then \ |
|
160 |
echo missing; \ |
|
2158
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
1163
diff
changeset
|
161 |
elif [ "$1" = "$2" ]; then \ |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
1163
diff
changeset
|
162 |
echo same; \ |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
1163
diff
changeset
|
163 |
elif [ $(call MajorVersion,$1) -lt $(call MajorVersion,$2) ] ; then \ |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
1163
diff
changeset
|
164 |
echo older; \ |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
1163
diff
changeset
|
165 |
elif [ $(call MajorVersion,$1) -gt $(call MajorVersion,$2) ] ; then \ |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
1163
diff
changeset
|
166 |
echo newer; \ |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
1163
diff
changeset
|
167 |
elif [ $(call MinorVersion,$1) -lt $(call MinorVersion,$2) ]; then \ |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
1163
diff
changeset
|
168 |
echo older; \ |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
1163
diff
changeset
|
169 |
elif [ $(call MinorVersion,$1) -gt $(call MinorVersion,$2) ]; then \ |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
1163
diff
changeset
|
170 |
echo newer; \ |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
1163
diff
changeset
|
171 |
elif [ $(call MicroVersion,$1) -lt $(call MicroVersion,$2) ]; then \ |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
1163
diff
changeset
|
172 |
echo older; \ |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
1163
diff
changeset
|
173 |
elif [ $(call MicroVersion,$1) -gt $(call MicroVersion,$2) ]; then \ |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
1163
diff
changeset
|
174 |
echo newer; \ |
2 | 175 |
else \ |
2158
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
1163
diff
changeset
|
176 |
echo same; \ |
2 | 177 |
fi) |
178 |
endef |
|
179 |
||
12047
320a714614e9
7113349: Initial changeset for Macosx port to jdk
michaelm
parents:
10048
diff
changeset
|
180 |
# Expand SRCDIR_LIST, which is used to automatically include various |
320a714614e9
7113349: Initial changeset for Macosx port to jdk
michaelm
parents:
10048
diff
changeset
|
181 |
# platform and shared sources/headers. This is mainly useful for the |
320a714614e9
7113349: Initial changeset for Macosx port to jdk
michaelm
parents:
10048
diff
changeset
|
182 |
# Mac OS X build, which pulls its platform sources from the solaris and/or |
320a714614e9
7113349: Initial changeset for Macosx port to jdk
michaelm
parents:
10048
diff
changeset
|
183 |
# macosx trees, depending on the component. |
320a714614e9
7113349: Initial changeset for Macosx port to jdk
michaelm
parents:
10048
diff
changeset
|
184 |
ifeq ($(PLATFORM), macosx) |
320a714614e9
7113349: Initial changeset for Macosx port to jdk
michaelm
parents:
10048
diff
changeset
|
185 |
define JavaSrcDirList |
320a714614e9
7113349: Initial changeset for Macosx port to jdk
michaelm
parents:
10048
diff
changeset
|
186 |
$(JAVA_SRCDIR_LIST:%=$1$(JDK_TOPDIR)/%/$2) |
320a714614e9
7113349: Initial changeset for Macosx port to jdk
michaelm
parents:
10048
diff
changeset
|
187 |
endef |
320a714614e9
7113349: Initial changeset for Macosx port to jdk
michaelm
parents:
10048
diff
changeset
|
188 |
define NativeSrcDirList |
320a714614e9
7113349: Initial changeset for Macosx port to jdk
michaelm
parents:
10048
diff
changeset
|
189 |
$(NATIVE_SRCDIR_LIST:%=$1$(JDK_TOPDIR)/%/$2) |
320a714614e9
7113349: Initial changeset for Macosx port to jdk
michaelm
parents:
10048
diff
changeset
|
190 |
endef |
320a714614e9
7113349: Initial changeset for Macosx port to jdk
michaelm
parents:
10048
diff
changeset
|
191 |
endif |
320a714614e9
7113349: Initial changeset for Macosx port to jdk
michaelm
parents:
10048
diff
changeset
|
192 |
|
2 | 193 |
# Make sure certain variables are non-empty at this point |
194 |
_check_values:=\ |
|
195 |
$(call CheckValue,ARCH,),\ |
|
196 |
$(call CheckValue,ARCH_DATA_MODEL,),\ |
|
197 |
$(call CheckValue,ARCH_VM_SUBDIR,),\ |
|
198 |
$(call CheckValue,JDK_TOPDIR,),\ |
|
199 |
$(call CheckValue,JDK_MAKE_SHARED_DIR,),\ |
|
200 |
$(call CheckValue,VARIANT,),\ |
|
201 |
$(call CheckValue,PLATFORM,) |
|
202 |
||
203 |
# Misc common settings for all workspaces |
|
204 |
# This determines the version of the product, and the previous version or boot |
|
205 |
ifndef JDK_MAJOR_VERSION |
|
206 |
JDK_MAJOR_VERSION = 1 |
|
207 |
PREVIOUS_MAJOR_VERSION = 1 |
|
208 |
endif |
|
209 |
||
210 |
ifndef JDK_MINOR_VERSION |
|
10048 | 211 |
JDK_MINOR_VERSION = 8 |
212 |
PREVIOUS_MINOR_VERSION = 7 |
|
2 | 213 |
endif |
214 |
||
215 |
ifndef JDK_MICRO_VERSION |
|
216 |
JDK_MICRO_VERSION = 0 |
|
217 |
PREVIOUS_MICRO_VERSION = 0 |
|
218 |
endif |
|
219 |
||
220 |
ifndef MILESTONE |
|
221 |
MILESTONE = internal |
|
222 |
endif |
|
223 |
||
224 |
# Default names |
|
225 |
ifdef OPENJDK |
|
226 |
LAUNCHER_NAME = openjdk |
|
227 |
PRODUCT_NAME = OpenJDK |
|
228 |
PRODUCT_SUFFIX = Runtime Environment |
|
847 | 229 |
JDK_RC_PLATFORM_NAME = Platform |
230 |
COMPANY_NAME = N/A |
|
231 |
else |
|
232 |
LAUNCHER_NAME = java |
|
233 |
PRODUCT_NAME = Java(TM) |
|
9151
82d1ac9e6091
7018125: Reverting the JFB version string for JDK releases
asaha
parents:
9035
diff
changeset
|
234 |
PRODUCT_SUFFIX = SE Runtime Environment |
847 | 235 |
JDK_RC_PLATFORM_NAME = Platform SE |
6676
c8629a8bbd7d
6946527: rebranding system properties per Oracle Requirements (vendor)
ohair
parents:
6310
diff
changeset
|
236 |
COMPANY_NAME = Oracle Corporation |
2 | 237 |
endif |
238 |
||
239 |
RUNTIME_NAME = $(PRODUCT_NAME) $(PRODUCT_SUFFIX) |
|
240 |
||
241 |
ifndef BUILD_NUMBER |
|
242 |
JDK_BUILD_NUMBER = b00 |
|
243 |
else |
|
244 |
ifndef JDK_BUILD_NUMBER |
|
245 |
JDK_BUILD_NUMBER = $(BUILD_NUMBER) |
|
246 |
endif |
|
247 |
endif |
|
248 |
||
249 |
# Default variant is the optimized version of everything |
|
250 |
# can be OPT or DBG, default is OPT |
|
251 |
# Determine the extra pattern to add to the release name for debug/fastdebug. |
|
252 |
# Determine the JDK_IMPORT_VARIANT, so we get the right VM files copied over. |
|
253 |
# Determine suffix for obj directory or OBJDIR, for .o files. |
|
254 |
# (by keeping .o files separate, just .o files, they don't clobber each |
|
255 |
# other, however, the library files will clobber each other). |
|
256 |
# |
|
257 |
ifeq ($(VARIANT), DBG) |
|
258 |
BUILD_VARIANT_RELEASE=-debug |
|
259 |
OBJDIRNAME_SUFFIX=_g |
|
260 |
else |
|
261 |
BUILD_VARIANT_RELEASE= |
|
262 |
OBJDIRNAME_SUFFIX= |
|
263 |
endif |
|
264 |
ifeq ($(FASTDEBUG), true) |
|
265 |
VARIANT=DBG |
|
266 |
BUILD_VARIANT_RELEASE=-fastdebug |
|
267 |
OBJDIRNAME_SUFFIX=_gO |
|
268 |
_JDK_IMPORT_VARIANT=/fastdebug |
|
269 |
endif |
|
270 |
||
271 |
# Depending on the flavor of the build, add a -debug or -fastdebug to the name |
|
272 |
ifdef DEBUG_NAME |
|
273 |
BUILD_VARIANT_RELEASE=-$(DEBUG_NAME) |
|
274 |
endif |
|
275 |
||
276 |
# These default values are redefined during a release build. |
|
277 |
# CTE can set JDK_UPDATE_VERSION during the update release |
|
278 |
ifdef JDK_UPDATE_VERSION |
|
279 |
JDK_VERSION = $(JDK_MAJOR_VERSION).$(JDK_MINOR_VERSION).$(JDK_MICRO_VERSION)_$(JDK_UPDATE_VERSION) |
|
280 |
MARKETING_NUMBER := $(shell \ |
|
281 |
$(ECHO) $(JDK_UPDATE_VERSION) | $(NAWK) '{if (substr($$0,1,1)=="0") print substr($$0, 2); else print $$0;}') |
|
282 |
MARKET_NAME= $(shell $(ECHO) " Update $(MARKETING_NUMBER)") |
|
283 |
JDK_MKTG_VERSION = $(JDK_MINOR_VERSION)u$(MARKETING_NUMBER) |
|
284 |
else |
|
285 |
JDK_VERSION = $(JDK_MAJOR_VERSION).$(JDK_MINOR_VERSION).$(JDK_MICRO_VERSION) |
|
286 |
JDK_MKTG_VERSION = $(JDK_MINOR_VERSION) |
|
287 |
MARKET_NAME= |
|
288 |
endif |
|
289 |
JDK_UNDERSCORE_VERSION = $(subst .,_,$(JDK_VERSION)) |
|
290 |
JDK_MKTG_UNDERSCORE_VERSION = $(subst .,_,$(JDK_MKTG_VERSION)) |
|
291 |
||
292 |
# RELEASE is JDK_VERSION and -MILESTONE if MILESTONE is set |
|
293 |
ifneq ($(MILESTONE),fcs) |
|
294 |
RELEASE = $(JDK_VERSION)-$(MILESTONE)$(BUILD_VARIANT_RELEASE) |
|
295 |
else |
|
296 |
RELEASE = $(JDK_VERSION)$(BUILD_VARIANT_RELEASE) |
|
297 |
endif |
|
298 |
||
299 |
# FULL_VERSION is RELEASE and -BUILD_NUMBER if BUILD_NUMBER is set |
|
300 |
ifdef BUILD_NUMBER |
|
301 |
FULL_VERSION = $(RELEASE)-$(BUILD_NUMBER) |
|
302 |
else |
|
303 |
BUILD_NUMBER = b00 |
|
7463
5ab61aa7cd89
6987107: Add variable to add to but not modify non-fcs version string
ohair
parents:
6795
diff
changeset
|
304 |
ifndef USER_RELEASE_SUFFIX |
5ab61aa7cd89
6987107: Add variable to add to but not modify non-fcs version string
ohair
parents:
6795
diff
changeset
|
305 |
BUILD_DATE := $(shell $(DATE) '+%Y_%m_%d_%H_%M') |
5ab61aa7cd89
6987107: Add variable to add to but not modify non-fcs version string
ohair
parents:
6795
diff
changeset
|
306 |
CLEAN_USERNAME := $(shell $(ECHO) "$(USER)" | $(TR) -d -c '[:alnum:]') |
5ab61aa7cd89
6987107: Add variable to add to but not modify non-fcs version string
ohair
parents:
6795
diff
changeset
|
307 |
USER_RELEASE_SUFFIX := $(shell $(ECHO) "$(CLEAN_USERNAME)_$(BUILD_DATE)" | $(TR) '[:upper:]' '[:lower:]' ) |
5ab61aa7cd89
6987107: Add variable to add to but not modify non-fcs version string
ohair
parents:
6795
diff
changeset
|
308 |
endif |
5ab61aa7cd89
6987107: Add variable to add to but not modify non-fcs version string
ohair
parents:
6795
diff
changeset
|
309 |
export USER_RELEASE_SUFFIX |
2 | 310 |
FULL_VERSION = $(RELEASE)-$(USER_RELEASE_SUFFIX)-$(BUILD_NUMBER) |
311 |
endif |
|
312 |
||
313 |
# Promoted build location |
|
314 |
PROMOTED_RE_AREA = $(SLASH_JAVA)/re/jdk/$(JDK_VERSION)/promoted |
|
315 |
PROMOTED_BUILD_LATEST = latest |
|
316 |
PROMOTED_BUILD_BASEDIR = $(PROMOTED_RE_AREA)/$(PROMOTED_BUILD_LATEST) |
|
3111
fefdeafb7ab9
6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
herrick
parents:
2660
diff
changeset
|
317 |
PROMOTED_BUILD_DISTDIR = $(PROMOTED_BUILD_BASEDIR)/dist/$(PLATFORM)-$(ARCH) |
2 | 318 |
PROMOTED_BUILD_BINARIES = $(PROMOTED_BUILD_BASEDIR)/binaries |
319 |
||
320 |
# PARALLEL_COMPILE_JOBS: is the number of compiles done in parallel. |
|
321 |
# If the user sets ALT_PARALLEL_COMPILE_JOBS, then COMPILE_APPROACH is set |
|
322 |
# to parallel. |
|
323 |
# |
|
324 |
# Recommended setting: 2 seems to be ideal for single cpu machines, |
|
325 |
# 2 times the number of CPU's is a basic formula, |
|
326 |
# but probably not more than 4 if the machine is |
|
327 |
# being shared by others, or the machine is limited |
|
328 |
# in RAM or swap. |
|
329 |
# |
|
330 |
ifdef ALT_PARALLEL_COMPILE_JOBS |
|
331 |
PARALLEL_COMPILE_JOBS=$(ALT_PARALLEL_COMPILE_JOBS) |
|
332 |
else |
|
333 |
PARALLEL_COMPILE_JOBS=2 |
|
334 |
endif |
|
335 |
||
336 |
# Previous JDK release (version of BOOTDIR version) |
|
337 |
ifdef ALT_PREVIOUS_JDK_VERSION |
|
338 |
PREVIOUS_JDK_VERSION = $(ALT_PREVIOUS_JDK_VERSION) |
|
339 |
else |
|
340 |
PREVIOUS_JDK_VERSION = $(PREVIOUS_MAJOR_VERSION).$(PREVIOUS_MINOR_VERSION).$(PREVIOUS_MICRO_VERSION) |
|
341 |
endif |
|
342 |
export PREVIOUS_JDK_VERSION |
|
343 |
PREVIOUS_JDK_VERSION:=$(call AltCheckSpaces,PREVIOUS_JDK_VERSION) |
|
344 |
PREVIOUS_JDK_VERSION:=$(call AltCheckValue,PREVIOUS_JDK_VERSION) |
|
345 |
||
346 |
# Version with _ instead of . in number |
|
347 |
ifeq ($(PREVIOUS_MINOR_VERSION),5) |
|
348 |
PREVIOUS_JDK_UNDERSCORE_VERSION = $(subst .,_,$(PREVIOUS_JDK_VERSION)) |
|
349 |
else |
|
350 |
PREVIOUS_JDK_UNDERSCORE_VERSION = $(PREVIOUS_MINOR_VERSION) |
|
351 |
endif |
|
352 |
||
353 |
# Include any private definitions for this set of workspaces |
|
354 |
_PRIVATE_DEFS_FILE=$(JDK_MAKE_SHARED_DIR)/PrivateDefs.gmk |
|
7463
5ab61aa7cd89
6987107: Add variable to add to but not modify non-fcs version string
ohair
parents:
6795
diff
changeset
|
355 |
ifeq ($(USING_PRIVATE_DEFS),) |
5ab61aa7cd89
6987107: Add variable to add to but not modify non-fcs version string
ohair
parents:
6795
diff
changeset
|
356 |
USING_PRIVATE_DEFS:=$(shell if [ -f $(_PRIVATE_DEFS_FILE) ]; then echo true; else echo false; fi) |
5ab61aa7cd89
6987107: Add variable to add to but not modify non-fcs version string
ohair
parents:
6795
diff
changeset
|
357 |
endif |
2 | 358 |
ifeq ($(USING_PRIVATE_DEFS),true) |
359 |
dummy:=$(warning "WARNING: Using definitions from $(_PRIVATE_DEFS_FILE)") |
|
360 |
include $(_PRIVATE_DEFS_FILE) |
|
361 |
endif |
|
362 |
||
6789
7388434c2fa8
6982774: HOTSPOT_IMPORT_PATH detection does not work as expected
igor
parents:
6310
diff
changeset
|
363 |
# OUTPUTDIR: Location of all output for the build |
7388434c2fa8
6982774: HOTSPOT_IMPORT_PATH detection does not work as expected
igor
parents:
6310
diff
changeset
|
364 |
ifdef ALT_OUTPUTDIR |
7388434c2fa8
6982774: HOTSPOT_IMPORT_PATH detection does not work as expected
igor
parents:
6310
diff
changeset
|
365 |
OUTPUTDIR:=$(subst \,/,$(ALT_OUTPUTDIR)) |
7388434c2fa8
6982774: HOTSPOT_IMPORT_PATH detection does not work as expected
igor
parents:
6310
diff
changeset
|
366 |
# Assumes this is absolute (checks later) |
7388434c2fa8
6982774: HOTSPOT_IMPORT_PATH detection does not work as expected
igor
parents:
6310
diff
changeset
|
367 |
ABS_OUTPUTDIR:=$(OUTPUTDIR) |
7388434c2fa8
6982774: HOTSPOT_IMPORT_PATH detection does not work as expected
igor
parents:
6310
diff
changeset
|
368 |
else |
7388434c2fa8
6982774: HOTSPOT_IMPORT_PATH detection does not work as expected
igor
parents:
6310
diff
changeset
|
369 |
ifndef _OUTPUTDIR |
7388434c2fa8
6982774: HOTSPOT_IMPORT_PATH detection does not work as expected
igor
parents:
6310
diff
changeset
|
370 |
# Default: Get "build" parent directory, which should always exist |
7388434c2fa8
6982774: HOTSPOT_IMPORT_PATH detection does not work as expected
igor
parents:
6310
diff
changeset
|
371 |
ifndef BUILD_PARENT_DIRECTORY |
7388434c2fa8
6982774: HOTSPOT_IMPORT_PATH detection does not work as expected
igor
parents:
6310
diff
changeset
|
372 |
BUILD_PARENT_DIRECTORY=$(BUILDDIR)/.. |
7388434c2fa8
6982774: HOTSPOT_IMPORT_PATH detection does not work as expected
igor
parents:
6310
diff
changeset
|
373 |
endif |
7388434c2fa8
6982774: HOTSPOT_IMPORT_PATH detection does not work as expected
igor
parents:
6310
diff
changeset
|
374 |
ifdef OPENJDK |
7388434c2fa8
6982774: HOTSPOT_IMPORT_PATH detection does not work as expected
igor
parents:
6310
diff
changeset
|
375 |
_OUTPUTDIRNAME=$(PLATFORM)-$(ARCH)$(OPENJDK_SUFFIX) |
7388434c2fa8
6982774: HOTSPOT_IMPORT_PATH detection does not work as expected
igor
parents:
6310
diff
changeset
|
376 |
else |
7388434c2fa8
6982774: HOTSPOT_IMPORT_PATH detection does not work as expected
igor
parents:
6310
diff
changeset
|
377 |
_OUTPUTDIRNAME=$(PLATFORM)-$(ARCH) |
7388434c2fa8
6982774: HOTSPOT_IMPORT_PATH detection does not work as expected
igor
parents:
6310
diff
changeset
|
378 |
endif |
7388434c2fa8
6982774: HOTSPOT_IMPORT_PATH detection does not work as expected
igor
parents:
6310
diff
changeset
|
379 |
_OUTPUTDIR=$(BUILD_PARENT_DIRECTORY)/build/$(_OUTPUTDIRNAME) |
7388434c2fa8
6982774: HOTSPOT_IMPORT_PATH detection does not work as expected
igor
parents:
6310
diff
changeset
|
380 |
endif |
7388434c2fa8
6982774: HOTSPOT_IMPORT_PATH detection does not work as expected
igor
parents:
6310
diff
changeset
|
381 |
OUTPUTDIR:=$(_OUTPUTDIR) |
7388434c2fa8
6982774: HOTSPOT_IMPORT_PATH detection does not work as expected
igor
parents:
6310
diff
changeset
|
382 |
endif |
7388434c2fa8
6982774: HOTSPOT_IMPORT_PATH detection does not work as expected
igor
parents:
6310
diff
changeset
|
383 |
# Check for spaces and null value |
7388434c2fa8
6982774: HOTSPOT_IMPORT_PATH detection does not work as expected
igor
parents:
6310
diff
changeset
|
384 |
OUTPUTDIR:=$(call AltCheckSpaces,OUTPUTDIR) |
7388434c2fa8
6982774: HOTSPOT_IMPORT_PATH detection does not work as expected
igor
parents:
6310
diff
changeset
|
385 |
OUTPUTDIR:=$(call AltCheckValue,OUTPUTDIR) |
7388434c2fa8
6982774: HOTSPOT_IMPORT_PATH detection does not work as expected
igor
parents:
6310
diff
changeset
|
386 |
|
2 | 387 |
# Get platform specific settings |
6789
7388434c2fa8
6982774: HOTSPOT_IMPORT_PATH detection does not work as expected
igor
parents:
6310
diff
changeset
|
388 |
# NB: OUTPUTDIR must be defined. Otherwise hotspot import detection will not work correctly |
7388434c2fa8
6982774: HOTSPOT_IMPORT_PATH detection does not work as expected
igor
parents:
6310
diff
changeset
|
389 |
# On other hand this must be included early as it provides platform specific defines such as FullPath |
7665
bc5dbdc44e1e
6360517: ALT_MSDEVTOOLS_PATH and rc.exe location, and rebase location
ohair
parents:
7463
diff
changeset
|
390 |
include $(JDK_MAKE_SHARED_DIR)/Defs-versions.gmk |
bc5dbdc44e1e
6360517: ALT_MSDEVTOOLS_PATH and rc.exe location, and rebase location
ohair
parents:
7463
diff
changeset
|
391 |
|
bc5dbdc44e1e
6360517: ALT_MSDEVTOOLS_PATH and rc.exe location, and rebase location
ohair
parents:
7463
diff
changeset
|
392 |
# Get platform specific settings (defines COMPILER_PATH) |
2 | 393 |
include $(JDK_MAKE_SHARED_DIR)/Defs-$(PLATFORM).gmk |
394 |
||
395 |
# Components |
|
396 |
ifdef ALT_LANGTOOLS_DIST |
|
397 |
LANGTOOLS_DIST :=$(call FullPath,$(ALT_LANGTOOLS_DIST)) |
|
398 |
else |
|
399 |
LANGTOOLS_DIST = |
|
400 |
endif |
|
401 |
ifdef ALT_CORBA_DIST |
|
402 |
CORBA_DIST :=$(call FullPath,$(ALT_CORBA_DIST)) |
|
403 |
else |
|
404 |
CORBA_DIST = |
|
405 |
endif |
|
406 |
ifdef ALT_JAXP_DIST |
|
407 |
JAXP_DIST :=$(call FullPath,$(ALT_JAXP_DIST)) |
|
408 |
else |
|
409 |
JAXP_DIST = |
|
410 |
endif |
|
411 |
ifdef ALT_JAXWS_DIST |
|
412 |
JAXWS_DIST :=$(call FullPath,$(ALT_JAXWS_DIST)) |
|
413 |
else |
|
414 |
JAXWS_DIST = |
|
415 |
endif |
|
416 |
||
417 |
# HOTSPOT_DOCS_IMPORT_PATH: Path to hotspot docs files to import into the docs generation |
|
418 |
ifdef ALT_HOTSPOT_DOCS_IMPORT_PATH |
|
419 |
HOTSPOT_DOCS_IMPORT_PATH :=$(call FullPath,$(ALT_HOTSPOT_DOCS_IMPORT_PATH)) |
|
420 |
else |
|
421 |
HOTSPOT_DOCS_IMPORT_PATH :=$(call DirExists,$(HOTSPOT_IMPORT_PATH)/docs,$(PROMOTED_BUILD_BASEDIR)/docs,/NO_DOCS_DIR) |
|
422 |
endif |
|
423 |
||
424 |
# These are the same on all platforms but require the above platform include 1st |
|
425 |
||
426 |
# BOOTDIR: Bootstrap JDK, previous released JDK. |
|
427 |
# _BOOTDIR1 and _BOOTDIR2 picked by platform |
|
2806
27edf81ff967
6833444: _BOOTDIR1/_BOOTDIR2 on MS Windows should be consistent with other platforms
anthony
parents:
2660
diff
changeset
|
428 |
# Platform may optionally define _BOOTDIR3 as well. |
2 | 429 |
ifdef ALT_BOOTDIR |
430 |
BOOTDIR =$(ALT_BOOTDIR) |
|
431 |
else |
|
2806
27edf81ff967
6833444: _BOOTDIR1/_BOOTDIR2 on MS Windows should be consistent with other platforms
anthony
parents:
2660
diff
changeset
|
432 |
ifdef _BOOTDIR3 |
27edf81ff967
6833444: _BOOTDIR1/_BOOTDIR2 on MS Windows should be consistent with other platforms
anthony
parents:
2660
diff
changeset
|
433 |
BOOTDIR :=$(call DirExists4,$(_BOOTDIR1),$(_BOOTDIR2),$(_BOOTDIR3),/NO_BOOTDIR) |
27edf81ff967
6833444: _BOOTDIR1/_BOOTDIR2 on MS Windows should be consistent with other platforms
anthony
parents:
2660
diff
changeset
|
434 |
else |
27edf81ff967
6833444: _BOOTDIR1/_BOOTDIR2 on MS Windows should be consistent with other platforms
anthony
parents:
2660
diff
changeset
|
435 |
BOOTDIR :=$(call DirExists,$(_BOOTDIR1),$(_BOOTDIR2),/NO_BOOTDIR) |
27edf81ff967
6833444: _BOOTDIR1/_BOOTDIR2 on MS Windows should be consistent with other platforms
anthony
parents:
2660
diff
changeset
|
436 |
endif |
2 | 437 |
endif |
438 |
export BOOTDIR |
|
439 |
BOOTDIR:=$(call AltCheckSpaces,BOOTDIR) |
|
440 |
BOOTDIR:=$(call AltCheckValue,BOOTDIR) |
|
441 |
||
1161
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
442 |
# PREVIOUS_FCS_RE_AREA: re path to where previous release binaries/bundles are |
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
443 |
PREVIOUS_FCS_RE_AREA = $(SLASH_JAVA)/re/jdk/$(PREVIOUS_JDK_VERSION)/archive/fcs |
2 | 444 |
|
445 |
# PREVIOUS_RELEASE_IMAGE: Previous install image to compare against |
|
446 |
ifdef ALT_PREVIOUS_RELEASE_IMAGE |
|
1161
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
447 |
|
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
448 |
# Explicit image provided, no bundle access needed |
2 | 449 |
PREVIOUS_RELEASE_IMAGE :=$(call FullPath,$(ALT_PREVIOUS_RELEASE_IMAGE)) |
1161
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
450 |
|
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
451 |
else |
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
452 |
|
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
453 |
# PREVIOUS_RELEASE_PATH: path to where previous release bundles are |
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
454 |
ifdef ALT_PREVIOUS_RELEASE_PATH |
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
455 |
PREVIOUS_RELEASE_PATH :=$(call OptFullPath,$(ALT_PREVIOUS_RELEASE_PATH)) |
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
456 |
else |
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
457 |
PREVIOUS_RELEASE_PATH := \ |
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
458 |
$(call DirExists,$(PREVIOUS_FCS_RE_AREA)/bundles/$(PLATFORM)-$(ARCH),,) |
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
459 |
endif |
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
460 |
|
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
461 |
# Depending on if we have access to these bundles |
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
462 |
ifeq ($(PREVIOUS_RELEASE_PATH),) |
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
463 |
# Use images in re area or BOOTDIR (which is normally the previous release) |
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
464 |
PREVIOUS_RELEASE_IMAGE := \ |
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
465 |
$(call DirExists,$(PREVIOUS_FCS_RE_AREA)/binaries/$(PLATFORM)-$(ARCH),$(BOOTDIR),) |
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
466 |
else |
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
467 |
# Get names of and paths to bundles |
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
468 |
PREVIOUS_RELEASE_PATH:=$(call AltCheckSpaces,PREVIOUS_RELEASE_PATH) |
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
469 |
PREVIOUS_RELEASE_PATH:=$(call AltCheckValue,PREVIOUS_RELEASE_PATH) |
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
470 |
export PREVIOUS_RELEASE_PATH |
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
471 |
|
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
472 |
# PREVIOUS_JDK_FILE: filename of install bundle for previous JDK |
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
473 |
ifdef ALT_PREVIOUS_JDK_FILE |
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
474 |
PREVIOUS_JDK_FILE =$(ALT_PREVIOUS_JDK_FILE) |
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
475 |
else |
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
476 |
PREVIOUS_JDK_FILE = \ |
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
477 |
jdk-$(PREVIOUS_JDK_UNDERSCORE_VERSION)-$(PLATFORM)-$(ARCH)$(BUNDLE_FILE_SUFFIX) |
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
478 |
endif |
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
479 |
export PREVIOUS_JDK_FILE |
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
480 |
PREVIOUS_JDK_FILE:=$(call AltCheckSpaces,PREVIOUS_JDK_FILE) |
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
481 |
PREVIOUS_JDK_FILE:=$(call AltCheckValue,PREVIOUS_JDK_FILE) |
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
482 |
|
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
483 |
# PREVIOUS_JRE_FILE: filename of install bundle for previous JRE |
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
484 |
ifdef ALT_PREVIOUS_JRE_FILE |
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
485 |
PREVIOUS_JRE_FILE =$(ALT_PREVIOUS_JRE_FILE) |
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
486 |
else |
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
487 |
PREVIOUS_JRE_FILE = \ |
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
488 |
jre-$(PREVIOUS_JDK_UNDERSCORE_VERSION)-$(PLATFORM)-$(ARCH)$(BUNDLE_FILE_SUFFIX) |
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
489 |
endif |
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
490 |
export PREVIOUS_JRE_FILE |
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
491 |
PREVIOUS_JRE_FILE:=$(call AltCheckSpaces,PREVIOUS_JRE_FILE) |
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
492 |
PREVIOUS_JRE_FILE:=$(call AltCheckValue,PREVIOUS_JRE_FILE) |
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
493 |
|
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
494 |
# Paths to these bundles |
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
495 |
PREVIOUS_JRE_BUNDLE = $(PREVIOUS_RELEASE_PATH)/$(PREVIOUS_JRE_FILE) |
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
496 |
PREVIOUS_JDK_BUNDLE = $(PREVIOUS_RELEASE_PATH)/$(PREVIOUS_JDK_FILE) |
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
497 |
endif |
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
498 |
|
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
499 |
endif |
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
500 |
|
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
501 |
# Indicate we are using an image comparison |
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
502 |
ifneq ($(PREVIOUS_RELEASE_IMAGE),) |
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
503 |
PREVIOUS_RELEASE_PATH = USING-PREVIOUS_RELEASE_IMAGE |
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
504 |
PREVIOUS_JRE_BUNDLE = USING-PREVIOUS_RELEASE_IMAGE |
3a209f585a3f
6746421: Compare images logic needs to be more forgiving
ohair
parents:
919
diff
changeset
|
505 |
PREVIOUS_JDK_BUNDLE = USING-PREVIOUS_RELEASE_IMAGE |
2 | 506 |
endif |
507 |
||
508 |
# CACERTS_FILE: if OPENJDK is false and the internal version of the file |
|
509 |
# (that is, non-empty) is available, use it, otherwise use an |
|
510 |
# empty keystore. |
|
511 |
# |
|
512 |
# We put this variable here for sanity checks and in case another |
|
513 |
# components will need to know which cacerts file is being used. |
|
514 |
# |
|
515 |
ifdef ALT_CACERTS_FILE |
|
516 |
CACERTS_FILE = $(ALT_CACERTS_FILE) |
|
517 |
else |
|
518 |
CACERTS_EXT = $(SHARE_SRC)/lib/security/cacerts |
|
519 |
ifdef OPENJDK |
|
520 |
CACERTS_FILE :=$(CACERTS_EXT) |
|
521 |
else # (!OPENJDK) |
|
522 |
CACERTS_INT = $(CLOSED_SHARE_SRC)/lib/security/cacerts.internal |
|
523 |
CACERTS_FILE :=$(call FileExists,$(CACERTS_INT),$(CACERTS_EXT)) |
|
524 |
endif # (OPENJDK) |
|
525 |
endif |
|
526 |
CACERTS_FILE:=$(call AltCheckSpaces,CACERTS_FILE) |
|
527 |
CACERTS_FILE:=$(call AltCheckValue,CACERTS_FILE) |
|
528 |
||
300
d4f77ff718fd
6683078: Update JCE framework and provider builds to work on read-only filesystems
wetmore
parents:
33
diff
changeset
|
529 |
# |
d4f77ff718fd
6683078: Update JCE framework and provider builds to work on read-only filesystems
wetmore
parents:
33
diff
changeset
|
530 |
# When signing the JCE framework and provider, we could be using built |
d4f77ff718fd
6683078: Update JCE framework and provider builds to work on read-only filesystems
wetmore
parents:
33
diff
changeset
|
531 |
# bits on a read-only filesystem. If so, this test will fail and crash |
d4f77ff718fd
6683078: Update JCE framework and provider builds to work on read-only filesystems
wetmore
parents:
33
diff
changeset
|
532 |
# the build. |
d4f77ff718fd
6683078: Update JCE framework and provider builds to work on read-only filesystems
wetmore
parents:
33
diff
changeset
|
533 |
# |
d4f77ff718fd
6683078: Update JCE framework and provider builds to work on read-only filesystems
wetmore
parents:
33
diff
changeset
|
534 |
ifndef IGNORE_WRITABLE_OUTPUTDIR_TEST |
33
51a7bc3e93a0
6649672: Adjustments to OUTPUTDIR default and mkdirs to avoid empty directory clutter
ohair
parents:
2
diff
changeset
|
535 |
# Create the output directory and make sure it exists and is writable |
51a7bc3e93a0
6649672: Adjustments to OUTPUTDIR default and mkdirs to avoid empty directory clutter
ohair
parents:
2
diff
changeset
|
536 |
_create_outputdir:=$(shell $(MKDIR) -p "$(OUTPUTDIR)" > $(DEV_NULL) 2>&1) |
51a7bc3e93a0
6649672: Adjustments to OUTPUTDIR default and mkdirs to avoid empty directory clutter
ohair
parents:
2
diff
changeset
|
537 |
ifeq ($(call WriteDirExists,$(OUTPUTDIR),/dev/null),/dev/null) |
51a7bc3e93a0
6649672: Adjustments to OUTPUTDIR default and mkdirs to avoid empty directory clutter
ohair
parents:
2
diff
changeset
|
538 |
_outputdir_error:=$(error "ERROR: OUTPUTDIR '$(OUTPUTDIR)' not created or not writable") |
51a7bc3e93a0
6649672: Adjustments to OUTPUTDIR default and mkdirs to avoid empty directory clutter
ohair
parents:
2
diff
changeset
|
539 |
endif |
300
d4f77ff718fd
6683078: Update JCE framework and provider builds to work on read-only filesystems
wetmore
parents:
33
diff
changeset
|
540 |
endif |
d4f77ff718fd
6683078: Update JCE framework and provider builds to work on read-only filesystems
wetmore
parents:
33
diff
changeset
|
541 |
|
33
51a7bc3e93a0
6649672: Adjustments to OUTPUTDIR default and mkdirs to avoid empty directory clutter
ohair
parents:
2
diff
changeset
|
542 |
# Define absolute path if needed and check for spaces and null value |
51a7bc3e93a0
6649672: Adjustments to OUTPUTDIR default and mkdirs to avoid empty directory clutter
ohair
parents:
2
diff
changeset
|
543 |
ifndef ABS_OUTPUTDIR |
6789
7388434c2fa8
6982774: HOTSPOT_IMPORT_PATH detection does not work as expected
igor
parents:
6310
diff
changeset
|
544 |
ifdef _OUTPUTDIRNAME |
7388434c2fa8
6982774: HOTSPOT_IMPORT_PATH detection does not work as expected
igor
parents:
6310
diff
changeset
|
545 |
#Could not define this at the same time as _OUTPUTDIRNAME as FullPath is not defined at that point |
7388434c2fa8
6982774: HOTSPOT_IMPORT_PATH detection does not work as expected
igor
parents:
6310
diff
changeset
|
546 |
ABS_BUILD_PARENT_DIRECTORY:=$(call FullPath,$(BUILD_PARENT_DIRECTORY)) |
7388434c2fa8
6982774: HOTSPOT_IMPORT_PATH detection does not work as expected
igor
parents:
6310
diff
changeset
|
547 |
ABS_OUTPUTDIR:=$(ABS_BUILD_PARENT_DIRECTORY)/build/$(_OUTPUTDIRNAME) |
7388434c2fa8
6982774: HOTSPOT_IMPORT_PATH detection does not work as expected
igor
parents:
6310
diff
changeset
|
548 |
else |
7388434c2fa8
6982774: HOTSPOT_IMPORT_PATH detection does not work as expected
igor
parents:
6310
diff
changeset
|
549 |
ABS_OUTPUTDIR:=$(call FullPath,$(OUTPUTDIR)) |
7388434c2fa8
6982774: HOTSPOT_IMPORT_PATH detection does not work as expected
igor
parents:
6310
diff
changeset
|
550 |
endif |
33
51a7bc3e93a0
6649672: Adjustments to OUTPUTDIR default and mkdirs to avoid empty directory clutter
ohair
parents:
2
diff
changeset
|
551 |
endif |
51a7bc3e93a0
6649672: Adjustments to OUTPUTDIR default and mkdirs to avoid empty directory clutter
ohair
parents:
2
diff
changeset
|
552 |
ABS_OUTPUTDIR:=$(call AltCheckSpaces,ABS_OUTPUTDIR) |
51a7bc3e93a0
6649672: Adjustments to OUTPUTDIR default and mkdirs to avoid empty directory clutter
ohair
parents:
2
diff
changeset
|
553 |
ABS_OUTPUTDIR:=$(call AltCheckValue,ABS_OUTPUTDIR) |
51a7bc3e93a0
6649672: Adjustments to OUTPUTDIR default and mkdirs to avoid empty directory clutter
ohair
parents:
2
diff
changeset
|
554 |
# Make doubly sure this is a full path |
51a7bc3e93a0
6649672: Adjustments to OUTPUTDIR default and mkdirs to avoid empty directory clutter
ohair
parents:
2
diff
changeset
|
555 |
ifeq ($(call AbsPwdPathCheck,$(ABS_OUTPUTDIR)), ) |
51a7bc3e93a0
6649672: Adjustments to OUTPUTDIR default and mkdirs to avoid empty directory clutter
ohair
parents:
2
diff
changeset
|
556 |
ifdef ALT_OUTPUTDIR |
51a7bc3e93a0
6649672: Adjustments to OUTPUTDIR default and mkdirs to avoid empty directory clutter
ohair
parents:
2
diff
changeset
|
557 |
_outputdir_error:=$(error "ERROR: Trouble with the absolute path for OUTPUTDIR '$(OUTPUTDIR)', was ALT_OUTPUTDIR '$(ALT_OUTPUTDIR)' an absolute path?") |
51a7bc3e93a0
6649672: Adjustments to OUTPUTDIR default and mkdirs to avoid empty directory clutter
ohair
parents:
2
diff
changeset
|
558 |
else |
51a7bc3e93a0
6649672: Adjustments to OUTPUTDIR default and mkdirs to avoid empty directory clutter
ohair
parents:
2
diff
changeset
|
559 |
_outputdir_error:=$(error "ERROR: Trouble with the absolute path for OUTPUTDIR '$(OUTPUTDIR)'") |
51a7bc3e93a0
6649672: Adjustments to OUTPUTDIR default and mkdirs to avoid empty directory clutter
ohair
parents:
2
diff
changeset
|
560 |
endif |
51a7bc3e93a0
6649672: Adjustments to OUTPUTDIR default and mkdirs to avoid empty directory clutter
ohair
parents:
2
diff
changeset
|
561 |
endif |
51a7bc3e93a0
6649672: Adjustments to OUTPUTDIR default and mkdirs to avoid empty directory clutter
ohair
parents:
2
diff
changeset
|
562 |
_dir1:=$(call FullPath,$(ABS_OUTPUTDIR)) |
51a7bc3e93a0
6649672: Adjustments to OUTPUTDIR default and mkdirs to avoid empty directory clutter
ohair
parents:
2
diff
changeset
|
563 |
_dir2:=$(call FullPath,$(OUTPUTDIR)) |
51a7bc3e93a0
6649672: Adjustments to OUTPUTDIR default and mkdirs to avoid empty directory clutter
ohair
parents:
2
diff
changeset
|
564 |
ifneq ($(_dir1),$(_dir2)) |
51a7bc3e93a0
6649672: Adjustments to OUTPUTDIR default and mkdirs to avoid empty directory clutter
ohair
parents:
2
diff
changeset
|
565 |
_outputdir_error:=$(error "ERROR: ABS_OUTPUTDIR '$(ABS_OUTPUTDIR)' is not the same directory as OUTPUTDIR '$(OUTPUTDIR)', '$(_dir1)'!='$(_dir2)'") |
51a7bc3e93a0
6649672: Adjustments to OUTPUTDIR default and mkdirs to avoid empty directory clutter
ohair
parents:
2
diff
changeset
|
566 |
endif |
2 | 567 |
|
568 |
# Bin directory |
|
569 |
# NOTE: ISA_DIR is usually empty, on Solaris it might be /sparcv9 or /amd64 |
|
570 |
BINDIR = $(OUTPUTDIR)/bin$(ISA_DIR) |
|
571 |
||
572 |
# MOZILLA_HEADERS_PATH: path to mozilla header files for plugin |
|
573 |
ifdef ALT_MOZILLA_HEADERS_PATH |
|
574 |
MOZILLA_HEADERS_PATH :=$(call FullPath,$(ALT_MOZILLA_HEADERS_PATH)) |
|
575 |
else |
|
576 |
MOZILLA_HEADERS_PATH =$(JDK_DEVTOOLS_DIR)/share/plugin |
|
577 |
endif |
|
578 |
MOZILLA_HEADERS_PATH:=$(call AltCheckSpaces,MOZILLA_HEADERS_PATH) |
|
579 |
MOZILLA_HEADERS_PATH:=$(call AltCheckValue,MOZILLA_HEADERS_PATH) |
|
580 |
||
581 |
# CUPS_HEADERS_PATH: path to Cups headers files for Unix printing |
|
582 |
ifneq ($(PLATFORM), windows) |
|
583 |
JDK_CUPS_HEADERS_PATH=$(JDK_DEVTOOLS_DIR)/share/cups/include |
|
584 |
ifdef ALT_CUPS_HEADERS_PATH |
|
585 |
CUPS_HEADERS_PATH:=$(call FullPath,$(ALT_CUPS_HEADERS_PATH)) |
|
2658 | 586 |
CUPS_HEADERS_PATH:=$(call AltCheckValue,CUPS_HEADERS_PATH) |
2 | 587 |
else |
588 |
CUPS_HEADERS_PATH:= \ |
|
589 |
$(shell if [ -d "$(JDK_CUPS_HEADERS_PATH)" ]; then \ |
|
590 |
echo "$(JDK_CUPS_HEADERS_PATH)"; \ |
|
591 |
else \ |
|
592 |
echo "$(_CUPS_HEADERS_PATH)";\ |
|
593 |
fi) |
|
594 |
endif |
|
595 |
endif |
|
596 |
||
1163
0de695c3558f
6746430: Fix problems with getting 'ant -version' and the required setting of 'ANT_HOME'
ohair
parents:
1162
diff
changeset
|
597 |
# Utilities ant |
0de695c3558f
6746430: Fix problems with getting 'ant -version' and the required setting of 'ANT_HOME'
ohair
parents:
1162
diff
changeset
|
598 |
ifeq ($(PLATFORM), windows) |
0de695c3558f
6746430: Fix problems with getting 'ant -version' and the required setting of 'ANT_HOME'
ohair
parents:
1162
diff
changeset
|
599 |
ifeq ($(ANT_HOME),) |
0de695c3558f
6746430: Fix problems with getting 'ant -version' and the required setting of 'ANT_HOME'
ohair
parents:
1162
diff
changeset
|
600 |
ANT_HOME := $(call DirExists,$(JDK_DEVTOOLS_DIR)/share/ant/latest,,) |
0de695c3558f
6746430: Fix problems with getting 'ant -version' and the required setting of 'ANT_HOME'
ohair
parents:
1162
diff
changeset
|
601 |
endif |
140
3d601b5affa3
6654458: /java/devtools findbugs doesn't work on windows
ohair
parents:
33
diff
changeset
|
602 |
endif |
6790
0451bcf8dfa9
6982499: ant detection is fragile on windows. especially using cygwin
igor
parents:
6789
diff
changeset
|
603 |
|
0451bcf8dfa9
6982499: ant detection is fragile on windows. especially using cygwin
igor
parents:
6789
diff
changeset
|
604 |
# There are few problems with ant we need to workaround: |
0451bcf8dfa9
6982499: ant detection is fragile on windows. especially using cygwin
igor
parents:
6789
diff
changeset
|
605 |
# 1) ant is using temporary directory java.io.tmpdir |
0451bcf8dfa9
6982499: ant detection is fragile on windows. especially using cygwin
igor
parents:
6789
diff
changeset
|
606 |
# However, this directory is not unique enough and two separate ant processes |
0451bcf8dfa9
6982499: ant detection is fragile on windows. especially using cygwin
igor
parents:
6789
diff
changeset
|
607 |
# can easily end up using the exact same temp directory. This may lead to weird build failures |
0451bcf8dfa9
6982499: ant detection is fragile on windows. especially using cygwin
igor
parents:
6789
diff
changeset
|
608 |
# To workaround this we will define tmp dir explicitly |
0451bcf8dfa9
6982499: ant detection is fragile on windows. especially using cygwin
igor
parents:
6789
diff
changeset
|
609 |
# 2) ant attempts to detect JDK location based on java.exe location |
0451bcf8dfa9
6982499: ant detection is fragile on windows. especially using cygwin
igor
parents:
6789
diff
changeset
|
610 |
# This is fragile as developer may have JRE first on the PATH. |
0451bcf8dfa9
6982499: ant detection is fragile on windows. especially using cygwin
igor
parents:
6789
diff
changeset
|
611 |
# To workaround this we will specify JAVA_HOME explicitly |
0451bcf8dfa9
6982499: ant detection is fragile on windows. especially using cygwin
igor
parents:
6789
diff
changeset
|
612 |
|
0451bcf8dfa9
6982499: ant detection is fragile on windows. especially using cygwin
igor
parents:
6789
diff
changeset
|
613 |
ANT_TMPDIR = $(ABS_OUTPUTDIR)/tmp |
0451bcf8dfa9
6982499: ant detection is fragile on windows. especially using cygwin
igor
parents:
6789
diff
changeset
|
614 |
ANT_WORKAROUNDS = ANT_OPTS=-Djava.io.tmpdir='$(ANT_TMPDIR)' JAVA_HOME='$(BOOTDIR)' |
0451bcf8dfa9
6982499: ant detection is fragile on windows. especially using cygwin
igor
parents:
6789
diff
changeset
|
615 |
|
140
3d601b5affa3
6654458: /java/devtools findbugs doesn't work on windows
ohair
parents:
33
diff
changeset
|
616 |
ifeq ($(ANT_HOME),) |
6790
0451bcf8dfa9
6982499: ant detection is fragile on windows. especially using cygwin
igor
parents:
6789
diff
changeset
|
617 |
ANT = $(ANT_WORKAROUNDS) ant |
140
3d601b5affa3
6654458: /java/devtools findbugs doesn't work on windows
ohair
parents:
33
diff
changeset
|
618 |
else |
6790
0451bcf8dfa9
6982499: ant detection is fragile on windows. especially using cygwin
igor
parents:
6789
diff
changeset
|
619 |
ANT = $(ANT_WORKAROUNDS) $(ANT_HOME)/bin/ant |
140
3d601b5affa3
6654458: /java/devtools findbugs doesn't work on windows
ohair
parents:
33
diff
changeset
|
620 |
endif |
3d601b5affa3
6654458: /java/devtools findbugs doesn't work on windows
ohair
parents:
33
diff
changeset
|
621 |
|
2 | 622 |
ifdef ALT_COPYRIGHT_YEAR |
623 |
COPYRIGHT_YEAR = $(ALT_COPYRIGHT_YEAR) |
|
624 |
else |
|
625 |
COPYRIGHT_YEAR = $(shell $(DATE) '+%Y') |
|
626 |
endif |
|
627 |
||
9359 | 628 |
# Create file with source information |
629 |
SOURCE_TIPS=$(ABS_OUTPUTDIR)/source_tips |
|
630 |
||
631 |
# The source tips can come from the Mercurial repository, or in the files |
|
632 |
# $(HGTIP_FILENAME) which contains the tip but is also positioned in the same |
|
633 |
# directory as the original $(HGDIR) directory. |
|
634 |
# These should not be := assignments, only used from the root Makefile. |
|
635 |
HG_VERSION = $(shell $(HG) version 2> $(DEV_NULL)) |
|
636 |
HG_DIRECTORY=.hg |
|
637 |
HGTIP_FILENAME=.hgtip |
|
638 |
HG_SEARCH = ./REPO ./*/REPO ./*/*/REPO ./*/*/*/REPO |
|
639 |
REPO_LIST = $(patsubst ./%,%,$(patsubst %/,%,$(sort $(dir \ |
|
640 |
$(shell ( $(LS) -d $(HG_SEARCH:%/REPO=%/$(HG_DIRECTORY)) ; \ |
|
641 |
$(LS) $(HG_SEARCH:%/REPO=%/$(HGTIP_FILENAME)) ) \ |
|
642 |
2> $(DEV_NULL)))))) |
|
643 |
||
644 |
# Emit the repo:tip pairs to $@ |
|
645 |
define GetSourceTips |
|
646 |
for i in $(REPO_LIST) IGNORE ; do \ |
|
647 |
if [ "$${i}" = "IGNORE" ] ; then \ |
|
648 |
continue; \ |
|
649 |
elif [ -d $${i}/$(HG_DIRECTORY) -a "$(HG_VERSION)" != "" ] ; then \ |
|
650 |
$(PRINTF) " %s:%s" \ |
|
651 |
"$${i}" `$(HG) tip --repository $${i} --template '{node|short}\n'` ; \ |
|
652 |
elif [ -f $${i}/$(HGTIP_FILENAME) ] ; then \ |
|
653 |
$(PRINTF) " %s:%s" \ |
|
654 |
"$${i}" `$(CAT) $${i}/$(HGTIP_FILENAME)` ; \ |
|
655 |
fi; \ |
|
656 |
done >> $@ |
|
657 |
$(PRINTF) "\n" >> $@ |
|
658 |
endef |
|
659 |
||
660 |
# Create the HGTIP_FILENAME file |
|
661 |
define CreateHgTip |
|
9360 | 662 |
$(HG) tip --repository $1 --template '{node|short}\n' > $1/$(HGTIP_FILENAME);\ |
9359 | 663 |
$(ECHO) $1/$(HGTIP_FILENAME) |
664 |
endef |
|
665 |
||
7665
bc5dbdc44e1e
6360517: ALT_MSDEVTOOLS_PATH and rc.exe location, and rebase location
ohair
parents:
7463
diff
changeset
|
666 |
# Get the compiler specific settings (will run the compiler to find out) |
bc5dbdc44e1e
6360517: ALT_MSDEVTOOLS_PATH and rc.exe location, and rebase location
ohair
parents:
7463
diff
changeset
|
667 |
# NOTE: COMPILER_PATH must be set by this time. |
bc5dbdc44e1e
6360517: ALT_MSDEVTOOLS_PATH and rc.exe location, and rebase location
ohair
parents:
7463
diff
changeset
|
668 |
# Up until we include this file, we don't know what specific compiler |
bc5dbdc44e1e
6360517: ALT_MSDEVTOOLS_PATH and rc.exe location, and rebase location
ohair
parents:
7463
diff
changeset
|
669 |
# version is actually being used (i.e. what is in PATH or COMPILER_PATH). |
2188
a1417beb3de8
6818565: Regression with fix 6816311: COMPILER_VERSION -> REQUIRED_COMPILER_VERSION
ohair
parents:
2158
diff
changeset
|
670 |
include $(JDK_MAKE_SHARED_DIR)/Compiler-$(CC_VERSION).gmk |
a1417beb3de8
6818565: Regression with fix 6816311: COMPILER_VERSION -> REQUIRED_COMPILER_VERSION
ohair
parents:
2158
diff
changeset
|
671 |