Mercurial > hg > truffle
annotate make/windows/makefiles/projectcreator.make @ 5752:6e9c7af8ce5d
Fixed propagation of return type into call sites. Eager resolve return type when specified in the graph builder. Added new test case.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Mon, 02 Jul 2012 19:46:54 +0200 |
parents | 8f01f899bccd |
children | 957c266d8bc5 |
rev | line source |
---|---|
0 | 1 # |
2233
15d6977f04b0
7017824: Add support for creating 64-bit Visual Studio projects
sla
parents:
2027
diff
changeset
|
2 # Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved. |
0 | 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 # | |
1552
c18cbe5936b8
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
844
diff
changeset
|
19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
c18cbe5936b8
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
844
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:
844
diff
changeset
|
21 # questions. |
0 | 22 # |
23 # | |
24 | |
91
a294fd0c4b38
6583644: Move all managed/SCCS files out of 'build' into 'make' directory
kamg
parents:
0
diff
changeset
|
25 !include $(WorkSpace)/make/windows/makefiles/rules.make |
0 | 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 | |
1972 | 31 ProjectCreatorSources=\ |
32 $(WorkSpace)\src\share\tools\ProjectCreator\DirectoryTree.java \ | |
33 $(WorkSpace)\src\share\tools\ProjectCreator\DirectoryTreeNode.java \ | |
34 $(WorkSpace)\src\share\tools\ProjectCreator\FileFormatException.java \ | |
35 $(WorkSpace)\src\share\tools\ProjectCreator\ProjectCreator.java \ | |
36 $(WorkSpace)\src\share\tools\ProjectCreator\WinGammaPlatform.java \ | |
37 $(WorkSpace)\src\share\tools\ProjectCreator\WinGammaPlatformVC6.java \ | |
38 $(WorkSpace)\src\share\tools\ProjectCreator\WinGammaPlatformVC7.java \ | |
39 $(WorkSpace)\src\share\tools\ProjectCreator\WinGammaPlatformVC8.java \ | |
40 $(WorkSpace)\src\share\tools\ProjectCreator\WinGammaPlatformVC9.java \ | |
2393 | 41 $(WorkSpace)\src\share\tools\ProjectCreator\WinGammaPlatformVC10.java \ |
1972 | 42 $(WorkSpace)\src\share\tools\ProjectCreator\Util.java \ |
43 $(WorkSpace)\src\share\tools\ProjectCreator\BuildConfig.java \ | |
44 $(WorkSpace)\src\share\tools\ProjectCreator\ArgsParser.java | |
0 | 45 |
46 # This is only used internally | |
1972 | 47 ProjectCreatorIncludesPRIVATE=\ |
2233
15d6977f04b0
7017824: Add support for creating 64-bit Visual Studio projects
sla
parents:
2027
diff
changeset
|
48 -relativeInclude src\closed\share\vm \ |
15d6977f04b0
7017824: Add support for creating 64-bit Visual Studio projects
sla
parents:
2027
diff
changeset
|
49 -relativeInclude src\closed\os\windows\vm \ |
15d6977f04b0
7017824: Add support for creating 64-bit Visual Studio projects
sla
parents:
2027
diff
changeset
|
50 -relativeInclude src\closed\os_cpu\windows_$(Platform_arch)\vm \ |
15d6977f04b0
7017824: Add support for creating 64-bit Visual Studio projects
sla
parents:
2027
diff
changeset
|
51 -relativeInclude src\closed\cpu\$(Platform_arch)\vm \ |
1972 | 52 -relativeInclude src\share\vm \ |
4084
c17bc65648de
7112308: Fix Visual Studio build for precompiled header
brutisso
parents:
2393
diff
changeset
|
53 -relativeInclude src\share\vm\precompiled \ |
0 | 54 -relativeInclude src\share\vm\prims \ |
55 -relativeInclude src\os\windows\vm \ | |
56 -relativeInclude src\os_cpu\windows_$(Platform_arch)\vm \ | |
1972 | 57 -relativeInclude src\cpu\$(Platform_arch)\vm \ |
58 -absoluteInclude $(HOTSPOTBUILDSPACE)/%f/generated \ | |
59 -ignorePath $(HOTSPOTBUILDSPACE)/%f/generated \ | |
60 -ignorePath src\share\vm\adlc \ | |
4800
94ec88ca68e2
7115199: Add event tracing hooks and Java Flight Recorder infrastructure
phh
parents:
4084
diff
changeset
|
61 -ignorePath src\share\vm\shark \ |
94ec88ca68e2
7115199: Add event tracing hooks and Java Flight Recorder infrastructure
phh
parents:
4084
diff
changeset
|
62 -ignorePath posix |
0 | 63 |
64 # This is referenced externally by both the IDE and batch builds | |
1972 | 65 ProjectCreatorOptions= |
0 | 66 |
67 # This is used externally, but only by the IDE builds, so we can | |
68 # reference environment variables which aren't defined in the batch | |
69 # build process. | |
70 | |
1972 | 71 ProjectCreatorIDEOptions = \ |
0 | 72 -useToGeneratePch java.cpp \ |
73 -disablePch os_windows.cpp \ | |
74 -disablePch os_windows_$(Platform_arch).cpp \ | |
75 -disablePch osThread_windows.cpp \ | |
76 -disablePch bytecodeInterpreter.cpp \ | |
77 -disablePch bytecodeInterpreterWithChecks.cpp \ | |
1972 | 78 -disablePch getThread_windows_$(Platform_arch).cpp \ |
0 | 79 -disablePch_compiler2 opcodes.cpp |
80 | |
81 # Common options for the IDE builds for core, c1, and c2 | |
1972 | 82 ProjectCreatorIDEOptions=\ |
83 $(ProjectCreatorIDEOptions) \ | |
0 | 84 -sourceBase $(HOTSPOTWORKSPACE) \ |
1972 | 85 -buildBase $(HOTSPOTBUILDSPACE)\%f\%b \ |
0 | 86 -startAt src \ |
1972 | 87 -compiler $(VcVersion) \ |
2233
15d6977f04b0
7017824: Add support for creating 64-bit Visual Studio projects
sla
parents:
2027
diff
changeset
|
88 -projectFileName $(HOTSPOTBUILDSPACE)\$(ProjectFile) \ |
0 | 89 -jdkTargetRoot $(HOTSPOTJDKDIST) \ |
90 -define ALIGN_STACK_FRAMES \ | |
91 -define VM_LITTLE_ENDIAN \ | |
4972
25c4d10b0728
Merge fix #2.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
4970
diff
changeset
|
92 -prelink "" "Generating vm.def..." "cd %o set HOTSPOTMKSHOME=$(HOTSPOTMKSHOME) set JAVA_HOME=$(HOTSPOTJDKDIST) $(HOTSPOTMKSHOME)\sh $(HOTSPOTWORKSPACE)\make\windows\build_vm_def.sh $(LD_VER)" \ |
25c4d10b0728
Merge fix #2.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
4970
diff
changeset
|
93 -postbuild "" "Building hotspot.exe..." "cd %o set HOTSPOTMKSHOME=$(HOTSPOTMKSHOME) nmake -f $(HOTSPOTWORKSPACE)\make\windows\projectfiles\common\Makefile LOCAL_MAKE=$(HOTSPOTBUILDSPACE)\%f\local.make JAVA_HOME=$(HOTSPOTJDKDIST) launcher" \ |
1972 | 94 -ignoreFile jsig.c \ |
95 -ignoreFile jvmtiEnvRecommended.cpp \ | |
96 -ignoreFile jvmtiEnvStub.cpp \ | |
97 -ignoreFile globalDefinitions_gcc.hpp \ | |
98 -ignoreFile globalDefinitions_sparcWorks.hpp \ | |
99 -ignoreFile version.rc \ | |
100 -ignoreFile Xusage.txt \ | |
101 -define TARGET_ARCH_x86 \ | |
102 -define TARGET_OS_ARCH_windows_x86 \ | |
103 -define TARGET_OS_FAMILY_windows \ | |
104 -define TARGET_COMPILER_visCPP \ | |
105 $(ProjectCreatorIncludesPRIVATE) | |
0 | 106 |
107 # Add in build-specific options | |
108 !if "$(BUILDARCH)" == "i486" | |
1972 | 109 ProjectCreatorIDEOptions=$(ProjectCreatorIDEOptions) \ |
2233
15d6977f04b0
7017824: Add support for creating 64-bit Visual Studio projects
sla
parents:
2027
diff
changeset
|
110 -platformName Win32 \ |
1972 | 111 -define IA32 \ |
112 -ignorePath x86_64 \ | |
113 -define TARGET_ARCH_MODEL_x86_32 | |
114 !else | |
2233
15d6977f04b0
7017824: Add support for creating 64-bit Visual Studio projects
sla
parents:
2027
diff
changeset
|
115 !if "$(BUILDARCH)" == "amd64" |
1972 | 116 ProjectCreatorIDEOptions=$(ProjectCreatorIDEOptions) \ |
2233
15d6977f04b0
7017824: Add support for creating 64-bit Visual Studio projects
sla
parents:
2027
diff
changeset
|
117 -platformName x64 \ |
15d6977f04b0
7017824: Add support for creating 64-bit Visual Studio projects
sla
parents:
2027
diff
changeset
|
118 -define AMD64 \ |
15d6977f04b0
7017824: Add support for creating 64-bit Visual Studio projects
sla
parents:
2027
diff
changeset
|
119 -define _LP64 \ |
1972 | 120 -ignorePath x86_32 \ |
2233
15d6977f04b0
7017824: Add support for creating 64-bit Visual Studio projects
sla
parents:
2027
diff
changeset
|
121 -define TARGET_ARCH_MODEL_x86_64 \ |
15d6977f04b0
7017824: Add support for creating 64-bit Visual Studio projects
sla
parents:
2027
diff
changeset
|
122 -define TARGET_OS_ARCH_MODEL_windows_x86_64 |
15d6977f04b0
7017824: Add support for creating 64-bit Visual Studio projects
sla
parents:
2027
diff
changeset
|
123 !endif |
0 | 124 !endif |
125 | |
1972 | 126 ProjectCreatorIDEOptionsIgnoreCompiler1=\ |
127 -ignorePath_TARGET c1_ | |
128 | |
129 ProjectCreatorIDEOptionsIgnoreCompiler2=\ | |
130 -ignorePath_TARGET src/share/vm/opto \ | |
131 -ignorePath_TARGET src/share/vm/libadt \ | |
132 -ignorePath_TARGET adfiles \ | |
133 -ignoreFile_TARGET bcEscapeAnalyzer.cpp \ | |
134 -ignoreFile_TARGET bcEscapeAnalyzer.hpp \ | |
135 -ignorePath_TARGET chaitin \ | |
136 -ignorePath_TARGET c2_ \ | |
137 -ignorePath_TARGET runtime_ \ | |
138 -ignoreFile_TARGET ciTypeFlow.cpp \ | |
139 -ignoreFile_TARGET ciTypeFlow.hpp \ | |
140 -ignoreFile_TARGET $(Platform_arch_model).ad | |
141 | |
142 ################################################## | |
143 # Without compiler(core) specific options | |
144 ################################################## | |
145 ProjectCreatorIDEOptions=$(ProjectCreatorIDEOptions) \ | |
146 $(ProjectCreatorIDEOptionsIgnoreCompiler1:TARGET=core) \ | |
147 $(ProjectCreatorIDEOptionsIgnoreCompiler2:TARGET=core) | |
148 | |
0 | 149 ################################################## |
150 # JKERNEL specific options | |
151 ################################################## | |
1972 | 152 ProjectCreatorIDEOptions=$(ProjectCreatorIDEOptions) \ |
0 | 153 -define_kernel KERNEL \ |
1972 | 154 $(ProjectCreatorIDEOptionsIgnoreCompiler2:TARGET=kernel) \ |
155 -ignorePath_kernel src/share/vm/gc_implementation/parallelScavenge \ | |
156 -ignorePath_kernel src/share/vm/gc_implementation/parNew \ | |
157 -ignorePath_kernel src/share/vm/gc_implementation/concurrentMarkSweep \ | |
158 -ignorePath_kernel src/share/vm/gc_implementation/g1 \ | |
159 -ignoreFile_kernel attachListener.cpp \ | |
160 -ignoreFile_kernel attachListener_windows.cpp \ | |
161 -ignoreFile_kernel dump.cpp \ | |
162 -ignoreFile_kernel dump_$(Platform_arch_model).cpp \ | |
163 -ignoreFile_kernel forte.cpp \ | |
164 -ignoreFile_kernel fprofiler.cpp \ | |
165 -ignoreFile_kernel heapDumper.cpp \ | |
166 -ignoreFile_kernel heapInspection.cpp \ | |
167 -ignoreFile_kernel jniCheck.cpp \ | |
168 -ignoreFile_kernel jvmtiCodeBlobEvents.cpp \ | |
169 -ignoreFile_kernel jvmtiExtensions.cpp \ | |
170 -ignoreFile_kernel jvmtiImpl.cpp \ | |
171 -ignoreFile_kernel jvmtiRawMonitor.cpp \ | |
172 -ignoreFile_kernel jvmtiTagMap.cpp \ | |
173 -ignoreFile_kernel jvmtiTrace.cpp \ | |
174 -ignoreFile_kernel jvmtiTrace.hpp \ | |
175 -ignoreFile_kernel restore.cpp \ | |
176 -ignoreFile_kernel serialize.cpp \ | |
177 -ignoreFile_kernel vmStructs.cpp \ | |
178 -ignoreFile_kernel g1MemoryPool.cpp \ | |
179 -ignoreFile_kernel g1MemoryPool.hpp \ | |
180 -ignoreFile_kernel psMemoryPool.cpp \ | |
181 -ignoreFile_kernel psMemoryPool.hpp \ | |
182 -ignoreFile_kernel gcAdaptivePolicyCounters.cpp \ | |
183 -ignoreFile_kernel concurrentGCThread.cpp \ | |
184 -ignoreFile_kernel mutableNUMASpace.cpp \ | |
185 -ignoreFile_kernel ciTypeFlow.cpp \ | |
186 -ignoreFile_kernel ciTypeFlow.hpp \ | |
187 -ignoreFile_kernel oop.pcgc.inline.hpp \ | |
188 -ignoreFile_kernel oop.psgc.inline.hpp \ | |
189 -ignoreFile_kernel allocationStats.cpp \ | |
190 -ignoreFile_kernel allocationStats.hpp \ | |
191 -ignoreFile_kernel concurrentGCThread.hpp \ | |
192 -ignoreFile_kernel gSpaceCounters.cpp \ | |
193 -ignoreFile_kernel gSpaceCounters.hpp \ | |
194 -ignoreFile_kernel gcAdaptivePolicyCounters.hpp \ | |
195 -ignoreFile_kernel immutableSpace.cpp \ | |
196 -ignoreFile_kernel mutableNUMASpace.hpp \ | |
197 -ignoreFile_kernel mutableSpace.cpp \ | |
198 -ignoreFile_kernel spaceCounters.cpp \ | |
199 -ignoreFile_kernel spaceCounters.hpp \ | |
200 -ignoreFile_kernel yieldingWorkgroup.cpp \ | |
201 -ignoreFile_kernel yieldingWorkgroup.hpp \ | |
202 -ignorePath_kernel vmStructs_ \ | |
203 -ignoreFile_kernel $(Platform_arch_model).ad \ | |
204 -additionalFile_kernel gcTaskManager.hpp | |
0 | 205 |
206 ################################################## | |
207 # Client(C1) compiler specific options | |
208 ################################################## | |
1972 | 209 ProjectCreatorIDEOptions=$(ProjectCreatorIDEOptions) \ |
0 | 210 -define_compiler1 COMPILER1 \ |
4976
8f01f899bccd
More GRAAL #ifdef; ignore graal directory on windows for client/server configuration.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
4972
diff
changeset
|
211 -ignorePath_compiler1 src/share/vm/graal \ |
1972 | 212 $(ProjectCreatorIDEOptionsIgnoreCompiler2:TARGET=compiler1) |
0 | 213 |
214 ################################################## | |
4572
76841bdd5f3e
(Windows) Add Graal build configurations (with GRAAL defined) and fix build command.
Andreas Woess <andreas.woess@jku.at>
parents:
4443
diff
changeset
|
215 # Graal compiler specific options |
76841bdd5f3e
(Windows) Add Graal build configurations (with GRAAL defined) and fix build command.
Andreas Woess <andreas.woess@jku.at>
parents:
4443
diff
changeset
|
216 ################################################## |
76841bdd5f3e
(Windows) Add Graal build configurations (with GRAAL defined) and fix build command.
Andreas Woess <andreas.woess@jku.at>
parents:
4443
diff
changeset
|
217 ProjectCreatorIDEOptions=$(ProjectCreatorIDEOptions) \ |
76841bdd5f3e
(Windows) Add Graal build configurations (with GRAAL defined) and fix build command.
Andreas Woess <andreas.woess@jku.at>
parents:
4443
diff
changeset
|
218 -define_graal COMPILER1 \ |
76841bdd5f3e
(Windows) Add Graal build configurations (with GRAAL defined) and fix build command.
Andreas Woess <andreas.woess@jku.at>
parents:
4443
diff
changeset
|
219 -define_graal GRAAL \ |
76841bdd5f3e
(Windows) Add Graal build configurations (with GRAAL defined) and fix build command.
Andreas Woess <andreas.woess@jku.at>
parents:
4443
diff
changeset
|
220 $(ProjectCreatorIDEOptionsIgnoreCompiler2:TARGET=graal) |
76841bdd5f3e
(Windows) Add Graal build configurations (with GRAAL defined) and fix build command.
Andreas Woess <andreas.woess@jku.at>
parents:
4443
diff
changeset
|
221 |
76841bdd5f3e
(Windows) Add Graal build configurations (with GRAAL defined) and fix build command.
Andreas Woess <andreas.woess@jku.at>
parents:
4443
diff
changeset
|
222 ################################################## |
0 | 223 # Server(C2) compiler specific options |
224 ################################################## | |
225 #NOTE! This list must be kept in sync with GENERATED_NAMES in adlc.make. | |
1972 | 226 ProjectCreatorIDEOptions=$(ProjectCreatorIDEOptions) \ |
0 | 227 -define_compiler2 COMPILER2 \ |
4976
8f01f899bccd
More GRAAL #ifdef; ignore graal directory on windows for client/server configuration.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
4972
diff
changeset
|
228 -ignorePath_compiler2 src/share/vm/graal \ |
0 | 229 -additionalFile_compiler2 $(Platform_arch_model).ad \ |
1972 | 230 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/generated/adfiles ad_$(Platform_arch_model).cpp \ |
231 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/generated/adfiles ad_$(Platform_arch_model).hpp \ | |
232 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/generated/adfiles ad_$(Platform_arch_model)_clone.cpp \ | |
233 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/generated/adfiles ad_$(Platform_arch_model)_expand.cpp \ | |
234 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/generated/adfiles ad_$(Platform_arch_model)_format.cpp \ | |
235 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/generated/adfiles ad_$(Platform_arch_model)_gen.cpp \ | |
236 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/generated/adfiles ad_$(Platform_arch_model)_misc.cpp \ | |
237 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/generated/adfiles ad_$(Platform_arch_model)_peephole.cpp \ | |
238 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/generated/adfiles ad_$(Platform_arch_model)_pipeline.cpp \ | |
239 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/generated/adfiles adGlobals_$(Platform_arch_model).hpp \ | |
240 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/generated/adfiles dfa_$(Platform_arch_model).cpp \ | |
241 $(ProjectCreatorIDEOptionsIgnoreCompiler1:TARGET=compiler2) | |
0 | 242 |
243 # Add in the jvmti (JSR-163) options | |
244 # NOTE: do not pull in jvmtiEnvRecommended.cpp. This file is generated | |
245 # so the programmer can diff it with jvmtiEnv.cpp to be sure the | |
246 # code merge was done correctly (@see jvmti.make and jvmtiEnvFill.java). | |
247 # If so, they would then check it in as a new version of jvmtiEnv.cpp. | |
1972 | 248 ProjectCreatorIDEOptions=$(ProjectCreatorIDEOptions) \ |
249 -additionalGeneratedFile $(HOTSPOTBUILDSPACE)/%f/generated/jvmtifiles jvmtiEnv.hpp \ | |
250 -additionalGeneratedFile $(HOTSPOTBUILDSPACE)/%f/generated/jvmtifiles jvmtiEnter.cpp \ | |
251 -additionalGeneratedFile $(HOTSPOTBUILDSPACE)/%f/generated/jvmtifiles jvmtiEnterTrace.cpp \ | |
252 -additionalGeneratedFile $(HOTSPOTBUILDSPACE)/%f/generated/jvmtifiles jvmti.h \ | |
253 -additionalGeneratedFile $(HOTSPOTBUILDSPACE)/%f/generated/jvmtifiles bytecodeInterpreterWithChecks.cpp |