annotate make/windows/makefiles/defs.make @ 7267:a4b84ba6dc2e

Introduction of the Truffle API for efficient implementation of dynamic languages on top of the Graal VM. New projects com.oracle.truffle.api for the API definition and com.oracle.truffle.api.test for API tests and documentation.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Tue, 18 Dec 2012 15:33:55 +0100
parents 857f3ce858dd
children 8b46b0196eb0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a61af66fc99e Initial load
duke
parents:
diff changeset
1 #
6020
d652a62d6e03 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 3960
diff changeset
2 # Copyright (c) 2006, 2012, Oracle and/or its affiliates. All rights reserved.
0
a61af66fc99e Initial load
duke
parents:
diff changeset
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
a61af66fc99e Initial load
duke
parents:
diff changeset
4 #
a61af66fc99e Initial load
duke
parents:
diff changeset
5 # This code is free software; you can redistribute it and/or modify it
a61af66fc99e Initial load
duke
parents:
diff changeset
6 # under the terms of the GNU General Public License version 2 only, as
a61af66fc99e Initial load
duke
parents:
diff changeset
7 # published by the Free Software Foundation.
a61af66fc99e Initial load
duke
parents:
diff changeset
8 #
a61af66fc99e Initial load
duke
parents:
diff changeset
9 # This code is distributed in the hope that it will be useful, but WITHOUT
a61af66fc99e Initial load
duke
parents:
diff changeset
10 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
a61af66fc99e Initial load
duke
parents:
diff changeset
11 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
a61af66fc99e Initial load
duke
parents:
diff changeset
12 # version 2 for more details (a copy is included in the LICENSE file that
a61af66fc99e Initial load
duke
parents:
diff changeset
13 # accompanied this code).
a61af66fc99e Initial load
duke
parents:
diff changeset
14 #
a61af66fc99e Initial load
duke
parents:
diff changeset
15 # You should have received a copy of the GNU General Public License version
a61af66fc99e Initial load
duke
parents:
diff changeset
16 # 2 along with this work; if not, write to the Free Software Foundation,
a61af66fc99e Initial load
duke
parents:
diff changeset
17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
a61af66fc99e Initial load
duke
parents:
diff changeset
18 #
1552
c18cbe5936b8 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 1485
diff changeset
19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
c18cbe5936b8 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 1485
diff changeset
20 # or visit www.oracle.com if you need additional information or have any
c18cbe5936b8 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 1485
diff changeset
21 # questions.
0
a61af66fc99e Initial load
duke
parents:
diff changeset
22 #
a61af66fc99e Initial load
duke
parents:
diff changeset
23 #
a61af66fc99e Initial load
duke
parents:
diff changeset
24
a61af66fc99e Initial load
duke
parents:
diff changeset
25 # The common definitions for hotspot windows builds.
a61af66fc99e Initial load
duke
parents:
diff changeset
26 # Include the top level defs.make under make directory instead of this one.
a61af66fc99e Initial load
duke
parents:
diff changeset
27 # This file is included into make/defs.make.
427
3c07cda72b7d 6764892: VS2008 changes required to compile hotspot sources
tbell
parents: 271
diff changeset
28 # On windows it is only used to construct parameters for
91
a294fd0c4b38 6583644: Move all managed/SCCS files out of 'build' into 'make' directory
kamg
parents: 0
diff changeset
29 # make/windows/build.make when make/Makefile is used to build VM.
0
a61af66fc99e Initial load
duke
parents:
diff changeset
30
a61af66fc99e Initial load
duke
parents:
diff changeset
31 SLASH_JAVA ?= J:
a61af66fc99e Initial load
duke
parents:
diff changeset
32 PATH_SEP = ;
a61af66fc99e Initial load
duke
parents:
diff changeset
33
a61af66fc99e Initial load
duke
parents:
diff changeset
34 # Need PLATFORM (os-arch combo names) for jdk and hotspot, plus libarch name
1598
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
35 ifeq ($(ARCH_DATA_MODEL),32)
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
36 ARCH_DATA_MODEL=32
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
37 PLATFORM=windows-i586
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
38 VM_PLATFORM=windows_i486
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
39 HS_ARCH=x86
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
40 MAKE_ARGS += ARCH=x86
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
41 MAKE_ARGS += BUILDARCH=i486
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
42 MAKE_ARGS += Platform_arch=x86
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
43 MAKE_ARGS += Platform_arch_model=x86_32
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
44 endif
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
45
0
a61af66fc99e Initial load
duke
parents:
diff changeset
46 ifneq ($(shell $(ECHO) $(PROCESSOR_IDENTIFIER) | $(GREP) x86),)
a61af66fc99e Initial load
duke
parents:
diff changeset
47 ARCH_DATA_MODEL=32
a61af66fc99e Initial load
duke
parents:
diff changeset
48 PLATFORM=windows-i586
a61af66fc99e Initial load
duke
parents:
diff changeset
49 VM_PLATFORM=windows_i486
a61af66fc99e Initial load
duke
parents:
diff changeset
50 HS_ARCH=x86
a61af66fc99e Initial load
duke
parents:
diff changeset
51 MAKE_ARGS += ARCH=x86
a61af66fc99e Initial load
duke
parents:
diff changeset
52 MAKE_ARGS += BUILDARCH=i486
a61af66fc99e Initial load
duke
parents:
diff changeset
53 MAKE_ARGS += Platform_arch=x86
a61af66fc99e Initial load
duke
parents:
diff changeset
54 MAKE_ARGS += Platform_arch_model=x86_32
a61af66fc99e Initial load
duke
parents:
diff changeset
55 endif
a61af66fc99e Initial load
duke
parents:
diff changeset
56
1598
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
57 ifneq ($(ARCH_DATA_MODEL),32)
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
58 ifneq ($(shell $(ECHO) $(PROCESSOR_IDENTIFIER) | $(GREP) ia64),)
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
59 ARCH_DATA_MODEL=64
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
60 PLATFORM=windows-ia64
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
61 VM_PLATFORM=windows_ia64
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
62 HS_ARCH=ia64
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
63 MAKE_ARGS += LP64=1
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
64 MAKE_ARGS += ARCH=ia64
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
65 MAKE_ARGS += BUILDARCH=ia64
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
66 MAKE_ARGS += Platform_arch=ia64
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
67 MAKE_ARGS += Platform_arch_model=ia64
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
68 endif
0
a61af66fc99e Initial load
duke
parents:
diff changeset
69
1485
fb57d4cf76c2 6931180: Migration to recent versions of MS Platform SDK
prr
parents: 456
diff changeset
70 # http://support.microsoft.com/kb/888731 : this can be either
fb57d4cf76c2 6931180: Migration to recent versions of MS Platform SDK
prr
parents: 456
diff changeset
71 # AMD64 for AMD, or EM64T for Intel chips.
1598
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
72 ifneq ($(shell $(ECHO) $(PROCESSOR_IDENTIFIER) | $(GREP) AMD64),)
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
73 ARCH_DATA_MODEL=64
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
74 PLATFORM=windows-amd64
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
75 VM_PLATFORM=windows_amd64
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
76 HS_ARCH=x86
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
77 MAKE_ARGS += LP64=1
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
78 MAKE_ARGS += ARCH=x86
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
79 MAKE_ARGS += BUILDARCH=amd64
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
80 MAKE_ARGS += Platform_arch=x86
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
81 MAKE_ARGS += Platform_arch_model=x86_64
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
82 endif
0
a61af66fc99e Initial load
duke
parents:
diff changeset
83
1557
70191885f707 6961079: Build JDK7 for 64 bit Windows using free Windows 7.1 SDK 64 bit compilers
prr
parents: 1552
diff changeset
84 ifneq ($(shell $(ECHO) $(PROCESSOR_IDENTIFIER) | $(GREP) EM64T),)
1598
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
85 ARCH_DATA_MODEL=64
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
86 PLATFORM=windows-amd64
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
87 VM_PLATFORM=windows_amd64
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
88 HS_ARCH=x86
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
89 MAKE_ARGS += LP64=1
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
90 MAKE_ARGS += ARCH=x86
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
91 MAKE_ARGS += BUILDARCH=amd64
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
92 MAKE_ARGS += Platform_arch=x86
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
93 MAKE_ARGS += Platform_arch_model=x86_64
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
94 endif
1557
70191885f707 6961079: Build JDK7 for 64 bit Windows using free Windows 7.1 SDK 64 bit compilers
prr
parents: 1552
diff changeset
95
1485
fb57d4cf76c2 6931180: Migration to recent versions of MS Platform SDK
prr
parents: 456
diff changeset
96 # NB later OS versions than 2003 may report "Intel64"
1598
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
97 ifneq ($(shell $(ECHO) $(PROCESSOR_IDENTIFIER) | $(GREP) Intel64),)
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
98 ARCH_DATA_MODEL=64
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
99 PLATFORM=windows-amd64
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
100 VM_PLATFORM=windows_amd64
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
101 HS_ARCH=x86
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
102 MAKE_ARGS += LP64=1
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
103 MAKE_ARGS += ARCH=x86
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
104 MAKE_ARGS += BUILDARCH=amd64
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
105 MAKE_ARGS += Platform_arch=x86
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
106 MAKE_ARGS += Platform_arch_model=x86_64
e13a5c0ed5e2 6964882: 32 bit JDK does not build on 64 bit Windows platforms
prr
parents: 1557
diff changeset
107 endif
1485
fb57d4cf76c2 6931180: Migration to recent versions of MS Platform SDK
prr
parents: 456
diff changeset
108 endif
fb57d4cf76c2 6931180: Migration to recent versions of MS Platform SDK
prr
parents: 456
diff changeset
109
6020
d652a62d6e03 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 3960
diff changeset
110 # Full Debug Symbols has been enabled on Windows since JDK1.4.1 so
d652a62d6e03 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 3960
diff changeset
111 # there is no need for an "earlier than JDK7 check".
6021
744728c16316 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
dcubed
parents: 6020
diff changeset
112 # The Full Debug Symbols (FDS) default for BUILD_FLAVOR == product
744728c16316 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
dcubed
parents: 6020
diff changeset
113 # builds is enabled with debug info files ZIP'ed to save space. For
744728c16316 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
dcubed
parents: 6020
diff changeset
114 # BUILD_FLAVOR != product builds, FDS is always enabled, after all a
744728c16316 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
dcubed
parents: 6020
diff changeset
115 # debug build without debug info isn't very useful.
744728c16316 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
dcubed
parents: 6020
diff changeset
116 # The ZIP_DEBUGINFO_FILES option only has meaning when FDS is enabled.
744728c16316 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
dcubed
parents: 6020
diff changeset
117 #
744728c16316 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
dcubed
parents: 6020
diff changeset
118 # If you invoke a build with FULL_DEBUG_SYMBOLS=0, then FDS will be
744728c16316 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
dcubed
parents: 6020
diff changeset
119 # disabled for a BUILD_FLAVOR == product build.
744728c16316 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
dcubed
parents: 6020
diff changeset
120 #
744728c16316 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
dcubed
parents: 6020
diff changeset
121 # Note: Use of a different variable name for the FDS override option
744728c16316 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
dcubed
parents: 6020
diff changeset
122 # versus the FDS enabled check is intentional (FULL_DEBUG_SYMBOLS
744728c16316 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
dcubed
parents: 6020
diff changeset
123 # versus ENABLE_FULL_DEBUG_SYMBOLS). For auto build systems that pass
744728c16316 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
dcubed
parents: 6020
diff changeset
124 # in options via environment variables, use of distinct variables
744728c16316 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
dcubed
parents: 6020
diff changeset
125 # prevents strange behaviours. For example, in a BUILD_FLAVOR !=
744728c16316 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
dcubed
parents: 6020
diff changeset
126 # product build, the FULL_DEBUG_SYMBOLS environment variable will be
744728c16316 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
dcubed
parents: 6020
diff changeset
127 # 0, but the ENABLE_FULL_DEBUG_SYMBOLS make variable will be 1. If
744728c16316 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
dcubed
parents: 6020
diff changeset
128 # the same variable name is used, then different values can be picked
744728c16316 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
dcubed
parents: 6020
diff changeset
129 # up by different parts of the build. Just to be clear, we only need
744728c16316 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
dcubed
parents: 6020
diff changeset
130 # two variable names because the incoming option value can be
744728c16316 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
dcubed
parents: 6020
diff changeset
131 # overridden in some situations, e.g., a BUILD_FLAVOR != product
744728c16316 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
dcubed
parents: 6020
diff changeset
132 # build.
6020
d652a62d6e03 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 3960
diff changeset
133
6932
857f3ce858dd 8002034: Allow Full Debug Symbols when cross-compiling
dholmes
parents: 6854
diff changeset
134 # Due to the multiple sub-make processes that occur this logic gets
857f3ce858dd 8002034: Allow Full Debug Symbols when cross-compiling
dholmes
parents: 6854
diff changeset
135 # executed multiple times. We reduce the noise by at least checking that
857f3ce858dd 8002034: Allow Full Debug Symbols when cross-compiling
dholmes
parents: 6854
diff changeset
136 # BUILD_FLAVOR has been set.
857f3ce858dd 8002034: Allow Full Debug Symbols when cross-compiling
dholmes
parents: 6854
diff changeset
137 ifneq ($(BUILD_FLAVOR),)
857f3ce858dd 8002034: Allow Full Debug Symbols when cross-compiling
dholmes
parents: 6854
diff changeset
138 ifeq ($(BUILD_FLAVOR), product)
857f3ce858dd 8002034: Allow Full Debug Symbols when cross-compiling
dholmes
parents: 6854
diff changeset
139 FULL_DEBUG_SYMBOLS ?= 1
857f3ce858dd 8002034: Allow Full Debug Symbols when cross-compiling
dholmes
parents: 6854
diff changeset
140 ENABLE_FULL_DEBUG_SYMBOLS = $(FULL_DEBUG_SYMBOLS)
857f3ce858dd 8002034: Allow Full Debug Symbols when cross-compiling
dholmes
parents: 6854
diff changeset
141 else
857f3ce858dd 8002034: Allow Full Debug Symbols when cross-compiling
dholmes
parents: 6854
diff changeset
142 # debug variants always get Full Debug Symbols (if available)
857f3ce858dd 8002034: Allow Full Debug Symbols when cross-compiling
dholmes
parents: 6854
diff changeset
143 ENABLE_FULL_DEBUG_SYMBOLS = 1
857f3ce858dd 8002034: Allow Full Debug Symbols when cross-compiling
dholmes
parents: 6854
diff changeset
144 endif
857f3ce858dd 8002034: Allow Full Debug Symbols when cross-compiling
dholmes
parents: 6854
diff changeset
145 _JUNK_ := $(shell \
857f3ce858dd 8002034: Allow Full Debug Symbols when cross-compiling
dholmes
parents: 6854
diff changeset
146 echo >&2 "INFO: ENABLE_FULL_DEBUG_SYMBOLS=$(ENABLE_FULL_DEBUG_SYMBOLS)")
857f3ce858dd 8002034: Allow Full Debug Symbols when cross-compiling
dholmes
parents: 6854
diff changeset
147 MAKE_ARGS += ENABLE_FULL_DEBUG_SYMBOLS=$(ENABLE_FULL_DEBUG_SYMBOLS)
857f3ce858dd 8002034: Allow Full Debug Symbols when cross-compiling
dholmes
parents: 6854
diff changeset
148
857f3ce858dd 8002034: Allow Full Debug Symbols when cross-compiling
dholmes
parents: 6854
diff changeset
149 ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
857f3ce858dd 8002034: Allow Full Debug Symbols when cross-compiling
dholmes
parents: 6854
diff changeset
150 ZIP_DEBUGINFO_FILES ?= 1
857f3ce858dd 8002034: Allow Full Debug Symbols when cross-compiling
dholmes
parents: 6854
diff changeset
151 else
857f3ce858dd 8002034: Allow Full Debug Symbols when cross-compiling
dholmes
parents: 6854
diff changeset
152 ZIP_DEBUGINFO_FILES=0
857f3ce858dd 8002034: Allow Full Debug Symbols when cross-compiling
dholmes
parents: 6854
diff changeset
153 endif
857f3ce858dd 8002034: Allow Full Debug Symbols when cross-compiling
dholmes
parents: 6854
diff changeset
154 MAKE_ARGS += ZIP_DEBUGINFO_FILES=$(ZIP_DEBUGINFO_FILES)
6021
744728c16316 7158067: FDS: ENABLE_FULL_DEBUG_SYMBOLS flag should only affect product builds
dcubed
parents: 6020
diff changeset
155 endif
6020
d652a62d6e03 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 3960
diff changeset
156
d652a62d6e03 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 3960
diff changeset
157 MAKE_ARGS += RM="$(RM)"
d652a62d6e03 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 3960
diff changeset
158 MAKE_ARGS += ZIPEXE=$(ZIPEXE)
d652a62d6e03 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 3960
diff changeset
159
5946
3d7ea1dbe0de 7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents: 5919
diff changeset
160 # On 32 bit windows we build server, client and kernel, on 64 bit just server.
3d7ea1dbe0de 7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents: 5919
diff changeset
161 ifeq ($(JVM_VARIANTS),)
3d7ea1dbe0de 7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents: 5919
diff changeset
162 ifeq ($(ARCH_DATA_MODEL), 32)
6854
fb19af007ffc 7189254: Change makefiles for more flexibility to override defaults
jprovino
parents: 6603
diff changeset
163 JVM_VARIANTS:=client,server
5946
3d7ea1dbe0de 7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents: 5919
diff changeset
164 JVM_VARIANT_CLIENT:=true
3d7ea1dbe0de 7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents: 5919
diff changeset
165 JVM_VARIANT_SERVER:=true
3d7ea1dbe0de 7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents: 5919
diff changeset
166 else
3d7ea1dbe0de 7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents: 5919
diff changeset
167 JVM_VARIANTS:=server
3d7ea1dbe0de 7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents: 5919
diff changeset
168 JVM_VARIANT_SERVER:=true
3d7ea1dbe0de 7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents: 5919
diff changeset
169 endif
3d7ea1dbe0de 7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents: 5919
diff changeset
170 endif
3d7ea1dbe0de 7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents: 5919
diff changeset
171
0
a61af66fc99e Initial load
duke
parents:
diff changeset
172 JDK_INCLUDE_SUBDIR=win32
a61af66fc99e Initial load
duke
parents:
diff changeset
173
3960
f08d439fab8c 7089790: integrate bsd-port changes
never
parents: 3846
diff changeset
174 # Library suffix
f08d439fab8c 7089790: integrate bsd-port changes
never
parents: 3846
diff changeset
175 LIBRARY_SUFFIX=dll
f08d439fab8c 7089790: integrate bsd-port changes
never
parents: 3846
diff changeset
176
427
3c07cda72b7d 6764892: VS2008 changes required to compile hotspot sources
tbell
parents: 271
diff changeset
177 # HOTSPOT_RELEASE_VERSION and HOTSPOT_BUILD_VERSION are defined
0
a61af66fc99e Initial load
duke
parents:
diff changeset
178 # and added to MAKE_ARGS list in $(GAMMADIR)/make/defs.make.
a61af66fc99e Initial load
duke
parents:
diff changeset
179
a61af66fc99e Initial load
duke
parents:
diff changeset
180 # next parameters are defined in $(GAMMADIR)/make/defs.make.
a61af66fc99e Initial load
duke
parents:
diff changeset
181 MAKE_ARGS += JDK_MKTG_VERSION=$(JDK_MKTG_VERSION)
a61af66fc99e Initial load
duke
parents:
diff changeset
182 MAKE_ARGS += JDK_MAJOR_VER=$(JDK_MAJOR_VERSION)
a61af66fc99e Initial load
duke
parents:
diff changeset
183 MAKE_ARGS += JDK_MINOR_VER=$(JDK_MINOR_VERSION)
a61af66fc99e Initial load
duke
parents:
diff changeset
184 MAKE_ARGS += JDK_MICRO_VER=$(JDK_MICRO_VERSION)
a61af66fc99e Initial load
duke
parents:
diff changeset
185
a61af66fc99e Initial load
duke
parents:
diff changeset
186 ifdef COOKED_JDK_UPDATE_VERSION
a61af66fc99e Initial load
duke
parents:
diff changeset
187 MAKE_ARGS += JDK_UPDATE_VER=$(COOKED_JDK_UPDATE_VERSION)
a61af66fc99e Initial load
duke
parents:
diff changeset
188 endif
a61af66fc99e Initial load
duke
parents:
diff changeset
189
a61af66fc99e Initial load
duke
parents:
diff changeset
190 # COOKED_BUILD_NUMBER should only be set if we have a numeric
a61af66fc99e Initial load
duke
parents:
diff changeset
191 # build number. It must not be zero padded.
a61af66fc99e Initial load
duke
parents:
diff changeset
192 ifdef COOKED_BUILD_NUMBER
a61af66fc99e Initial load
duke
parents:
diff changeset
193 MAKE_ARGS += JDK_BUILD_NUMBER=$(COOKED_BUILD_NUMBER)
a61af66fc99e Initial load
duke
parents:
diff changeset
194 endif
a61af66fc99e Initial load
duke
parents:
diff changeset
195
6603
0d8e265ba727 7181175: Enable builds on Windows with MinGW/MSYS
dcubed
parents: 6096
diff changeset
196 NMAKE= MAKEFLAGS= MFLAGS= nmake -NOLOGO
0d8e265ba727 7181175: Enable builds on Windows with MinGW/MSYS
dcubed
parents: 6096
diff changeset
197 ifndef SYSTEM_UNAME
0d8e265ba727 7181175: Enable builds on Windows with MinGW/MSYS
dcubed
parents: 6096
diff changeset
198 SYSTEM_UNAME := $(shell uname)
0d8e265ba727 7181175: Enable builds on Windows with MinGW/MSYS
dcubed
parents: 6096
diff changeset
199 export SYSTEM_UNAME
0d8e265ba727 7181175: Enable builds on Windows with MinGW/MSYS
dcubed
parents: 6096
diff changeset
200 endif
0
a61af66fc99e Initial load
duke
parents:
diff changeset
201
a61af66fc99e Initial load
duke
parents:
diff changeset
202 # Check for CYGWIN
6603
0d8e265ba727 7181175: Enable builds on Windows with MinGW/MSYS
dcubed
parents: 6096
diff changeset
203 ifneq (,$(findstring CYGWIN,$(SYSTEM_UNAME)))
0
a61af66fc99e Initial load
duke
parents:
diff changeset
204 USING_CYGWIN=true
a61af66fc99e Initial load
duke
parents:
diff changeset
205 else
a61af66fc99e Initial load
duke
parents:
diff changeset
206 USING_CYGWIN=false
a61af66fc99e Initial load
duke
parents:
diff changeset
207 endif
6603
0d8e265ba727 7181175: Enable builds on Windows with MinGW/MSYS
dcubed
parents: 6096
diff changeset
208 # Check for MinGW
0d8e265ba727 7181175: Enable builds on Windows with MinGW/MSYS
dcubed
parents: 6096
diff changeset
209 ifneq (,$(findstring MINGW,$(SYSTEM_UNAME)))
0d8e265ba727 7181175: Enable builds on Windows with MinGW/MSYS
dcubed
parents: 6096
diff changeset
210 USING_MINGW=true
0d8e265ba727 7181175: Enable builds on Windows with MinGW/MSYS
dcubed
parents: 6096
diff changeset
211 endif
0
a61af66fc99e Initial load
duke
parents:
diff changeset
212 # FIXUP: The subdirectory for a debug build is NOT the same on all platforms
a61af66fc99e Initial load
duke
parents:
diff changeset
213 VM_DEBUG=debug
a61af66fc99e Initial load
duke
parents:
diff changeset
214
a61af66fc99e Initial load
duke
parents:
diff changeset
215 # Windows wants particular paths due to nmake (must be after macros defined)
a61af66fc99e Initial load
duke
parents:
diff changeset
216 # It is important that gnumake invokes nmake with C:\\...\\ formated
a61af66fc99e Initial load
duke
parents:
diff changeset
217 # strings so that nmake gets C:\...\ style strings.
a61af66fc99e Initial load
duke
parents:
diff changeset
218 # Check for CYGWIN
a61af66fc99e Initial load
duke
parents:
diff changeset
219 ifeq ($(USING_CYGWIN), true)
a61af66fc99e Initial load
duke
parents:
diff changeset
220 ABS_OUTPUTDIR := $(subst /,\\,$(shell /bin/cygpath -m -a "$(OUTPUTDIR)"))
a61af66fc99e Initial load
duke
parents:
diff changeset
221 ABS_BOOTDIR := $(subst /,\\,$(shell /bin/cygpath -m -a "$(BOOTDIR)"))
a61af66fc99e Initial load
duke
parents:
diff changeset
222 ABS_GAMMADIR := $(subst /,\\,$(shell /bin/cygpath -m -a "$(GAMMADIR)"))
271
818a18cd69a8 6730514: assertion failure in mangling code when expanding by 0 bytes
jmasa
parents: 196
diff changeset
223 ABS_OS_MAKEFILE := $(shell /bin/cygpath -m -a "$(HS_MAKE_DIR)/$(OSNAME)")/build.make
6603
0d8e265ba727 7181175: Enable builds on Windows with MinGW/MSYS
dcubed
parents: 6096
diff changeset
224 else ifeq ($(USING_MINGW), true)
0d8e265ba727 7181175: Enable builds on Windows with MinGW/MSYS
dcubed
parents: 6096
diff changeset
225 ABS_OUTPUTDIR := $(shell $(CD) $(OUTPUTDIR);$(PWD))
0d8e265ba727 7181175: Enable builds on Windows with MinGW/MSYS
dcubed
parents: 6096
diff changeset
226 ABS_BOOTDIR := $(shell $(CD) $(BOOTDIR);$(PWD))
0d8e265ba727 7181175: Enable builds on Windows with MinGW/MSYS
dcubed
parents: 6096
diff changeset
227 ABS_GAMMADIR := $(shell $(CD) $(GAMMADIR);$(PWD))
0d8e265ba727 7181175: Enable builds on Windows with MinGW/MSYS
dcubed
parents: 6096
diff changeset
228 ABS_OS_MAKEFILE := $(shell $(CD) $(HS_MAKE_DIR)/$(OSNAME);$(PWD))/build.make
0d8e265ba727 7181175: Enable builds on Windows with MinGW/MSYS
dcubed
parents: 6096
diff changeset
229 else
0d8e265ba727 7181175: Enable builds on Windows with MinGW/MSYS
dcubed
parents: 6096
diff changeset
230 ABS_OUTPUTDIR := $(subst /,\\,$(shell $(CD) $(OUTPUTDIR);$(PWD)))
0d8e265ba727 7181175: Enable builds on Windows with MinGW/MSYS
dcubed
parents: 6096
diff changeset
231 ABS_BOOTDIR := $(subst /,\\,$(shell $(CD) $(BOOTDIR);$(PWD)))
0d8e265ba727 7181175: Enable builds on Windows with MinGW/MSYS
dcubed
parents: 6096
diff changeset
232 ABS_GAMMADIR := $(subst /,\\,$(shell $(CD) $(GAMMADIR);$(PWD)))
0d8e265ba727 7181175: Enable builds on Windows with MinGW/MSYS
dcubed
parents: 6096
diff changeset
233 ABS_OS_MAKEFILE := $(subst /,\\,$(shell $(CD) $(HS_MAKE_DIR)/$(OSNAME);$(PWD))/build.make)
0
a61af66fc99e Initial load
duke
parents:
diff changeset
234 endif
a61af66fc99e Initial load
duke
parents:
diff changeset
235
a61af66fc99e Initial load
duke
parents:
diff changeset
236 # Disable building SA on windows until we are sure
a61af66fc99e Initial load
duke
parents:
diff changeset
237 # we want to release it. If we build it here,
a61af66fc99e Initial load
duke
parents:
diff changeset
238 # the SDK makefiles will copy it over and put it into
a61af66fc99e Initial load
duke
parents:
diff changeset
239 # the created image.
456
b6272ef4a18f 6743339: Enable building sa-jdi.jar and sawindbg.dll on Windows with hotspot build
poonam
parents: 427
diff changeset
240 BUILD_WIN_SA = 1
0
a61af66fc99e Initial load
duke
parents:
diff changeset
241 ifneq ($(ALT_BUILD_WIN_SA),)
a61af66fc99e Initial load
duke
parents:
diff changeset
242 BUILD_WIN_SA = $(ALT_BUILD_WIN_SA)
a61af66fc99e Initial load
duke
parents:
diff changeset
243 endif
a61af66fc99e Initial load
duke
parents:
diff changeset
244
a61af66fc99e Initial load
duke
parents:
diff changeset
245 ifeq ($(BUILD_WIN_SA), 1)
427
3c07cda72b7d 6764892: VS2008 changes required to compile hotspot sources
tbell
parents: 271
diff changeset
246 ifeq ($(ARCH),ia64)
0
a61af66fc99e Initial load
duke
parents:
diff changeset
247 BUILD_WIN_SA = 0
a61af66fc99e Initial load
duke
parents:
diff changeset
248 endif
a61af66fc99e Initial load
duke
parents:
diff changeset
249 endif
a61af66fc99e Initial load
duke
parents:
diff changeset
250
a61af66fc99e Initial load
duke
parents:
diff changeset
251 EXPORT_SERVER_DIR = $(EXPORT_JRE_BIN_DIR)/server
3846
4aa5974a06dd 7075559: JPRT windows_x64 build failure
kvn
parents: 2042
diff changeset
252 EXPORT_CLIENT_DIR = $(EXPORT_JRE_BIN_DIR)/client
4aa5974a06dd 7075559: JPRT windows_x64 build failure
kvn
parents: 2042
diff changeset
253 EXPORT_KERNEL_DIR = $(EXPORT_JRE_BIN_DIR)/kernel
4aa5974a06dd 7075559: JPRT windows_x64 build failure
kvn
parents: 2042
diff changeset
254
5946
3d7ea1dbe0de 7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents: 5919
diff changeset
255 ifeq ($(JVM_VARIANT_SERVER),true)
3d7ea1dbe0de 7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents: 5919
diff changeset
256 EXPORT_LIST += $(EXPORT_SERVER_DIR)/Xusage.txt
3d7ea1dbe0de 7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents: 5919
diff changeset
257 EXPORT_LIST += $(EXPORT_SERVER_DIR)/jvm.$(LIBRARY_SUFFIX)
6022
dcubed
parents: 5946 6021
diff changeset
258 ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
dcubed
parents: 5946 6021
diff changeset
259 ifeq ($(ZIP_DEBUGINFO_FILES),1)
dcubed
parents: 5946 6021
diff changeset
260 EXPORT_LIST += $(EXPORT_SERVER_DIR)/jvm.diz
dcubed
parents: 5946 6021
diff changeset
261 else
dcubed
parents: 5946 6021
diff changeset
262 EXPORT_LIST += $(EXPORT_SERVER_DIR)/jvm.pdb
dcubed
parents: 5946 6021
diff changeset
263 EXPORT_LIST += $(EXPORT_SERVER_DIR)/jvm.map
dcubed
parents: 5946 6021
diff changeset
264 endif
6020
d652a62d6e03 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 3960
diff changeset
265 endif
5946
3d7ea1dbe0de 7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents: 5919
diff changeset
266 EXPORT_LIST += $(EXPORT_LIB_DIR)/jvm.lib
6020
d652a62d6e03 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 3960
diff changeset
267 endif
5946
3d7ea1dbe0de 7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents: 5919
diff changeset
268 ifeq ($(JVM_VARIANT_CLIENT),true)
0
a61af66fc99e Initial load
duke
parents:
diff changeset
269 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/Xusage.txt
3960
f08d439fab8c 7089790: integrate bsd-port changes
never
parents: 3846
diff changeset
270 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/jvm.$(LIBRARY_SUFFIX)
6020
d652a62d6e03 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 3960
diff changeset
271 ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
d652a62d6e03 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 3960
diff changeset
272 ifeq ($(ZIP_DEBUGINFO_FILES),1)
d652a62d6e03 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 3960
diff changeset
273 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/jvm.diz
d652a62d6e03 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 3960
diff changeset
274 else
d652a62d6e03 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 3960
diff changeset
275 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/jvm.pdb
d652a62d6e03 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 3960
diff changeset
276 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/jvm.map
d652a62d6e03 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 3960
diff changeset
277 endif
d652a62d6e03 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 3960
diff changeset
278 endif
5946
3d7ea1dbe0de 7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents: 5919
diff changeset
279 endif
3d7ea1dbe0de 7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents: 5919
diff changeset
280 ifeq ($(JVM_VARIANT_KERNEL),true)
0
a61af66fc99e Initial load
duke
parents:
diff changeset
281 EXPORT_LIST += $(EXPORT_KERNEL_DIR)/Xusage.txt
3960
f08d439fab8c 7089790: integrate bsd-port changes
never
parents: 3846
diff changeset
282 EXPORT_LIST += $(EXPORT_KERNEL_DIR)/jvm.$(LIBRARY_SUFFIX)
6020
d652a62d6e03 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 3960
diff changeset
283 ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
d652a62d6e03 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 3960
diff changeset
284 ifeq ($(ZIP_DEBUGINFO_FILES),1)
d652a62d6e03 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 3960
diff changeset
285 EXPORT_LIST += $(EXPORT_KERNEL_DIR)/jvm.diz
d652a62d6e03 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 3960
diff changeset
286 else
d652a62d6e03 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 3960
diff changeset
287 EXPORT_LIST += $(EXPORT_KERNEL_DIR)/jvm.pdb
d652a62d6e03 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 3960
diff changeset
288 EXPORT_LIST += $(EXPORT_KERNEL_DIR)/jvm.map
d652a62d6e03 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 3960
diff changeset
289 endif
d652a62d6e03 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 3960
diff changeset
290 endif
0
a61af66fc99e Initial load
duke
parents:
diff changeset
291 endif
a61af66fc99e Initial load
duke
parents:
diff changeset
292
5915
2d503de963b3 7148152: Add whitebox testing API to HotSpot
mgerdin
parents: 3960
diff changeset
293 EXPORT_LIST += $(EXPORT_JRE_LIB_DIR)/wb.jar
2d503de963b3 7148152: Add whitebox testing API to HotSpot
mgerdin
parents: 3960
diff changeset
294
0
a61af66fc99e Initial load
duke
parents:
diff changeset
295 ifeq ($(BUILD_WIN_SA), 1)
3960
f08d439fab8c 7089790: integrate bsd-port changes
never
parents: 3846
diff changeset
296 EXPORT_LIST += $(EXPORT_JRE_BIN_DIR)/sawindbg.$(LIBRARY_SUFFIX)
6020
d652a62d6e03 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 3960
diff changeset
297 ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
d652a62d6e03 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 3960
diff changeset
298 ifeq ($(ZIP_DEBUGINFO_FILES),1)
d652a62d6e03 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 3960
diff changeset
299 EXPORT_LIST += $(EXPORT_JRE_BIN_DIR)/sawindbg.diz
d652a62d6e03 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 3960
diff changeset
300 else
d652a62d6e03 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 3960
diff changeset
301 EXPORT_LIST += $(EXPORT_JRE_BIN_DIR)/sawindbg.pdb
d652a62d6e03 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 3960
diff changeset
302 EXPORT_LIST += $(EXPORT_JRE_BIN_DIR)/sawindbg.map
d652a62d6e03 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 3960
diff changeset
303 endif
d652a62d6e03 7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
dcubed
parents: 3960
diff changeset
304 endif
427
3c07cda72b7d 6764892: VS2008 changes required to compile hotspot sources
tbell
parents: 271
diff changeset
305 EXPORT_LIST += $(EXPORT_LIB_DIR)/sa-jdi.jar
0
a61af66fc99e Initial load
duke
parents:
diff changeset
306 # Must pass this down to nmake.
a61af66fc99e Initial load
duke
parents:
diff changeset
307 MAKE_ARGS += BUILD_WIN_SA=1
a61af66fc99e Initial load
duke
parents:
diff changeset
308 endif
5897
7292cff45988 7141244: build-infra merge: Include $(SPEC) in makefiles and make variables overridable
erikj
parents: 3960
diff changeset
309
7292cff45988 7141244: build-infra merge: Include $(SPEC) in makefiles and make variables overridable
erikj
parents: 3960
diff changeset
310 # Propagate compiler and tools paths from configure to nmake.
7292cff45988 7141244: build-infra merge: Include $(SPEC) in makefiles and make variables overridable
erikj
parents: 3960
diff changeset
311 # Need to make sure they contain \\ and not /.
7292cff45988 7141244: build-infra merge: Include $(SPEC) in makefiles and make variables overridable
erikj
parents: 3960
diff changeset
312 ifneq ($(SPEC),)
7292cff45988 7141244: build-infra merge: Include $(SPEC) in makefiles and make variables overridable
erikj
parents: 3960
diff changeset
313 ifeq ($(USING_CYGWIN), true)
7292cff45988 7141244: build-infra merge: Include $(SPEC) in makefiles and make variables overridable
erikj
parents: 3960
diff changeset
314 MAKE_ARGS += CXX="$(subst /,\\,$(shell /bin/cygpath -s -m -a $(CXX)))"
7292cff45988 7141244: build-infra merge: Include $(SPEC) in makefiles and make variables overridable
erikj
parents: 3960
diff changeset
315 MAKE_ARGS += LD="$(subst /,\\,$(shell /bin/cygpath -s -m -a $(LD)))"
7292cff45988 7141244: build-infra merge: Include $(SPEC) in makefiles and make variables overridable
erikj
parents: 3960
diff changeset
316 MAKE_ARGS += RC="$(subst /,\\,$(shell /bin/cygpath -s -m -a $(RC)))"
7292cff45988 7141244: build-infra merge: Include $(SPEC) in makefiles and make variables overridable
erikj
parents: 3960
diff changeset
317 MAKE_ARGS += MT="$(subst /,\\,$(shell /bin/cygpath -s -m -a $(MT)))"
7292cff45988 7141244: build-infra merge: Include $(SPEC) in makefiles and make variables overridable
erikj
parents: 3960
diff changeset
318 else
7292cff45988 7141244: build-infra merge: Include $(SPEC) in makefiles and make variables overridable
erikj
parents: 3960
diff changeset
319 MAKE_ARGS += CXX="$(subst /,\\,$(CXX))"
7292cff45988 7141244: build-infra merge: Include $(SPEC) in makefiles and make variables overridable
erikj
parents: 3960
diff changeset
320 MAKE_ARGS += LD="$(subst /,\\,$(LD))"
7292cff45988 7141244: build-infra merge: Include $(SPEC) in makefiles and make variables overridable
erikj
parents: 3960
diff changeset
321 MAKE_ARGS += RC="$(subst /,\\,$(RC))"
7292cff45988 7141244: build-infra merge: Include $(SPEC) in makefiles and make variables overridable
erikj
parents: 3960
diff changeset
322 MAKE_ARGS += MT="$(subst /,\\,$(MT))"
7292cff45988 7141244: build-infra merge: Include $(SPEC) in makefiles and make variables overridable
erikj
parents: 3960
diff changeset
323 endif
7292cff45988 7141244: build-infra merge: Include $(SPEC) in makefiles and make variables overridable
erikj
parents: 3960
diff changeset
324 endif