author | prr |
Wed, 16 Jun 2010 09:42:39 -0700 | |
changeset 5668 | 15ee66161ec7 |
parent 5506 | 202f599c92aa |
child 5937 | 6562557739c0 |
permissions | -rw-r--r-- |
2 | 1 |
# |
5506 | 2 |
# Copyright (c) 2005, 2009, 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 Windows. |
|
28 |
# |
|
29 |
||
30 |
# Default for COMPILER_WARNINGS_FATAL on Windows (C++ compiler warnings) |
|
31 |
# Level: Default is 3, 0 means none, 4 is the most but may be unreliable |
|
32 |
# Some makefiles may have set this to 0 to turn off warnings completely, |
|
33 |
# which also effectively creates a COMPILER_WARNINGS_FATAL=false situation. |
|
34 |
# Program.gmk may turn this down to 2 (building .exe's). |
|
35 |
# Windows 64bit platforms are less likely to be warning free. |
|
36 |
# Historically, Windows 32bit builds should be mostly warning free. |
|
37 |
ifndef COMPILER_WARNING_LEVEL |
|
38 |
COMPILER_WARNING_LEVEL=3 |
|
39 |
endif |
|
40 |
ifndef COMPILER_WARNINGS_FATAL |
|
41 |
COMPILER_WARNINGS_FATAL=false |
|
42 |
endif |
|
43 |
||
44 |
# Windows should use parallel compilation for best build times |
|
45 |
ifndef COMPILE_APPROACH |
|
46 |
COMPILE_APPROACH = normal |
|
47 |
endif |
|
48 |
||
49 |
# Indication that we are doing an incremental build. |
|
50 |
# This may trigger the creation of make depend files. |
|
51 |
# (This may not be working on windows yet, always force to false.) |
|
52 |
override INCREMENTAL_BUILD = false |
|
53 |
||
54 |
# WARNING: This is extremely touch stuff, between CYGWIN vs. MKS and all |
|
55 |
# variations of MKS and CYGWIN releases, and 32bit vs 64bit, |
|
56 |
# this file can give you nightmares. |
|
57 |
# |
|
58 |
# Notes: |
|
59 |
# Keep all paths in the windows "mixed" style except CYGWIN UNXIXCOMMAND_PATH. |
|
60 |
# Use of PrefixPath is critical, some variables must end with / (see NOTE). |
|
61 |
# Use of quotes is critical due to possible spaces in paths coming from |
|
62 |
# the environment variables, be careful. |
|
63 |
# First convert \ to / with subst, keep it quoted due to blanks, then |
|
64 |
# use cygpath -s or dosname -s to get the short non-blank name. |
|
65 |
# If the MKS is old and doesn't have a dosname -s, you will be forced |
|
66 |
# to set ALT variables with the short non-space directory names. |
|
67 |
# If dosname doesn't appear to work, we won't use it. |
|
68 |
# The dosname utility also wants to accept stdin if it is not supplied |
|
69 |
# any path on the command line, this is really dangerous when using |
|
70 |
# make variables that can easily become empty, so I use: |
|
71 |
# echo $1 | dosname -s instead of dosname -s $1 |
|
72 |
# to prevent dosname from hanging up the make process when $1 is empty. |
|
73 |
# The cygpath utility does not have this problem. |
|
74 |
# The ALT values should never really have spaces or use \. |
|
75 |
# Suspect these environment variables to have spaces and/or \ characters: |
|
76 |
# SYSTEMROOT, SystemRoot, WINDIR, windir, PROGRAMFILES, ProgramFiles, |
|
1776
33e9405ab91b
6754862: jdk/src/windows/bin/java_md.c: hardcoded reference to msvcr71.dll
tbell
parents:
1247
diff
changeset
|
77 |
# DXSDK_DIR, MSTOOLS, Mstools, MSSDK, MSSdk, VCnnCOMNTOOLS, |
2 | 78 |
# MSVCDIR, MSVCDir. |
79 |
# So use $(subst \,/,) on them first adding quotes and placing them in |
|
80 |
# their own variable assigned with :=, then use FullPath. |
|
81 |
# |
|
82 |
||
83 |
# Use FullPath to get C:/ style non-spaces path. Never ends with a /! |
|
84 |
ifdef USING_CYGWIN |
|
85 |
# We assume cygpath is available in the search path |
|
86 |
# NOTE: Use of 'pwd' with CYGWIN will not get you a mixed style path! |
|
87 |
CYGPATH_CMD=cygpath -a -s -m |
|
88 |
define FullPath |
|
89 |
$(shell $(CYGPATH_CMD) $1 2> $(DEV_NULL)) |
|
90 |
endef |
|
91 |
define OptFullPath |
|
92 |
$(shell if [ "$1" != "" -a -d "$1" ]; then $(CYGPATH_CMD) "$1"; else echo "$1"; fi) |
|
93 |
endef |
|
94 |
else |
|
95 |
# Temporary until we upgrade to MKS 8.7, MKS pwd returns mixed mode path |
|
96 |
define FullPath |
|
97 |
$(shell cd $1 2> $(DEV_NULL) && pwd) |
|
98 |
endef |
|
99 |
define OptFullPath |
|
100 |
$(shell if [ "$1" != "" -a -d "$1" ]; then (cd $1 && pwd); else echo "$1"; fi) |
|
101 |
endef |
|
102 |
endif |
|
103 |
||
104 |
# System drive |
|
105 |
ifdef SYSTEMDRIVE |
|
106 |
_system_drive =$(SYSTEMDRIVE) |
|
107 |
else |
|
108 |
ifdef SystemDrive |
|
109 |
_system_drive =$(SystemDrive) |
|
110 |
endif |
|
111 |
endif |
|
112 |
_system_drive:=$(call CheckValue,_system_drive,C:) |
|
113 |
||
114 |
# UNIXCOMMAND_PATH: path to where the most common Unix commands are. |
|
115 |
# NOTE: Must end with / so that it could be empty, allowing PATH usage. |
|
116 |
ifdef ALT_UNIXCOMMAND_PATH |
|
117 |
xALT_UNIXCOMMAND_PATH :="$(subst \,/,$(ALT_UNIXCOMMAND_PATH))" |
|
118 |
fxALT_UNIXCOMMAND_PATH :=$(call FullPath,$(xALT_UNIXCOMMAND_PATH)) |
|
119 |
UNIXCOMMAND_PATH :=$(call PrefixPath,$(fxALT_UNIXCOMMAND_PATH)) |
|
120 |
else |
|
121 |
ifdef USING_CYGWIN |
|
122 |
UNIXCOMMAND_PATH :=$(call PrefixPath,/usr/bin) |
|
123 |
else |
|
124 |
ifdef ROOTDIR |
|
125 |
xROOTDIR :="$(subst \,/,$(ROOTDIR))" |
|
126 |
_rootdir :=$(call FullPath,$(xROOTDIR)) |
|
127 |
else |
|
128 |
xROOTDIR :="$(_system_drive)/mksnt" |
|
129 |
_rootdir :=$(call FullPath,$(xROOTDIR)) |
|
130 |
endif |
|
131 |
ifneq ($(_rootdir),) |
|
132 |
UNIXCOMMAND_PATH :=$(call PrefixPath,$(_rootdir)/mksnt) |
|
133 |
endif |
|
134 |
endif |
|
135 |
endif |
|
136 |
UNIXCOMMAND_PATH:=$(call AltCheckSpaces,UNIXCOMMAND_PATH) |
|
137 |
||
138 |
# Get version of MKS or CYGWIN |
|
2158
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
1776
diff
changeset
|
139 |
ifndef USING_CYGWIN |
2 | 140 |
_MKS_VER :=$(shell $(MKSINFO) 2>&1 | $(GREP) Release | $(TAIL) -1 | $(SED) -e 's@.*\(Release.*\)@\1@') |
141 |
MKS_VER :=$(call GetVersion,$(_MKS_VER)) |
|
142 |
# At this point, we can re-define FullPath to use DOSNAME_CMD |
|
143 |
CHECK_MKS87:=$(call CheckVersions,$(MKS_VER),8.7) |
|
144 |
TRY_DOSNAME:=false |
|
145 |
ifeq ($(CHECK_MKS87),same) |
|
146 |
TRY_DOSNAME:=true |
|
147 |
endif |
|
148 |
# Newer should be ok |
|
149 |
ifeq ($(CHECK_MKS87),newer) |
|
150 |
TRY_DOSNAME:=true |
|
151 |
endif |
|
152 |
ifeq ($(TRY_DOSNAME),true) |
|
153 |
ifeq ($(shell $(UNIXCOMMAND_PATH)dosname -s $(_system_drive)/ 2> $(DEV_NULL)),$(_system_drive)/) |
|
154 |
_DOSNAME=$(UNIXCOMMAND_PATH)dosname |
|
155 |
DOSNAME_CMD:=$(_DOSNAME) -s |
|
156 |
define FullPath |
|
157 |
$(subst //,/,$(shell echo $1 | $(DOSNAME_CMD) 2> $(DEV_NULL))) |
|
158 |
endef |
|
159 |
endif # test dosname -s |
|
160 |
endif # TRY_DOSNAME |
|
161 |
endif # MKS |
|
162 |
||
163 |
# We try to get references to what we need via the default component |
|
164 |
# environment variables, or what was used historically. |
|
165 |
||
166 |
# Process Windows values into FullPath values, these paths may have \ chars |
|
167 |
||
168 |
# System root |
|
169 |
ifdef SYSTEMROOT |
|
170 |
xSYSTEMROOT :="$(subst \,/,$(SYSTEMROOT))" |
|
171 |
_system_root :=$(call FullPath,$(xSYSTEMROOT)) |
|
172 |
else |
|
173 |
ifdef SystemRoot |
|
174 |
xSYSTEMROOT :="$(subst \,/,$(SystemRoot))" |
|
175 |
_system_root :=$(call FullPath,$(xSYSTEMROOT)) |
|
176 |
else |
|
177 |
ifdef WINDIR |
|
178 |
xWINDIR :="$(subst \,/,$(WINDIR))" |
|
179 |
_system_root :=$(call FullPath,$(xWINDIR)) |
|
180 |
else |
|
181 |
ifdef windir |
|
182 |
xWINDIR :="$(subst \,/,$(windir))" |
|
183 |
_system_root :=$(call FullPath,$(xWINDIR)) |
|
184 |
endif |
|
185 |
endif |
|
186 |
endif |
|
187 |
endif |
|
188 |
_system_root:=$(call CheckValue,_system_root,$(_system_drive)/WINNT) |
|
189 |
||
190 |
# Program Files directory |
|
191 |
ifdef PROGRAMFILES |
|
192 |
xPROGRAMFILES :="$(subst \,/,$(PROGRAMFILES))" |
|
193 |
else |
|
194 |
ifeq ($(ARCH_DATA_MODEL), 32) |
|
195 |
xPROGRAMFILES :="$(_system_drive)/Program Files" |
|
196 |
else |
|
197 |
xPROGRAMFILES :="$(_system_drive)/Program Files (x86)" |
|
198 |
endif |
|
199 |
endif |
|
200 |
ifeq ($(ARCH_DATA_MODEL), 32) |
|
201 |
_program_files :=$(call FullPath,$(xPROGRAMFILES)) |
|
2186
53da56fa3bf9
6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents:
2158
diff
changeset
|
202 |
_program_files32 :=$(_program_files) |
2 | 203 |
else |
204 |
ifdef PROGRAMW6432 |
|
205 |
xPROGRAMW6432 :="$(subst \,/,$(PROGRAMW6432))" |
|
206 |
else |
|
207 |
xPROGRAMW6432 :="$(_system_drive)/Program Files" |
|
208 |
endif |
|
209 |
_program_files :=$(call FullPath,$(xPROGRAMW6432)) |
|
210 |
_program_files32 :=$(call FullPath,$(xPROGRAMFILES)) |
|
211 |
ifneq ($(word 1,$(_program_files32)),$(_program_files32)) |
|
212 |
_program_files32:= |
|
213 |
endif |
|
214 |
endif |
|
215 |
ifneq ($(word 1,$(_program_files)),$(_program_files)) |
|
216 |
_program_files:= |
|
217 |
endif |
|
218 |
||
219 |
# DirectX SDK |
|
220 |
ifdef ALT_DXSDK_DRIVE |
|
221 |
_dx_sdk_dir =$(ALT_DXSDK_DRIVE):/DXSDK |
|
222 |
else |
|
223 |
ifdef DXSDK_DIR |
|
224 |
xDXSDK_DIR :="$(subst \,/,$(DXSDK_DIR))" |
|
225 |
else |
|
226 |
xDXSDK_DIR :="$(_system_drive)/DXSDK" |
|
227 |
endif |
|
228 |
_dx_sdk_dir :=$(call FullPath,$(xDXSDK_DIR)) |
|
229 |
endif |
|
230 |
||
231 |
# Compilers, SDK, and Visual Studio (MSDEV) [32bit is different from 64bit] |
|
232 |
ifeq ($(ARCH_DATA_MODEL), 32) |
|
233 |
# Try looking in MSVCDIR or MSVCDir area first (set by vcvars32.bat) |
|
234 |
ifdef MSVCDIR |
|
235 |
xMSVCDIR :="$(subst \,/,$(MSVCDIR))" |
|
236 |
_msvc_dir :=$(call FullPath,$(xMSVCDIR)) |
|
237 |
else |
|
238 |
ifdef MSVCDir |
|
239 |
xMSVCDIR :="$(subst \,/,$(MSVCDir))" |
|
240 |
_msvc_dir :=$(call FullPath,$(xMSVCDIR)) |
|
241 |
else |
|
242 |
ifneq ($(_program_files),) |
|
243 |
xMSVCDIR :="$(_program_files)/Microsoft Visual Studio .NET 2003/Vc7" |
|
244 |
_msvc_dir :=$(call FullPath,$(xMSVCDIR)) |
|
245 |
endif |
|
246 |
endif |
|
247 |
endif |
|
1776
33e9405ab91b
6754862: jdk/src/windows/bin/java_md.c: hardcoded reference to msvcr71.dll
tbell
parents:
1247
diff
changeset
|
248 |
# If we still don't have it, look for VSnnCOMNTOOLS (newest first), |
33e9405ab91b
6754862: jdk/src/windows/bin/java_md.c: hardcoded reference to msvcr71.dll
tbell
parents:
1247
diff
changeset
|
249 |
# set by installer? |
2 | 250 |
ifeq ($(_msvc_dir),) |
5381
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
251 |
ifdef VS100COMNTOOLS # /Common/Tools directory, use ../../Vc |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
252 |
xVS100COMNTOOLS :="$(subst \,/,$(VS100COMNTOOLS))" |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
253 |
_vs100tools :=$(call FullPath,$(xVS100COMNTOOLS)) |
2 | 254 |
endif |
5381
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
255 |
ifneq ($(_vs100tools),) |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
256 |
_msvc_dir :=$(_vs100tools)/../../Vc |
2186
53da56fa3bf9
6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents:
2158
diff
changeset
|
257 |
else |
5381
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
258 |
ifdef VS90COMNTOOLS # /Common/Tools directory, use ../../Vc |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
259 |
xVS90COMNTOOLS :="$(subst \,/,$(VS90COMNTOOLS))" |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
260 |
_vs90tools :=$(call FullPath,$(xVS90COMNTOOLS)) |
2186
53da56fa3bf9
6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents:
2158
diff
changeset
|
261 |
endif |
5381
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
262 |
ifneq ($(_vs90tools),) |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
263 |
_msvc_dir :=$(_vs90tools)/../../Vc |
2186
53da56fa3bf9
6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents:
2158
diff
changeset
|
264 |
else |
5381
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
265 |
ifdef VS80COMNTOOLS # /Common/Tools directory, use ../../Vc |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
266 |
xVS80COMNTOOLS :="$(subst \,/,$(VS80COMNTOOLS))" |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
267 |
_vs80tools :=$(call FullPath,$(xVS80COMNTOOLS)) |
2186
53da56fa3bf9
6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents:
2158
diff
changeset
|
268 |
endif |
5381
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
269 |
ifneq ($(_vs80tools),) |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
270 |
_msvc_dir :=$(_vs80tools)/../../Vc |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
271 |
else |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
272 |
ifdef VS71COMNTOOLS # /Common/Tools directory, use ../../Vc7 |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
273 |
xVS71COMNTOOLS :="$(subst \,/,$(VS71COMNTOOLS))" |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
274 |
_vs71tools :=$(call FullPath,$(xVS71COMNTOOLS)) |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
275 |
endif |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
276 |
ifneq ($(_vs71tools),) |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
277 |
_msvc_dir :=$(_vs71tools)/../../Vc7 |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
278 |
endif |
2186
53da56fa3bf9
6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents:
2158
diff
changeset
|
279 |
endif |
53da56fa3bf9
6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents:
2158
diff
changeset
|
280 |
endif |
2 | 281 |
endif |
282 |
endif |
|
283 |
ifneq ($(_msvc_dir),) |
|
284 |
_compiler_bin :=$(_msvc_dir)/Bin |
|
2186
53da56fa3bf9
6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents:
2158
diff
changeset
|
285 |
# Assume PlatformSDK is in VS71 (will be empty if VS90) |
53da56fa3bf9
6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents:
2158
diff
changeset
|
286 |
_ms_sdk :=$(call FullPath,$(_msvc_dir)/PlatformSDK) |
5381
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
287 |
# Assume VS100, then VS90, then VS80, then VS71 |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
288 |
_redist_sdk :=$(call FullPath,$(_msvc_dir)/redist/x86/Microsoft.VC100.CRT) |
2186
53da56fa3bf9
6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents:
2158
diff
changeset
|
289 |
ifeq ($(_redist_sdk),) |
5474
04f6601f2474
6903970: VS2008/VS2010 build fails in make/sun/jkernel because of "afxres.h" missing
prr
parents:
5381
diff
changeset
|
290 |
ifneq ($(VS100COMNTOOLS),) |
04f6601f2474
6903970: VS2008/VS2010 build fails in make/sun/jkernel because of "afxres.h" missing
prr
parents:
5381
diff
changeset
|
291 |
_redist_sdk :=c:/windows/system32 |
04f6601f2474
6903970: VS2008/VS2010 build fails in make/sun/jkernel because of "afxres.h" missing
prr
parents:
5381
diff
changeset
|
292 |
else |
04f6601f2474
6903970: VS2008/VS2010 build fails in make/sun/jkernel because of "afxres.h" missing
prr
parents:
5381
diff
changeset
|
293 |
_redist_sdk :=$(call FullPath,$(_msvc_dir)/redist/x86/Microsoft.VC90.CRT) |
5381
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
294 |
ifeq ($(_redist_sdk),) |
5474
04f6601f2474
6903970: VS2008/VS2010 build fails in make/sun/jkernel because of "afxres.h" missing
prr
parents:
5381
diff
changeset
|
295 |
_redist_sdk :=$(call FullPath,$(_msvc_dir)/redist/x86/Microsoft.VC80.CRT) |
04f6601f2474
6903970: VS2008/VS2010 build fails in make/sun/jkernel because of "afxres.h" missing
prr
parents:
5381
diff
changeset
|
296 |
ifeq ($(_redist_sdk),) |
04f6601f2474
6903970: VS2008/VS2010 build fails in make/sun/jkernel because of "afxres.h" missing
prr
parents:
5381
diff
changeset
|
297 |
_redist_sdk :=$(call FullPath,$(_msvc_dir)/../SDK/v1.1/Bin) |
04f6601f2474
6903970: VS2008/VS2010 build fails in make/sun/jkernel because of "afxres.h" missing
prr
parents:
5381
diff
changeset
|
298 |
endif |
5381
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
299 |
endif |
2186
53da56fa3bf9
6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents:
2158
diff
changeset
|
300 |
endif |
53da56fa3bf9
6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents:
2158
diff
changeset
|
301 |
endif |
2 | 302 |
endif |
303 |
endif |
|
304 |
||
305 |
# The Microsoft Platform SDK installed by itself |
|
306 |
ifneq ($(_program_files),) |
|
2186
53da56fa3bf9
6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents:
2158
diff
changeset
|
307 |
_PSDK :="$(_program_files)/Microsoft SDKs/Windows/v6.1/" |
53da56fa3bf9
6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents:
2158
diff
changeset
|
308 |
_psdk :=$(call FullPath,$(xMSSDK61)) |
2 | 309 |
ifeq ($(_psdk),) |
2186
53da56fa3bf9
6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents:
2158
diff
changeset
|
310 |
xPSDK :="$(_program_files)/Microsoft Platform SDK" |
53da56fa3bf9
6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents:
2158
diff
changeset
|
311 |
_psdk :=$(call FullPath,$(xPSDK)) |
53da56fa3bf9
6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents:
2158
diff
changeset
|
312 |
ifeq ($(_psdk),) |
53da56fa3bf9
6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents:
2158
diff
changeset
|
313 |
xPSDK :="$(_program_files)/Microsoft SDK" |
53da56fa3bf9
6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents:
2158
diff
changeset
|
314 |
_psdk :=$(call FullPath,$(xMSSDK)) |
53da56fa3bf9
6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents:
2158
diff
changeset
|
315 |
endif |
2 | 316 |
endif |
317 |
endif |
|
318 |
||
319 |
# If no SDK found yet, look in other places |
|
320 |
ifeq ($(_ms_sdk),) |
|
321 |
ifdef MSSDK |
|
322 |
xMSSDK :="$(subst \,/,$(MSSDK))" |
|
323 |
_ms_sdk :=$(call FullPath,$(xMSSDK)) |
|
324 |
else |
|
325 |
ifdef MSSdk |
|
326 |
xMSSDK :="$(subst \,/,$(MSSdk))" |
|
327 |
_ms_sdk :=$(call FullPath,$(xMSSDK)) |
|
328 |
else |
|
329 |
_ms_sdk :=$(_psdk) |
|
330 |
endif |
|
331 |
endif |
|
332 |
endif |
|
333 |
||
5668
15ee66161ec7
6961079: Build JDK7 for 64 bit Windows using free Windows 7.1 SDK 64 bit compilers
prr
parents:
5506
diff
changeset
|
334 |
# Compilers for 64bit may be from the free SDK, or Visual Studio Professional |
15ee66161ec7
6961079: Build JDK7 for 64 bit Windows using free Windows 7.1 SDK 64 bit compilers
prr
parents:
5506
diff
changeset
|
335 |
# The free Express compilers don't contain 64 bit compilers, which is why |
15ee66161ec7
6961079: Build JDK7 for 64 bit Windows using free Windows 7.1 SDK 64 bit compilers
prr
parents:
5506
diff
changeset
|
336 |
# you instead need the SDK. |
15ee66161ec7
6961079: Build JDK7 for 64 bit Windows using free Windows 7.1 SDK 64 bit compilers
prr
parents:
5506
diff
changeset
|
337 |
# So for VS2010 based builds, either VS2010 Pro with the 7.0a SDK, or |
15ee66161ec7
6961079: Build JDK7 for 64 bit Windows using free Windows 7.1 SDK 64 bit compilers
prr
parents:
5506
diff
changeset
|
338 |
# the Windows 7.1 standalone SDK with compilers may be used. |
15ee66161ec7
6961079: Build JDK7 for 64 bit Windows using free Windows 7.1 SDK 64 bit compilers
prr
parents:
5506
diff
changeset
|
339 |
# Release enginering will use VS2010 Pro, so the frequency of testing of |
15ee66161ec7
6961079: Build JDK7 for 64 bit Windows using free Windows 7.1 SDK 64 bit compilers
prr
parents:
5506
diff
changeset
|
340 |
# SDK based builds will depend entirely on individual usage. |
2 | 341 |
ifeq ($(ARCH_DATA_MODEL), 64) |
5381
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
342 |
ifdef VS100COMNTOOLS # /Common7/Tools directory, use ../../Vc |
5668
15ee66161ec7
6961079: Build JDK7 for 64 bit Windows using free Windows 7.1 SDK 64 bit compilers
prr
parents:
5506
diff
changeset
|
343 |
# VS2010 default location is used when building 64 bit using the 7.1 SDK |
15ee66161ec7
6961079: Build JDK7 for 64 bit Windows using free Windows 7.1 SDK 64 bit compilers
prr
parents:
5506
diff
changeset
|
344 |
# This is safe to hardwire as the SDK installer won't let you change it |
15ee66161ec7
6961079: Build JDK7 for 64 bit Windows using free Windows 7.1 SDK 64 bit compilers
prr
parents:
5506
diff
changeset
|
345 |
# and the VS2010 variable is only used if the compilers are from the SDK |
15ee66161ec7
6961079: Build JDK7 for 64 bit Windows using free Windows 7.1 SDK 64 bit compilers
prr
parents:
5506
diff
changeset
|
346 |
xVS2010 :="$(_program_files32)/Microsoft Visual Studio 10.0/" |
15ee66161ec7
6961079: Build JDK7 for 64 bit Windows using free Windows 7.1 SDK 64 bit compilers
prr
parents:
5506
diff
changeset
|
347 |
VS2010 :=$(call FullPath,$(xVS2010)) |
5381
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
348 |
xVS100COMNTOOLS :="$(subst \,/,$(VS100COMNTOOLS))" |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
349 |
_vs100tools :=$(call FullPath,$(xVS100COMNTOOLS)) |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
350 |
endif |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
351 |
ifneq ($(_vs100tools),) |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
352 |
_compiler_bin :=$(_vs100tools)/../../Vc/bin/amd64 |
5668
15ee66161ec7
6961079: Build JDK7 for 64 bit Windows using free Windows 7.1 SDK 64 bit compilers
prr
parents:
5506
diff
changeset
|
353 |
x_redist_sdk :=$(_vs100tools)/../../Vc/redist/x64/Microsoft.VC100.CRT |
15ee66161ec7
6961079: Build JDK7 for 64 bit Windows using free Windows 7.1 SDK 64 bit compilers
prr
parents:
5506
diff
changeset
|
354 |
_redist_sdk :=$(call FullPath,$(x_redist_sdk)) |
15ee66161ec7
6961079: Build JDK7 for 64 bit Windows using free Windows 7.1 SDK 64 bit compilers
prr
parents:
5506
diff
changeset
|
355 |
# The SDK doesn't have the redist directory, but the DLL is installed |
15ee66161ec7
6961079: Build JDK7 for 64 bit Windows using free Windows 7.1 SDK 64 bit compilers
prr
parents:
5506
diff
changeset
|
356 |
# into the windows directory. |
15ee66161ec7
6961079: Build JDK7 for 64 bit Windows using free Windows 7.1 SDK 64 bit compilers
prr
parents:
5506
diff
changeset
|
357 |
ifeq ($(_redist_sdk),) |
15ee66161ec7
6961079: Build JDK7 for 64 bit Windows using free Windows 7.1 SDK 64 bit compilers
prr
parents:
5506
diff
changeset
|
358 |
_redist_sdk :=c:/windows/system32 |
15ee66161ec7
6961079: Build JDK7 for 64 bit Windows using free Windows 7.1 SDK 64 bit compilers
prr
parents:
5506
diff
changeset
|
359 |
endif |
15ee66161ec7
6961079: Build JDK7 for 64 bit Windows using free Windows 7.1 SDK 64 bit compilers
prr
parents:
5506
diff
changeset
|
360 |
# Not currently using MSSDK7n, but maybe we can make use of it for |
15ee66161ec7
6961079: Build JDK7 for 64 bit Windows using free Windows 7.1 SDK 64 bit compilers
prr
parents:
5506
diff
changeset
|
361 |
# doing default location lookup to find some SDK tools that presently |
15ee66161ec7
6961079: Build JDK7 for 64 bit Windows using free Windows 7.1 SDK 64 bit compilers
prr
parents:
5506
diff
changeset
|
362 |
# require the developer to explicitly set the path. |
15ee66161ec7
6961079: Build JDK7 for 64 bit Windows using free Windows 7.1 SDK 64 bit compilers
prr
parents:
5506
diff
changeset
|
363 |
# The 7.0a path is from VS2010 Pro, the 7.1 path is the standalone SDK. |
15ee66161ec7
6961079: Build JDK7 for 64 bit Windows using free Windows 7.1 SDK 64 bit compilers
prr
parents:
5506
diff
changeset
|
364 |
# Either will work for us. |
15ee66161ec7
6961079: Build JDK7 for 64 bit Windows using free Windows 7.1 SDK 64 bit compilers
prr
parents:
5506
diff
changeset
|
365 |
# If a developer chooses to install the standalone SDK in some other |
15ee66161ec7
6961079: Build JDK7 for 64 bit Windows using free Windows 7.1 SDK 64 bit compilers
prr
parents:
5506
diff
changeset
|
366 |
# location, then this will fail to find it, which won't matter so long as |
15ee66161ec7
6961079: Build JDK7 for 64 bit Windows using free Windows 7.1 SDK 64 bit compilers
prr
parents:
5506
diff
changeset
|
367 |
# we aren't using this variable. If we do they'd still need to set the |
15ee66161ec7
6961079: Build JDK7 for 64 bit Windows using free Windows 7.1 SDK 64 bit compilers
prr
parents:
5506
diff
changeset
|
368 |
# ALT_MSDEVTOOLS_PATH as now. |
15ee66161ec7
6961079: Build JDK7 for 64 bit Windows using free Windows 7.1 SDK 64 bit compilers
prr
parents:
5506
diff
changeset
|
369 |
# %WindowsSdkDir% could be referenced instead but the SDK installer |
15ee66161ec7
6961079: Build JDK7 for 64 bit Windows using free Windows 7.1 SDK 64 bit compilers
prr
parents:
5506
diff
changeset
|
370 |
# doesn't set it and in the case of the VS2010 compilers, |
15ee66161ec7
6961079: Build JDK7 for 64 bit Windows using free Windows 7.1 SDK 64 bit compilers
prr
parents:
5506
diff
changeset
|
371 |
# you can't change this location in the installer anyway. |
15ee66161ec7
6961079: Build JDK7 for 64 bit Windows using free Windows 7.1 SDK 64 bit compilers
prr
parents:
5506
diff
changeset
|
372 |
xMSSDK7n :="$(_program_files32)/Microsoft SDKs/Windows/v7.0a/" |
15ee66161ec7
6961079: Build JDK7 for 64 bit Windows using free Windows 7.1 SDK 64 bit compilers
prr
parents:
5506
diff
changeset
|
373 |
MSSDK7n :=$(call FullPath,$(xMSSDK7n)) |
15ee66161ec7
6961079: Build JDK7 for 64 bit Windows using free Windows 7.1 SDK 64 bit compilers
prr
parents:
5506
diff
changeset
|
374 |
ifeq ($(MSSDK7n),) |
15ee66161ec7
6961079: Build JDK7 for 64 bit Windows using free Windows 7.1 SDK 64 bit compilers
prr
parents:
5506
diff
changeset
|
375 |
xMSSDK7n :="$(_program_files32)/Microsoft SDKs/Windows/v7.1/" |
15ee66161ec7
6961079: Build JDK7 for 64 bit Windows using free Windows 7.1 SDK 64 bit compilers
prr
parents:
5506
diff
changeset
|
376 |
MSSDK7n :=$(call FullPath,$(xMSSDK7n)) |
15ee66161ec7
6961079: Build JDK7 for 64 bit Windows using free Windows 7.1 SDK 64 bit compilers
prr
parents:
5506
diff
changeset
|
377 |
endif |
2186
53da56fa3bf9
6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents:
2158
diff
changeset
|
378 |
else |
5381
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
379 |
xVS2008 :="$(_program_files32)/Microsoft Visual Studio 9.0/" |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
380 |
VS2008 :=$(call FullPath,$(xVS2008)) |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
381 |
ifneq ($(VS2008),) |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
382 |
_compiler_bin :=$(VS2008)/VC/Bin/$(ARCH) |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
383 |
xMSSDK61 :="$(_program_files)/Microsoft SDKs/Windows/v6.1/" |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
384 |
MSSDK61 :=$(call FullPath,$(xMSSDK61)) |
5668
15ee66161ec7
6961079: Build JDK7 for 64 bit Windows using free Windows 7.1 SDK 64 bit compilers
prr
parents:
5506
diff
changeset
|
385 |
_redist_sdk :=$(VS2008)/VC/redist/x64/Microsoft.VC90.CRT |
5381
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
386 |
else |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
387 |
ifneq ($(_ms_sdk),) |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
388 |
ifeq ($(ARCH), ia64) |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
389 |
_compiler_bin :=$(_ms_sdk)/Bin/Win64 |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
390 |
endif |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
391 |
ifeq ($(ARCH), amd64) |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
392 |
_compiler_bin :=$(_ms_sdk)/Bin/Win64/x86/$(ARCH) |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
393 |
_redist_sdk :=$(_ms_sdk)/redist/win64/AMD64 |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
394 |
endif |
2186
53da56fa3bf9
6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents:
2158
diff
changeset
|
395 |
endif |
2 | 396 |
endif |
397 |
endif |
|
398 |
endif |
|
399 |
||
400 |
# Location on system where jdk installs might be |
|
401 |
ifneq ($(_program_files),) |
|
402 |
USRJDKINSTANCES_PATH =$(_program_files)/Java |
|
403 |
else |
|
404 |
USRJDKINSTANCES_PATH =$(_system_drive)/ |
|
405 |
endif |
|
406 |
||
407 |
# SLASH_JAVA: location of all network accessable files |
|
408 |
ifdef ALT_SLASH_JAVA |
|
409 |
xALT_SLASH_JAVA :="$(subst \,/,$(ALT_SLASH_JAVA))" |
|
410 |
SLASH_JAVA :=$(call FullPath,$(xALT_SLASH_JAVA)) |
|
411 |
else |
|
412 |
ifdef ALT_JDK_JAVA_DRIVE |
|
413 |
SLASH_JAVA =$(JDK_JAVA_DRIVE) |
|
414 |
else |
|
415 |
SLASH_JAVA =J: |
|
416 |
endif |
|
417 |
endif |
|
418 |
SLASH_JAVA:=$(call AltCheckSpaces,SLASH_JAVA) |
|
419 |
SLASH_JAVA:=$(call AltCheckValue,SLASH_JAVA) |
|
420 |
||
421 |
# JDK_DEVTOOLS_DIR: common path for all the java devtools |
|
422 |
ifdef ALT_JDK_DEVTOOLS_DIR |
|
423 |
xALT_JDK_DEVTOOLS_DIR :="$(subst \,/,$(ALT_JDK_DEVTOOLS_DIR))" |
|
424 |
JDK_DEVTOOLS_DIR :=$(call FullPath,$(xALT_JDK_DEVTOOLS_DIR)) |
|
425 |
else |
|
426 |
JDK_DEVTOOLS_DIR =$(SLASH_JAVA)/devtools |
|
427 |
endif |
|
428 |
JDK_DEVTOOLS_DIR:=$(call AltCheckSpaces,JDK_DEVTOOLS_DIR) |
|
429 |
JDK_DEVTOOLS_DIR:=$(call AltCheckValue,JDK_DEVTOOLS_DIR) |
|
430 |
||
431 |
# COMPILER_PATH: path to where the compiler and tools are installed. |
|
432 |
# NOTE: Must end with / so that it could be empty, allowing PATH usage. |
|
433 |
ifdef ALT_COMPILER_PATH |
|
434 |
xALT_COMPILER_PATH :="$(subst \,/,$(ALT_COMPILER_PATH))" |
|
435 |
fxALT_COMPILER_PATH :=$(call FullPath,$(xALT_COMPILER_PATH)) |
|
436 |
COMPILER_PATH :=$(call PrefixPath,$(fxALT_COMPILER_PATH)) |
|
437 |
else |
|
438 |
COMPILER_PATH :=$(call PrefixPath,$(_compiler_bin)) |
|
439 |
endif |
|
440 |
COMPILER_PATH :=$(call AltCheckSpaces,COMPILER_PATH) |
|
441 |
||
442 |
# MSDEVTOOLS_PATH: path to where the additional MS Compiler tools are. |
|
443 |
# NOTE: Must end with / so that it could be empty, allowing PATH usage. |
|
444 |
ifdef ALT_MSDEVTOOLS_PATH |
|
445 |
xALT_MSDEVTOOLS_PATH :="$(subst \,/,$(ALT_MSDEVTOOLS_PATH))" |
|
446 |
fxALT_MSDEVTOOLS_PATH :=$(call FullPath,$(xALT_MSDEVTOOLS_PATH)) |
|
447 |
MSDEVTOOLS_PATH :=$(call PrefixPath,$(fxALT_MSDEVTOOLS_PATH)) |
|
448 |
else |
|
449 |
ifeq ($(ARCH_DATA_MODEL), 64) |
|
450 |
ifdef MSTOOLS |
|
451 |
xMSTOOLS :="$(subst \,/,$(MSTOOLS))" |
|
452 |
_ms_tools :=$(call FullPath,$(xMSTOOLS)) |
|
453 |
else |
|
454 |
ifdef Mstools |
|
455 |
xMSTOOLS :="$(subst \,/,$(Mstools))" |
|
456 |
_ms_tools :=$(call FullPath,$(xMSTOOLS)) |
|
457 |
else |
|
458 |
_ms_tools := |
|
459 |
endif |
|
460 |
endif |
|
461 |
ifneq ($(_ms_tools),) |
|
462 |
_ms_tools_bin :=$(_ms_tools)/Bin |
|
463 |
else |
|
464 |
# Assumes compiler bin is .../Bin/win64/x86/AMD64, rc.exe is 3 levels up |
|
465 |
_ms_tools_bin :=$(_compiler_bin)/../../.. |
|
466 |
endif |
|
467 |
else |
|
468 |
_ms_tools_bin :=$(_compiler_bin) |
|
469 |
endif |
|
470 |
MSDEVTOOLS_PATH :=$(call PrefixPath,$(_ms_tools_bin)) |
|
471 |
endif |
|
472 |
MSDEVTOOLS_PATH:=$(call AltCheckSpaces,MSDEVTOOLS_PATH) |
|
473 |
||
474 |
# DEVTOOLS_PATH: for other tools required for building (such as zip, etc.) |
|
475 |
# NOTE: Must end with / so that it could be empty, allowing PATH usage. |
|
476 |
ifdef ALT_DEVTOOLS_PATH |
|
477 |
xALT_DEVTOOLS_PATH :="$(subst \,/,$(ALT_DEVTOOLS_PATH))" |
|
478 |
fxALT_DEVTOOLS_PATH :=$(call FullPath,$(xALT_DEVTOOLS_PATH)) |
|
479 |
DEVTOOLS_PATH :=$(call PrefixPath,$(fxALT_DEVTOOLS_PATH)) |
|
480 |
else |
|
481 |
ifdef USING_CYGWIN |
|
482 |
DEVTOOLS_PATH :=$(UNIXCOMMAND_PATH) |
|
483 |
else |
|
484 |
xDEVTOOLS_PATH :="$(_system_drive)/utils" |
|
485 |
fxDEVTOOLS_PATH :=$(call FullPath,$(xDEVTOOLS_PATH)) |
|
486 |
DEVTOOLS_PATH :=$(call PrefixPath,$(fxDEVTOOLS_PATH)) |
|
487 |
endif |
|
488 |
endif |
|
489 |
DEVTOOLS_PATH:=$(call AltCheckSpaces,DEVTOOLS_PATH) |
|
490 |
||
491 |
# _BOOTDIR1: First choice for a Bootstrap JDK, previous released JDK. |
|
492 |
# _BOOTDIR2: Second choice |
|
2806
27edf81ff967
6833444: _BOOTDIR1/_BOOTDIR2 on MS Windows should be consistent with other platforms
anthony
parents:
2624
diff
changeset
|
493 |
# The _BOOTDIR3 is defind optionally. |
2 | 494 |
ifndef ALT_BOOTDIR |
495 |
_BOOTDIR1 =$(_system_drive)/jdk$(PREVIOUS_JDK_VERSION) |
|
496 |
_BOOTDIR2 =$(USRJDKINSTANCES_PATH)/jdk$(PREVIOUS_JDK_VERSION) |
|
2806
27edf81ff967
6833444: _BOOTDIR1/_BOOTDIR2 on MS Windows should be consistent with other platforms
anthony
parents:
2624
diff
changeset
|
497 |
_BOOTDIR3 =$(SLASH_JAVA)/re/jdk/$(PREVIOUS_JDK_VERSION)/archive/fcs/binaries/$(PLATFORM)-$(ARCH) |
2 | 498 |
endif |
499 |
||
2186
53da56fa3bf9
6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents:
2158
diff
changeset
|
500 |
# 32 bit always needs 2 runtimes, 64 bit usually does too |
2 | 501 |
|
2186
53da56fa3bf9
6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents:
2158
diff
changeset
|
502 |
# MSVCRT_DLL_PATH: location of msvcrt.dll that will be re-distributed |
53da56fa3bf9
6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents:
2158
diff
changeset
|
503 |
ifdef ALT_MSVCRT_DLL_PATH |
53da56fa3bf9
6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents:
2158
diff
changeset
|
504 |
xALT_MSVCRT_DLL_PATH :="$(subst \,/,$(ALT_MSVCRT_DLL_PATH))" |
53da56fa3bf9
6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents:
2158
diff
changeset
|
505 |
MSVCRT_DLL_PATH :=$(call FullPath,$(xALT_MSVCRT_DLL_PATH)) |
53da56fa3bf9
6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents:
2158
diff
changeset
|
506 |
else |
53da56fa3bf9
6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents:
2158
diff
changeset
|
507 |
MSVCRT_DLL_PATH :=$(call FullPath,$(_system_root)/system32/) |
53da56fa3bf9
6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents:
2158
diff
changeset
|
508 |
endif |
53da56fa3bf9
6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents:
2158
diff
changeset
|
509 |
MSVCRT_DLL_PATH:=$(call AltCheckSpaces,MSVCRT_DLL_PATH) |
53da56fa3bf9
6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents:
2158
diff
changeset
|
510 |
MSVCRT_DLL_PATH:=$(call AltCheckValue,MSVCRT_DLL_PATH) |
2 | 511 |
|
2186
53da56fa3bf9
6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents:
2158
diff
changeset
|
512 |
# 32bit always needs the MSVCRNN runtime, 64bit does when using VS2008 |
2 | 513 |
ifeq ($(ARCH_DATA_MODEL), 32) |
2186
53da56fa3bf9
6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents:
2158
diff
changeset
|
514 |
_NEEDS_MSVCRNN = true |
53da56fa3bf9
6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents:
2158
diff
changeset
|
515 |
else |
5381
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
516 |
ifneq ($(VS2010),) |
2186
53da56fa3bf9
6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents:
2158
diff
changeset
|
517 |
_NEEDS_MSVCRNN = true |
5381
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
518 |
else |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
519 |
ifneq ($(VS2008),) |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
520 |
_NEEDS_MSVCRNN = true |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
521 |
else |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
522 |
_NEEDS_MSVCRNN = false |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
523 |
endif |
2 | 524 |
endif |
2186
53da56fa3bf9
6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents:
2158
diff
changeset
|
525 |
endif |
53da56fa3bf9
6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents:
2158
diff
changeset
|
526 |
|
53da56fa3bf9
6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents:
2158
diff
changeset
|
527 |
ifeq ($(_NEEDS_MSVCRNN), true) |
1776
33e9405ab91b
6754862: jdk/src/windows/bin/java_md.c: hardcoded reference to msvcr71.dll
tbell
parents:
1247
diff
changeset
|
528 |
# MSVCRNN_DLL_PATH: location of msvcrnn.dll that will be re-distributed |
33e9405ab91b
6754862: jdk/src/windows/bin/java_md.c: hardcoded reference to msvcr71.dll
tbell
parents:
1247
diff
changeset
|
529 |
ifdef ALT_MSVCRNN_DLL_PATH |
33e9405ab91b
6754862: jdk/src/windows/bin/java_md.c: hardcoded reference to msvcr71.dll
tbell
parents:
1247
diff
changeset
|
530 |
xALT_MSVCRNN_DLL_PATH :="$(subst \,/,$(ALT_MSVCRNN_DLL_PATH))" |
33e9405ab91b
6754862: jdk/src/windows/bin/java_md.c: hardcoded reference to msvcr71.dll
tbell
parents:
1247
diff
changeset
|
531 |
MSVCRNN_DLL_PATH :=$(call FullPath,$(xALT_MSVCRNN_DLL_PATH)) |
2 | 532 |
else |
2186
53da56fa3bf9
6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents:
2158
diff
changeset
|
533 |
MSVCRNN_DLL_PATH :=$(_redist_sdk) |
2 | 534 |
endif |
1776
33e9405ab91b
6754862: jdk/src/windows/bin/java_md.c: hardcoded reference to msvcr71.dll
tbell
parents:
1247
diff
changeset
|
535 |
MSVCRNN_DLL_PATH :=$(call AltCheckSpaces,MSVCRNN_DLL_PATH) |
33e9405ab91b
6754862: jdk/src/windows/bin/java_md.c: hardcoded reference to msvcr71.dll
tbell
parents:
1247
diff
changeset
|
536 |
MSVCRNN_DLL_PATH:=$(call AltCheckValue,MSVCRNN_DLL_PATH) |
2 | 537 |
endif |
538 |
||
539 |
# DXSDK_PATH: path to Microsoft DirectX SDK Include and Lib |
|
540 |
ifdef ALT_DXSDK_PATH |
|
541 |
xALT_DXSDK_PATH :="$(subst \,/,$(ALT_DXSDK_PATH))" |
|
542 |
DXSDK_PATH :=$(call FullPath,$(xALT_DXSDK_PATH)) |
|
543 |
else |
|
544 |
_DXSDK_PATH1 :=$(_dx_sdk_dir) |
|
545 |
_DXSDK_PATH2 :=$(JDK_DEVTOOLS_DIR)/windows/dxsdk |
|
546 |
DXSDK_PATH :=$(call DirExists,$(_DXSDK_PATH1),$(_DXSDK_PATH2),$(_dx_sdk_dir)) |
|
547 |
endif |
|
548 |
DXSDK_PATH :=$(call AltCheckSpaces,DXSDK_PATH) |
|
549 |
DXSDK_PATH:=$(call AltCheckValue,DXSDK_PATH) |
|
550 |
||
551 |
# DXSDK_INCLUDE_PATH: path to Microsoft DirectX SDK Include |
|
552 |
ifdef ALT_DXSDK_INCLUDE_PATH |
|
553 |
xALT_DXSDK_INCLUDE_PATH :="$(subst \,/,$(ALT_DXSDK_INCLUDE_PATH))" |
|
554 |
DXSDK_INCLUDE_PATH :=$(call FullPath,$(xALT_DXSDK_INCLUDE_PATH)) |
|
555 |
else |
|
556 |
DXSDK_INCLUDE_PATH =$(subst //,/,$(DXSDK_PATH)/Include) |
|
557 |
endif |
|
558 |
||
559 |
# DXSDK_LIB_PATH: path to Microsoft DirectX SDK Lib |
|
560 |
ifdef ALT_DXSDK_LIB_PATH |
|
561 |
xALT_DXSDK_LIB_PATH :="$(subst \,/,$(ALT_DXSDK_LIB_PATH))" |
|
562 |
DXSDK_LIB_PATH :=$(call FullPath,$(xALT_DXSDK_LIB_PATH)) |
|
563 |
else |
|
564 |
ifeq ($(ARCH_DATA_MODEL), 64) |
|
565 |
# 64bit libs are located in "Lib/x64" subdir |
|
566 |
DXSDK_LIB_PATH =$(subst //,/,$(DXSDK_PATH)/Lib/x64) |
|
567 |
else |
|
568 |
DXSDK_LIB_PATH =$(subst //,/,$(DXSDK_PATH)/Lib) |
|
569 |
endif |
|
570 |
endif |
|
571 |
||
572 |
# DEPLOY_MSSDK: Microsoft SDK for this platform (for deploy) |
|
573 |
ifdef ALT_DEPLOY_MSSDK |
|
574 |
xALT_DEPLOY_MSSDK :="$(subst \,/,$(ALT_DEPLOY_MSSDK))" |
|
575 |
DEPLOY_MSSDK :=$(call FullPath,$(xALT_DEPLOY_MSSDK)) |
|
576 |
else |
|
577 |
DEPLOY_MSSDK :=$(_ms_sdk) |
|
578 |
endif |
|
579 |
DEPLOY_MSSDK:=$(call AltCheckSpaces,DEPLOY_MSSDK) |
|
580 |
||
581 |
# INSTALL_MSSDK: Microsoft Installer SDK for this platform (for install) |
|
582 |
ifdef ALT_INSTALL_MSSDK |
|
583 |
xALT_INSTALL_MSSDK :="$(subst \,/,$(ALT_INSTALL_MSSDK))" |
|
584 |
INSTALL_MSSDK :=$(call FullPath,$(xALT_INSTALL_MSSDK)) |
|
585 |
else |
|
3111
fefdeafb7ab9
6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
herrick
parents:
2624
diff
changeset
|
586 |
INSTALL_MSSDK :=$(_ms_sdk) |
2 | 587 |
endif |
588 |
INSTALL_MSSDK:=$(call AltCheckSpaces,INSTALL_MSSDK) |
|
589 |
||
590 |
# INSTALL_MSIVAL2: Installation of MsiVal2 for this platform (for install) |
|
591 |
ifdef ALT_INSTALL_MSIVAL2 |
|
592 |
xALT_INSTALL_MSIVAL2 :="$(subst \,/,$(ALT_INSTALL_MSIVAL2))" |
|
593 |
INSTALL_MSIVAL2 :=$(call FullPath,$(xALT_INSTALL_MSIVAL2)) |
|
594 |
else |
|
2186
53da56fa3bf9
6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents:
2158
diff
changeset
|
595 |
INSTALL_MSIVAL2 :=$(_program_files32)/MsiVal2 |
2 | 596 |
endif |
597 |
INSTALL_MSIVAL2:=$(call AltCheckSpaces,INSTALL_MSIVAL2) |
|
598 |
||
599 |
# WSCRIPT: path to wscript.exe (used in creating install bundles) |
|
600 |
ifdef ALT_WSCRIPT |
|
601 |
xALT_WSCRIPT :="$(subst \,/,$(ALT_WSCRIPT))" |
|
602 |
WSCRIPT =$(xALT_WSCRIPT) |
|
603 |
else |
|
604 |
_WSCRIPT1 :=$(_system_root)/system32/wscript.exe |
|
605 |
_WSCRIPT2 :=$(DEVTOOLS_PATH)wscript.exe |
|
606 |
WSCRIPT :=$(call FileExists,$(_WSCRIPT1),$(_WSCRIPT2)) |
|
607 |
endif |
|
608 |
WSCRIPT:=$(call AltCheckSpaces,WSCRIPT) |
|
1025
a9ba5ea0f1f7
6614210: JPRT Windows 32bit msival2 build failure when building 'install' workspace
ksrini
parents:
2
diff
changeset
|
609 |
# batch mode no modal dialogs on errors, please. |
2602
5b394a4b6ce1
6755943: Java JAR Pack200 Decompression should enforce stricter header checks
ksrini
parents:
2
diff
changeset
|
610 |
WSCRIPT += -B |
2 | 611 |
|
612 |
# CSCRIPT: path to cscript.exe (used in creating install bundles) |
|
613 |
ifdef ALT_CSCRIPT |
|
614 |
xALT_CSCRIPT :="$(subst \,/,$(ALT_CSCRIPT))" |
|
615 |
CSCRIPT =$(xALT_CSCRIPT) |
|
616 |
else |
|
617 |
_CSCRIPT1 :=$(_system_root)/system32/cscript.exe |
|
618 |
_CSCRIPT2 :=$(DEVTOOLS_PATH)cscript.exe |
|
619 |
CSCRIPT :=$(call FileExists,$(_CSCRIPT1),$(_CSCRIPT2)) |
|
620 |
endif |
|
621 |
CSCRIPT:=$(call AltCheckSpaces,CSCRIPT) |
|
622 |
||
5381
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
623 |
# CABARC: path to cabarc.exe (used in creating install bundles) |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
624 |
ifdef ALT_CABARC |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
625 |
xALT_CABARC :="$(subst \,/,$(ALT_CABARC))" |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
626 |
CABARC =$(xALT_CABARC) |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
627 |
else |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
628 |
_CABARC1 :=$(_system_root)/system32/cabarc.exe |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
629 |
_CABARC2 :=$(DEVTOOLS_PATH)cabarc.exe |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
630 |
CABARC :=$(call FileExists,$(_CABARC1),$(_CABARC2)) |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
631 |
endif |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
632 |
CABARC:=$(call AltCheckSpaces,CABARC) |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
3288
diff
changeset
|
633 |
|
2 | 634 |
# MSIVAL2: path to msival2.exe (used in validating install msi files) |
635 |
ifdef ALT_MSIVAL2 |
|
636 |
xALT_MSIVAL2 :="$(subst \,/,$(ALT_MSIVAL2))" |
|
637 |
MSIVAL2 =$(xALT_MSIVAL2) |
|
638 |
else |
|
639 |
_MSIVAL2_1 :=$(INSTALL_MSIVAL2)/msival2.exe |
|
640 |
_MSIVAL2_2 :=$(DEVTOOLS_PATH)msival2.exe |
|
641 |
MSIVAL2 :=$(call FileExists,$(_MSIVAL2_1),$(_MSIVAL2_2)) |
|
642 |
endif |
|
643 |
MSIVAL2:=$(call AltCheckSpaces,MSIVAL2) |
|
1025
a9ba5ea0f1f7
6614210: JPRT Windows 32bit msival2 build failure when building 'install' workspace
ksrini
parents:
2
diff
changeset
|
644 |
# suppress msival2 checks, as it hangs jprt builds |
2602
5b394a4b6ce1
6755943: Java JAR Pack200 Decompression should enforce stricter header checks
ksrini
parents:
2
diff
changeset
|
645 |
ifdef SKIP_MSIVAL2 |
5b394a4b6ce1
6755943: Java JAR Pack200 Decompression should enforce stricter header checks
ksrini
parents:
2
diff
changeset
|
646 |
MSIVAL2 := $(ECHO) |
5b394a4b6ce1
6755943: Java JAR Pack200 Decompression should enforce stricter header checks
ksrini
parents:
2
diff
changeset
|
647 |
endif |
2 | 648 |
|
649 |
# LOGOCUB: path to cub file for (used in validating install msi files) |
|
650 |
ifdef ALT_LOGOCUB |
|
651 |
xALT_LOGOCUB :="$(subst \,/,$(ALT_LOGOCUB))" |
|
652 |
LOGOCUB =$(xALT_LOGOCUB) |
|
653 |
else |
|
654 |
_LOGOCUB1 :=$(INSTALL_MSIVAL2)/logo.cub |
|
655 |
_LOGOCUB2 :=$(DEVTOOLS_PATH)logo.cub |
|
656 |
LOGOCUB :=$(call FileExists,$(_LOGOCUB1),$(_LOGOCUB2)) |
|
657 |
endif |
|
658 |
LOGOCUB:=$(call AltCheckSpaces,LOGOCUB) |
|
659 |
||
660 |
# MSITRAN: path to msitran.exe (used in creating install bundles and sponsors) |
|
661 |
ifdef ALT_MSITRAN |
|
662 |
xALT_MSITRAN :="$(subst \,/,$(ALT_MSITRAN))" |
|
663 |
MSITRAN =$(xALT_MSITRAN) |
|
664 |
else |
|
665 |
_MSITRAN1 :=$(INSTALL_MSSDK)/Bin/msitran.exe |
|
666 |
_MSITRAN2 :=$(DEVTOOLS_PATH)msitran.exe |
|
667 |
MSITRAN :=$(call FileExists,$(_MSITRAN1),$(_MSITRAN2)) |
|
668 |
endif |
|
669 |
MSITRAN:=$(call AltCheckSpaces,MSITRAN) |
|
670 |
||
671 |
# MSICERT: path to msicert.exe (used in creating install bundles) |
|
672 |
ifdef ALT_MSICERT |
|
673 |
xALT_MSICERT :="$(subst \,/,$(ALT_MSICERT))" |
|
674 |
MSICERT =$(xALT_MSICERT) |
|
675 |
else |
|
676 |
_MSICERT1 :=$(INSTALL_MSSDK)/Bin/msicert.exe |
|
677 |
_MSICERT2 :=$(DEVTOOLS_PATH)msicert.exe |
|
678 |
MSICERT :=$(call FileExists,$(_MSICERT1),$(_MSICERT2)) |
|
679 |
endif |
|
680 |
MSICERT:=$(call AltCheckSpaces,MSICERT) |
|
681 |
||
682 |
# Import JDK images allow for partial builds, components not built are |
|
683 |
# imported (or copied from) these import areas when needed. |
|
684 |
||
685 |
# BUILD_JDK_IMPORT_PATH: location of JDK install trees to import for |
|
686 |
# multiple platforms, e.g. windows-i586, solaris-sparc, linux-586, etc. |
|
687 |
ifdef ALT_BUILD_JDK_IMPORT_PATH |
|
688 |
BUILD_JDK_IMPORT_PATH :=$(call FullPath,$(ALT_BUILD_JDK_IMPORT_PATH)) |
|
689 |
else |
|
690 |
BUILD_JDK_IMPORT_PATH = $(PROMOTED_BUILD_BINARIES) |
|
691 |
endif |
|
692 |
BUILD_JDK_IMPORT_PATH:=$(call AltCheckSpaces,BUILD_JDK_IMPORT_PATH) |
|
693 |
BUILD_JDK_IMPORT_PATH:=$(call AltCheckValue,BUILD_JDK_IMPORT_PATH) |
|
694 |
||
695 |
# JDK_IMPORT_PATH: location of previously built JDK (this version) to import |
|
696 |
ifdef ALT_JDK_IMPORT_PATH |
|
697 |
JDK_IMPORT_PATH :=$(call FullPath,$(ALT_JDK_IMPORT_PATH)) |
|
698 |
else |
|
699 |
JDK_IMPORT_PATH = $(BUILD_JDK_IMPORT_PATH)/$(PLATFORM)-$(ARCH)$(_JDK_IMPORT_VARIANT) |
|
700 |
endif |
|
701 |
JDK_IMPORT_PATH:=$(call AltCheckSpaces,JDK_IMPORT_PATH) |
|
702 |
JDK_IMPORT_PATH:=$(call AltCheckValue,JDK_IMPORT_PATH) |
|
703 |
||
704 |
# HOTSPOT_IMPORT_PATH: location of hotspot pre-built files |
|
705 |
ifdef ALT_HOTSPOT_IMPORT_PATH |
|
706 |
HOTSPOT_IMPORT_PATH :=$(call FullPath,$(ALT_HOTSPOT_IMPORT_PATH)) |
|
707 |
else |
|
3116
244619fd110e
6633813: Add standard hotspot import path for Kernel VM
herrick
parents:
3114
diff
changeset
|
708 |
# Default locations include the current $OUTPUTDIR, RE Promotions, |
244619fd110e
6633813: Add standard hotspot import path for Kernel VM
herrick
parents:
3114
diff
changeset
|
709 |
# and a JDK. Please be aware the JDK does not include a Kernel VM. |
244619fd110e
6633813: Add standard hotspot import path for Kernel VM
herrick
parents:
3114
diff
changeset
|
710 |
_HOTSPOT_IMPORT_PATH1 = $(OUTPUTDIR)/hotspot/import |
244619fd110e
6633813: Add standard hotspot import path for Kernel VM
herrick
parents:
3114
diff
changeset
|
711 |
_HOTSPOT_IMPORT_PATH2 = $(PROMOTED_BUILD_DISTDIR)/hotspot/import |
244619fd110e
6633813: Add standard hotspot import path for Kernel VM
herrick
parents:
3114
diff
changeset
|
712 |
_HOTSPOT_IMPORT_PATH3 = $(JDK_IMPORT_PATH) |
244619fd110e
6633813: Add standard hotspot import path for Kernel VM
herrick
parents:
3114
diff
changeset
|
713 |
HOTSPOT_IMPORT_PATH := $(call DirExists,$(_HOTSPOT_IMPORT_PATH1),$(_HOTSPOT_IMPORT_PATH2),$(_HOTSPOT_IMPORT_PATH3)) |
2 | 714 |
endif |
715 |
HOTSPOT_IMPORT_PATH:=$(call AltCheckSpaces,HOTSPOT_IMPORT_PATH) |
|
716 |
HOTSPOT_IMPORT_PATH:=$(call AltCheckValue,HOTSPOT_IMPORT_PATH) |
|
717 |
||
718 |
# HOTSPOT_CLIENT_PATH: location of client jvm library file. |
|
719 |
ifeq ($(ARCH_DATA_MODEL), 32) |
|
720 |
ifdef ALT_HOTSPOT_CLIENT_PATH |
|
721 |
HOTSPOT_CLIENT_PATH :=$(call FullPath,$(ALT_HOTSPOT_CLIENT_PATH)) |
|
722 |
else |
|
723 |
HOTSPOT_CLIENT_PATH =$(HOTSPOT_IMPORT_PATH)/$(ARCH_VM_SUBDIR)/client |
|
724 |
endif |
|
725 |
HOTSPOT_CLIENT_PATH:=$(call AltCheckSpaces,HOTSPOT_CLIENT_PATH) |
|
726 |
HOTSPOT_CLIENT_PATH:=$(call AltCheckValue,HOTSPOT_CLIENT_PATH) |
|
727 |
endif |
|
728 |
||
729 |
# HOTSPOT_SERVER_PATH: location of server jvm library file. |
|
730 |
ifdef ALT_HOTSPOT_SERVER_PATH |
|
731 |
HOTSPOT_SERVER_PATH :=$(call FullPath,$(ALT_HOTSPOT_SERVER_PATH)) |
|
732 |
else |
|
733 |
HOTSPOT_SERVER_PATH =$(HOTSPOT_IMPORT_PATH)/$(ARCH_VM_SUBDIR)/server |
|
734 |
endif |
|
735 |
HOTSPOT_SERVER_PATH:=$(call AltCheckSpaces,HOTSPOT_SERVER_PATH) |
|
736 |
HOTSPOT_SERVER_PATH:=$(call AltCheckValue,HOTSPOT_SERVER_PATH) |
|
737 |
||
738 |
# HOTSPOT_LIB_PATH: location of jvm.lib file. |
|
739 |
ifdef ALT_HOTSPOT_LIB_PATH |
|
740 |
xALT_HOTSPOT_LIB_PATH :="$(subst \,/,$(ALT_HOTSPOT_LIB_PATH))" |
|
741 |
HOTSPOT_LIB_PATH :=$(call FullPath,$(xALT_HOTSPOT_LIB_PATH)) |
|
742 |
else |
|
743 |
HOTSPOT_LIB_PATH =$(HOTSPOT_IMPORT_PATH)/lib |
|
744 |
endif |
|
745 |
HOTSPOT_LIB_PATH:=$(call AltCheckSpaces,HOTSPOT_LIB_PATH) |
|
746 |
HOTSPOT_LIB_PATH:=$(call AltCheckValue,HOTSPOT_LIB_PATH) |