author | alanb |
Tue, 03 May 2016 09:11:31 +0100 | |
changeset 37827 | 09fa0c82a5f7 |
parent 35224 | e723bb1c6ef9 |
permissions | -rw-r--r-- |
1 | 1 |
# |
15432 | 2 |
# Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved. |
1 | 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 |
|
7 |
# published by the Free Software Foundation. |
|
8 |
# |
|
9 |
# This code is distributed in the hope that it will be useful, but WITHOUT |
|
10 |
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
11 |
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
12 |
# version 2 for more details (a copy is included in the LICENSE file that |
|
13 |
# accompanied this code). |
|
14 |
# |
|
15 |
# You should have received a copy of the GNU General Public License version |
|
16 |
# 2 along with this work; if not, write to the Free Software Foundation, |
|
17 |
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
|
18 |
# |
|
5547
f4b087cbb361
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
3261
diff
changeset
|
19 |
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
f4b087cbb361
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
3261
diff
changeset
|
20 |
# or visit www.oracle.com if you need additional information or have any |
f4b087cbb361
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
3261
diff
changeset
|
21 |
# questions. |
18025 | 22 |
# |
1 | 23 |
# |
24 |
||
338
5cf9f61d76f4
6583644: Move all managed/SCCS files out of 'build' into 'make' directory
kamg
parents:
1
diff
changeset
|
25 |
!include $(WorkSpace)/make/windows/makefiles/rules.make |
1 | 26 |
|
27 |
# This is used externally by both batch and IDE builds, so can't |
|
28 |
# reference any of the HOTSPOTWORKSPACE, HOTSPOTBUILDSPACE, |
|
29 |
# HOTSPOTRELEASEBINDEST, or HOTSPOTDEBUGBINDEST environment variables. |
|
30 |
||
7397 | 31 |
ProjectCreatorSources=\ |
32 |
$(WorkSpace)\src\share\tools\ProjectCreator\ProjectCreator.java \ |
|
13892 | 33 |
$(WorkSpace)\src\share\tools\ProjectCreator\FileTreeCreator.java \ |
34 |
$(WorkSpace)\src\share\tools\ProjectCreator\FileTreeCreatorVC10.java \ |
|
7397 | 35 |
$(WorkSpace)\src\share\tools\ProjectCreator\WinGammaPlatform.java \ |
8860 | 36 |
$(WorkSpace)\src\share\tools\ProjectCreator\WinGammaPlatformVC10.java \ |
7397 | 37 |
$(WorkSpace)\src\share\tools\ProjectCreator\Util.java \ |
38 |
$(WorkSpace)\src\share\tools\ProjectCreator\BuildConfig.java \ |
|
39 |
$(WorkSpace)\src\share\tools\ProjectCreator\ArgsParser.java |
|
1 | 40 |
|
41 |
# This is only used internally |
|
7397 | 42 |
ProjectCreatorIncludesPRIVATE=\ |
19270
607d97508c60
8016601: Unable to build hsx24 on Windows using project creator and Visual Studio
dcubed
parents:
18025
diff
changeset
|
43 |
-relativeAltSrcInclude src\closed \ |
607d97508c60
8016601: Unable to build hsx24 on Windows using project creator and Visual Studio
dcubed
parents:
18025
diff
changeset
|
44 |
-altRelativeInclude share\vm \ |
607d97508c60
8016601: Unable to build hsx24 on Windows using project creator and Visual Studio
dcubed
parents:
18025
diff
changeset
|
45 |
-altRelativeInclude os\windows\vm \ |
607d97508c60
8016601: Unable to build hsx24 on Windows using project creator and Visual Studio
dcubed
parents:
18025
diff
changeset
|
46 |
-altRelativeInclude os_cpu\windows_$(Platform_arch)\vm \ |
607d97508c60
8016601: Unable to build hsx24 on Windows using project creator and Visual Studio
dcubed
parents:
18025
diff
changeset
|
47 |
-altRelativeInclude cpu\$(Platform_arch)\vm \ |
7397 | 48 |
-relativeInclude src\share\vm \ |
11163
e1c2aa954fa7
7112308: Fix Visual Studio build for precompiled header
brutisso
parents:
8860
diff
changeset
|
49 |
-relativeInclude src\share\vm\precompiled \ |
12262
fb3b9fede660
7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
11721
diff
changeset
|
50 |
-relativeInclude src\share\vm\prims\wbtestmethods \ |
1 | 51 |
-relativeInclude src\share\vm\prims \ |
52 |
-relativeInclude src\os\windows\vm \ |
|
53 |
-relativeInclude src\os_cpu\windows_$(Platform_arch)\vm \ |
|
7397 | 54 |
-relativeInclude src\cpu\$(Platform_arch)\vm \ |
55 |
-absoluteInclude $(HOTSPOTBUILDSPACE)/%f/generated \ |
|
13892 | 56 |
-relativeSrcInclude src \ |
57 |
-absoluteSrcInclude $(HOTSPOTBUILDSPACE) \ |
|
58 |
-ignorePath $(HOTSPOTBUILDSPACE) \ |
|
59 |
-ignorePath share\vm\adlc \ |
|
60 |
-ignorePath share\vm\shark \ |
|
61 |
-ignorePath share\tools \ |
|
62 |
-ignorePath solaris \ |
|
63 |
-ignorePath posix \ |
|
64 |
-ignorePath sparc \ |
|
65 |
-ignorePath linux \ |
|
66 |
-ignorePath bsd \ |
|
67 |
-ignorePath osx \ |
|
68 |
-ignorePath arm \ |
|
69 |
-ignorePath ppc \ |
|
70 |
-ignorePath zero \ |
|
22896
2cafca0e0be0
8035650: Exclude AIX from VS.NET make/windows/projectcreator.make
mgronlun
parents:
19535
diff
changeset
|
71 |
-ignorePath aix \ |
29570
2dfa46d6ea7e
8074905: Exclude aarch64 from Visual Studio projectcreator.make
mgronlun
parents:
26681
diff
changeset
|
72 |
-ignorePath aarch64 \ |
35184
98d6fac15e3f
8144716: Unable to build in Visual Studio after JVMCI change
ctornqvi
parents:
34289
diff
changeset
|
73 |
-ignorePath jdk.vm.ci \ |
13892 | 74 |
-hidePath .hg |
18025 | 75 |
|
1 | 76 |
|
77 |
# This is referenced externally by both the IDE and batch builds |
|
7397 | 78 |
ProjectCreatorOptions= |
1 | 79 |
|
80 |
# This is used externally, but only by the IDE builds, so we can |
|
81 |
# reference environment variables which aren't defined in the batch |
|
82 |
# build process. |
|
83 |
||
7397 | 84 |
ProjectCreatorIDEOptions = \ |
1 | 85 |
-useToGeneratePch java.cpp \ |
86 |
-disablePch os_windows.cpp \ |
|
87 |
-disablePch os_windows_$(Platform_arch).cpp \ |
|
88 |
-disablePch osThread_windows.cpp \ |
|
89 |
-disablePch bytecodeInterpreter.cpp \ |
|
90 |
-disablePch bytecodeInterpreterWithChecks.cpp \ |
|
7397 | 91 |
-disablePch getThread_windows_$(Platform_arch).cpp \ |
18025 | 92 |
-disablePch_compiler2 opcodes.cpp |
1 | 93 |
|
19270
607d97508c60
8016601: Unable to build hsx24 on Windows using project creator and Visual Studio
dcubed
parents:
18025
diff
changeset
|
94 |
# Common options for the IDE builds for c1, and c2 |
7397 | 95 |
ProjectCreatorIDEOptions=\ |
96 |
$(ProjectCreatorIDEOptions) \ |
|
1 | 97 |
-sourceBase $(HOTSPOTWORKSPACE) \ |
7397 | 98 |
-buildBase $(HOTSPOTBUILDSPACE)\%f\%b \ |
13892 | 99 |
-buildSpace $(HOTSPOTBUILDSPACE) \ |
1 | 100 |
-startAt src \ |
7397 | 101 |
-compiler $(VcVersion) \ |
8303
81a0b8663748
7017824: Add support for creating 64-bit Visual Studio projects
sla
parents:
7452
diff
changeset
|
102 |
-projectFileName $(HOTSPOTBUILDSPACE)\$(ProjectFile) \ |
1 | 103 |
-jdkTargetRoot $(HOTSPOTJDKDIST) \ |
104 |
-define ALIGN_STACK_FRAMES \ |
|
105 |
-define VM_LITTLE_ENDIAN \ |
|
34289
2d1821a50263
8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
33160
diff
changeset
|
106 |
-prelink "" "Generating vm.def..." "cd $(HOTSPOTBUILDSPACE)\%f\%b set HOTSPOTMKSHOME=$(HOTSPOTMKSHOME) set JAVA_HOME=$(HOTSPOTJDKDIST) $(HOTSPOTMKSHOME)\sh $(HOTSPOTWORKSPACE)\make\windows\build_vm_def.sh $(LD_VER)" \ |
35224
e723bb1c6ef9
8146098: Visual Studio build fails after SA restructure
ctornqvi
parents:
35184
diff
changeset
|
107 |
-ignorePath src\jdk.hotspot.agent \ |
7397 | 108 |
-ignoreFile jsig.c \ |
109 |
-ignoreFile jvmtiEnvRecommended.cpp \ |
|
110 |
-ignoreFile jvmtiEnvStub.cpp \ |
|
111 |
-ignoreFile globalDefinitions_gcc.hpp \ |
|
112 |
-ignoreFile globalDefinitions_sparcWorks.hpp \ |
|
113 |
-ignoreFile version.rc \ |
|
114 |
-ignoreFile Xusage.txt \ |
|
115 |
-define TARGET_ARCH_x86 \ |
|
116 |
-define TARGET_OS_ARCH_windows_x86 \ |
|
117 |
-define TARGET_OS_FAMILY_windows \ |
|
118 |
-define TARGET_COMPILER_visCPP \ |
|
18025 | 119 |
-define INCLUDE_TRACE=1 \ |
7397 | 120 |
$(ProjectCreatorIncludesPRIVATE) |
1 | 121 |
|
122 |
# Add in build-specific options |
|
123 |
!if "$(BUILDARCH)" == "i486" |
|
7397 | 124 |
ProjectCreatorIDEOptions=$(ProjectCreatorIDEOptions) \ |
35184
98d6fac15e3f
8144716: Unable to build in Visual Studio after JVMCI change
ctornqvi
parents:
34289
diff
changeset
|
125 |
-platformName Win32 \ |
98d6fac15e3f
8144716: Unable to build in Visual Studio after JVMCI change
ctornqvi
parents:
34289
diff
changeset
|
126 |
-ignorePath x86_64 \ |
98d6fac15e3f
8144716: Unable to build in Visual Studio after JVMCI change
ctornqvi
parents:
34289
diff
changeset
|
127 |
-ignorePath src\share\vm\jvmci \ |
98d6fac15e3f
8144716: Unable to build in Visual Studio after JVMCI change
ctornqvi
parents:
34289
diff
changeset
|
128 |
-ignoreFile jvmciCodeInstaller_x86.cpp \ |
7397 | 129 |
-define IA32 \ |
35184
98d6fac15e3f
8144716: Unable to build in Visual Studio after JVMCI change
ctornqvi
parents:
34289
diff
changeset
|
130 |
-define INCLUDE_JVMCI=0 \ |
7397 | 131 |
-define TARGET_ARCH_MODEL_x86_32 |
132 |
!else |
|
8303
81a0b8663748
7017824: Add support for creating 64-bit Visual Studio projects
sla
parents:
7452
diff
changeset
|
133 |
!if "$(BUILDARCH)" == "amd64" |
7397 | 134 |
ProjectCreatorIDEOptions=$(ProjectCreatorIDEOptions) \ |
35184
98d6fac15e3f
8144716: Unable to build in Visual Studio after JVMCI change
ctornqvi
parents:
34289
diff
changeset
|
135 |
-platformName x64 \ |
98d6fac15e3f
8144716: Unable to build in Visual Studio after JVMCI change
ctornqvi
parents:
34289
diff
changeset
|
136 |
-ignorePath x86_32 \ |
8303
81a0b8663748
7017824: Add support for creating 64-bit Visual Studio projects
sla
parents:
7452
diff
changeset
|
137 |
-define AMD64 \ |
35184
98d6fac15e3f
8144716: Unable to build in Visual Studio after JVMCI change
ctornqvi
parents:
34289
diff
changeset
|
138 |
-define _LP64 \ |
98d6fac15e3f
8144716: Unable to build in Visual Studio after JVMCI change
ctornqvi
parents:
34289
diff
changeset
|
139 |
-define INCLUDE_JVMCI=1 \ |
8303
81a0b8663748
7017824: Add support for creating 64-bit Visual Studio projects
sla
parents:
7452
diff
changeset
|
140 |
-define TARGET_ARCH_MODEL_x86_64 \ |
35184
98d6fac15e3f
8144716: Unable to build in Visual Studio after JVMCI change
ctornqvi
parents:
34289
diff
changeset
|
141 |
-define TARGET_OS_ARCH_MODEL_windows_x86_64 |
8303
81a0b8663748
7017824: Add support for creating 64-bit Visual Studio projects
sla
parents:
7452
diff
changeset
|
142 |
!endif |
1 | 143 |
!endif |
144 |
||
7397 | 145 |
ProjectCreatorIDEOptionsIgnoreCompiler1=\ |
13892 | 146 |
-ignorePath_TARGET compiler1 \ |
147 |
-ignorePath_TARGET tiered \ |
|
7397 | 148 |
-ignorePath_TARGET c1_ |
149 |
||
150 |
ProjectCreatorIDEOptionsIgnoreCompiler2=\ |
|
13892 | 151 |
-ignorePath_TARGET compiler2 \ |
152 |
-ignorePath_TARGET tiered \ |
|
7397 | 153 |
-ignorePath_TARGET src/share/vm/opto \ |
154 |
-ignorePath_TARGET src/share/vm/libadt \ |
|
155 |
-ignorePath_TARGET adfiles \ |
|
156 |
-ignoreFile_TARGET bcEscapeAnalyzer.cpp \ |
|
157 |
-ignoreFile_TARGET bcEscapeAnalyzer.hpp \ |
|
158 |
-ignorePath_TARGET chaitin \ |
|
159 |
-ignorePath_TARGET c2_ \ |
|
160 |
-ignorePath_TARGET runtime_ \ |
|
161 |
-ignoreFile_TARGET ciTypeFlow.cpp \ |
|
162 |
-ignoreFile_TARGET ciTypeFlow.hpp \ |
|
163 |
-ignoreFile_TARGET $(Platform_arch_model).ad |
|
164 |
||
165 |
################################################## |
|
1 | 166 |
# Client(C1) compiler specific options |
167 |
################################################## |
|
7397 | 168 |
ProjectCreatorIDEOptions=$(ProjectCreatorIDEOptions) \ |
1 | 169 |
-define_compiler1 COMPILER1 \ |
7397 | 170 |
$(ProjectCreatorIDEOptionsIgnoreCompiler2:TARGET=compiler1) |
1 | 171 |
|
172 |
################################################## |
|
173 |
# Server(C2) compiler specific options |
|
174 |
################################################## |
|
175 |
#NOTE! This list must be kept in sync with GENERATED_NAMES in adlc.make. |
|
7397 | 176 |
ProjectCreatorIDEOptions=$(ProjectCreatorIDEOptions) \ |
1 | 177 |
-define_compiler2 COMPILER2 \ |
178 |
-additionalFile_compiler2 $(Platform_arch_model).ad \ |
|
13892 | 179 |
-additionalFile_compiler2 ad_$(Platform_arch_model).cpp \ |
180 |
-additionalFile_compiler2 ad_$(Platform_arch_model).hpp \ |
|
181 |
-additionalFile_compiler2 ad_$(Platform_arch_model)_clone.cpp \ |
|
182 |
-additionalFile_compiler2 ad_$(Platform_arch_model)_expand.cpp \ |
|
183 |
-additionalFile_compiler2 ad_$(Platform_arch_model)_format.cpp \ |
|
184 |
-additionalFile_compiler2 ad_$(Platform_arch_model)_gen.cpp \ |
|
185 |
-additionalFile_compiler2 ad_$(Platform_arch_model)_misc.cpp \ |
|
186 |
-additionalFile_compiler2 ad_$(Platform_arch_model)_peephole.cpp \ |
|
187 |
-additionalFile_compiler2 ad_$(Platform_arch_model)_pipeline.cpp \ |
|
188 |
-additionalFile_compiler2 adGlobals_$(Platform_arch_model).hpp \ |
|
189 |
-additionalFile_compiler2 dfa_$(Platform_arch_model).cpp \ |
|
7397 | 190 |
$(ProjectCreatorIDEOptionsIgnoreCompiler1:TARGET=compiler2) |
1 | 191 |
|
192 |
# Add in the jvmti (JSR-163) options |
|
193 |
# NOTE: do not pull in jvmtiEnvRecommended.cpp. This file is generated |
|
194 |
# so the programmer can diff it with jvmtiEnv.cpp to be sure the |
|
195 |
# code merge was done correctly (@see jvmti.make and jvmtiEnvFill.java). |
|
196 |
# If so, they would then check it in as a new version of jvmtiEnv.cpp. |
|
7397 | 197 |
ProjectCreatorIDEOptions=$(ProjectCreatorIDEOptions) \ |
13892 | 198 |
-additionalFile jvmtiEnv.hpp \ |
199 |
-additionalFile jvmtiEnter.cpp \ |
|
200 |
-additionalFile jvmtiEnterTrace.cpp \ |
|
201 |
-additionalFile jvmti.h \ |
|
18025 | 202 |
-additionalFile bytecodeInterpreterWithChecks.cpp \ |
203 |
-additionalFile traceEventClasses.hpp \ |
|
204 |
-additionalFile traceEventIds.hpp \ |
|
205 |
!if "$(OPENJDK)" != "true" |
|
206 |
-additionalFile traceRequestables.hpp \ |
|
207 |
-additionalFile traceEventControl.hpp \ |
|
208 |
-additionalFile traceProducer.cpp \ |
|
209 |
!endif |
|
210 |
-additionalFile traceTypes.hpp |