comparison make/windows/makefiles/projectcreator.make @ 6801:1a9b9cfcef41

7163863: Updated projectcreator Summary: Enable source browsing for all platform dependent code Reviewed-by: brutisso, coleenp
author neliasso
date Thu, 29 Mar 2012 16:43:21 +0200
parents 51612f0c0a79
children b9a9ed0f8eeb
comparison
equal deleted inserted replaced
6800:9191895df19d 6801:1a9b9cfcef41
27 # This is used externally by both batch and IDE builds, so can't 27 # This is used externally by both batch and IDE builds, so can't
28 # reference any of the HOTSPOTWORKSPACE, HOTSPOTBUILDSPACE, 28 # reference any of the HOTSPOTWORKSPACE, HOTSPOTBUILDSPACE,
29 # HOTSPOTRELEASEBINDEST, or HOTSPOTDEBUGBINDEST environment variables. 29 # HOTSPOTRELEASEBINDEST, or HOTSPOTDEBUGBINDEST environment variables.
30 30
31 ProjectCreatorSources=\ 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 \ 32 $(WorkSpace)\src\share\tools\ProjectCreator\ProjectCreator.java \
33 $(WorkSpace)\src\share\tools\ProjectCreator\FileTreeCreator.java \
34 $(WorkSpace)\src\share\tools\ProjectCreator\FileTreeCreatorVC7.java \
35 $(WorkSpace)\src\share\tools\ProjectCreator\FileTreeCreatorVC10.java \
36 $(WorkSpace)\src\share\tools\ProjectCreator\WinGammaPlatform.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 \ 37 $(WorkSpace)\src\share\tools\ProjectCreator\WinGammaPlatformVC7.java \
39 $(WorkSpace)\src\share\tools\ProjectCreator\WinGammaPlatformVC8.java \ 38 $(WorkSpace)\src\share\tools\ProjectCreator\WinGammaPlatformVC8.java \
40 $(WorkSpace)\src\share\tools\ProjectCreator\WinGammaPlatformVC9.java \ 39 $(WorkSpace)\src\share\tools\ProjectCreator\WinGammaPlatformVC9.java \
41 $(WorkSpace)\src\share\tools\ProjectCreator\WinGammaPlatformVC10.java \ 40 $(WorkSpace)\src\share\tools\ProjectCreator\WinGammaPlatformVC10.java \
42 $(WorkSpace)\src\share\tools\ProjectCreator\Util.java \ 41 $(WorkSpace)\src\share\tools\ProjectCreator\Util.java \
55 -relativeInclude src\share\vm\prims \ 54 -relativeInclude src\share\vm\prims \
56 -relativeInclude src\os\windows\vm \ 55 -relativeInclude src\os\windows\vm \
57 -relativeInclude src\os_cpu\windows_$(Platform_arch)\vm \ 56 -relativeInclude src\os_cpu\windows_$(Platform_arch)\vm \
58 -relativeInclude src\cpu\$(Platform_arch)\vm \ 57 -relativeInclude src\cpu\$(Platform_arch)\vm \
59 -absoluteInclude $(HOTSPOTBUILDSPACE)/%f/generated \ 58 -absoluteInclude $(HOTSPOTBUILDSPACE)/%f/generated \
60 -ignorePath $(HOTSPOTBUILDSPACE)/%f/generated \ 59 -relativeSrcInclude src \
61 -ignorePath src\share\vm\adlc \ 60 -absoluteSrcInclude $(HOTSPOTBUILDSPACE) \
62 -ignorePath src\share\vm\shark \ 61 -ignorePath $(HOTSPOTBUILDSPACE) \
63 -ignorePath posix 62 -ignorePath launcher \
63 -ignorePath share\vm\adlc \
64 -ignorePath share\vm\shark \
65 -ignorePath share\tools \
66 -ignorePath solaris \
67 -ignorePath posix \
68 -ignorePath sparc \
69 -ignorePath linux \
70 -ignorePath bsd \
71 -ignorePath osx \
72 -ignorePath arm \
73 -ignorePath ppc \
74 -ignorePath zero \
75 -hidePath .hg
76
64 77
65 # This is referenced externally by both the IDE and batch builds 78 # This is referenced externally by both the IDE and batch builds
66 ProjectCreatorOptions= 79 ProjectCreatorOptions=
67 80
68 # This is used externally, but only by the IDE builds, so we can 81 # This is used externally, but only by the IDE builds, so we can
82 # Common options for the IDE builds for core, c1, and c2 95 # Common options for the IDE builds for core, c1, and c2
83 ProjectCreatorIDEOptions=\ 96 ProjectCreatorIDEOptions=\
84 $(ProjectCreatorIDEOptions) \ 97 $(ProjectCreatorIDEOptions) \
85 -sourceBase $(HOTSPOTWORKSPACE) \ 98 -sourceBase $(HOTSPOTWORKSPACE) \
86 -buildBase $(HOTSPOTBUILDSPACE)\%f\%b \ 99 -buildBase $(HOTSPOTBUILDSPACE)\%f\%b \
100 -buildSpace $(HOTSPOTBUILDSPACE) \
87 -startAt src \ 101 -startAt src \
88 -compiler $(VcVersion) \ 102 -compiler $(VcVersion) \
89 -projectFileName $(HOTSPOTBUILDSPACE)\$(ProjectFile) \ 103 -projectFileName $(HOTSPOTBUILDSPACE)\$(ProjectFile) \
90 -jdkTargetRoot $(HOTSPOTJDKDIST) \ 104 -jdkTargetRoot $(HOTSPOTJDKDIST) \
91 -define ALIGN_STACK_FRAMES \ 105 -define ALIGN_STACK_FRAMES \
101 -ignoreFile Xusage.txt \ 115 -ignoreFile Xusage.txt \
102 -define TARGET_ARCH_x86 \ 116 -define TARGET_ARCH_x86 \
103 -define TARGET_OS_ARCH_windows_x86 \ 117 -define TARGET_OS_ARCH_windows_x86 \
104 -define TARGET_OS_FAMILY_windows \ 118 -define TARGET_OS_FAMILY_windows \
105 -define TARGET_COMPILER_visCPP \ 119 -define TARGET_COMPILER_visCPP \
120 -define INCLUDE_TRACE \
106 $(ProjectCreatorIncludesPRIVATE) 121 $(ProjectCreatorIncludesPRIVATE)
107 122
108 # Add in build-specific options 123 # Add in build-specific options
109 !if "$(BUILDARCH)" == "i486" 124 !if "$(BUILDARCH)" == "i486"
110 ProjectCreatorIDEOptions=$(ProjectCreatorIDEOptions) \ 125 ProjectCreatorIDEOptions=$(ProjectCreatorIDEOptions) \
123 -define TARGET_OS_ARCH_MODEL_windows_x86_64 138 -define TARGET_OS_ARCH_MODEL_windows_x86_64
124 !endif 139 !endif
125 !endif 140 !endif
126 141
127 ProjectCreatorIDEOptionsIgnoreCompiler1=\ 142 ProjectCreatorIDEOptionsIgnoreCompiler1=\
143 -ignorePath_TARGET compiler1 \
144 -ignorePath_TARGET tiered \
128 -ignorePath_TARGET c1_ 145 -ignorePath_TARGET c1_
129 146
130 ProjectCreatorIDEOptionsIgnoreCompiler2=\ 147 ProjectCreatorIDEOptionsIgnoreCompiler2=\
148 -ignorePath_TARGET compiler2 \
149 -ignorePath_TARGET tiered \
131 -ignorePath_TARGET src/share/vm/opto \ 150 -ignorePath_TARGET src/share/vm/opto \
132 -ignorePath_TARGET src/share/vm/libadt \ 151 -ignorePath_TARGET src/share/vm/libadt \
133 -ignorePath_TARGET adfiles \ 152 -ignorePath_TARGET adfiles \
134 -ignoreFile_TARGET bcEscapeAnalyzer.cpp \ 153 -ignoreFile_TARGET bcEscapeAnalyzer.cpp \
135 -ignoreFile_TARGET bcEscapeAnalyzer.hpp \ 154 -ignoreFile_TARGET bcEscapeAnalyzer.hpp \
207 ################################################## 226 ##################################################
208 # Client(C1) compiler specific options 227 # Client(C1) compiler specific options
209 ################################################## 228 ##################################################
210 ProjectCreatorIDEOptions=$(ProjectCreatorIDEOptions) \ 229 ProjectCreatorIDEOptions=$(ProjectCreatorIDEOptions) \
211 -define_compiler1 COMPILER1 \ 230 -define_compiler1 COMPILER1 \
231 -ignorePath_compiler1 core \
212 $(ProjectCreatorIDEOptionsIgnoreCompiler2:TARGET=compiler1) 232 $(ProjectCreatorIDEOptionsIgnoreCompiler2:TARGET=compiler1)
213 233
214 ################################################## 234 ##################################################
215 # Server(C2) compiler specific options 235 # Server(C2) compiler specific options
216 ################################################## 236 ##################################################
217 #NOTE! This list must be kept in sync with GENERATED_NAMES in adlc.make. 237 #NOTE! This list must be kept in sync with GENERATED_NAMES in adlc.make.
218 ProjectCreatorIDEOptions=$(ProjectCreatorIDEOptions) \ 238 ProjectCreatorIDEOptions=$(ProjectCreatorIDEOptions) \
219 -define_compiler2 COMPILER2 \ 239 -define_compiler2 COMPILER2 \
240 -ignorePath_compiler2 core \
220 -additionalFile_compiler2 $(Platform_arch_model).ad \ 241 -additionalFile_compiler2 $(Platform_arch_model).ad \
221 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/generated/adfiles ad_$(Platform_arch_model).cpp \ 242 -additionalFile_compiler2 ad_$(Platform_arch_model).cpp \
222 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/generated/adfiles ad_$(Platform_arch_model).hpp \ 243 -additionalFile_compiler2 ad_$(Platform_arch_model).hpp \
223 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/generated/adfiles ad_$(Platform_arch_model)_clone.cpp \ 244 -additionalFile_compiler2 ad_$(Platform_arch_model)_clone.cpp \
224 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/generated/adfiles ad_$(Platform_arch_model)_expand.cpp \ 245 -additionalFile_compiler2 ad_$(Platform_arch_model)_expand.cpp \
225 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/generated/adfiles ad_$(Platform_arch_model)_format.cpp \ 246 -additionalFile_compiler2 ad_$(Platform_arch_model)_format.cpp \
226 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/generated/adfiles ad_$(Platform_arch_model)_gen.cpp \ 247 -additionalFile_compiler2 ad_$(Platform_arch_model)_gen.cpp \
227 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/generated/adfiles ad_$(Platform_arch_model)_misc.cpp \ 248 -additionalFile_compiler2 ad_$(Platform_arch_model)_misc.cpp \
228 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/generated/adfiles ad_$(Platform_arch_model)_peephole.cpp \ 249 -additionalFile_compiler2 ad_$(Platform_arch_model)_peephole.cpp \
229 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/generated/adfiles ad_$(Platform_arch_model)_pipeline.cpp \ 250 -additionalFile_compiler2 ad_$(Platform_arch_model)_pipeline.cpp \
230 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/generated/adfiles adGlobals_$(Platform_arch_model).hpp \ 251 -additionalFile_compiler2 adGlobals_$(Platform_arch_model).hpp \
231 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/generated/adfiles dfa_$(Platform_arch_model).cpp \ 252 -additionalFile_compiler2 dfa_$(Platform_arch_model).cpp \
232 $(ProjectCreatorIDEOptionsIgnoreCompiler1:TARGET=compiler2) 253 $(ProjectCreatorIDEOptionsIgnoreCompiler1:TARGET=compiler2)
233 254
234 # Add in the jvmti (JSR-163) options 255 # Add in the jvmti (JSR-163) options
235 # NOTE: do not pull in jvmtiEnvRecommended.cpp. This file is generated 256 # NOTE: do not pull in jvmtiEnvRecommended.cpp. This file is generated
236 # so the programmer can diff it with jvmtiEnv.cpp to be sure the 257 # so the programmer can diff it with jvmtiEnv.cpp to be sure the
237 # code merge was done correctly (@see jvmti.make and jvmtiEnvFill.java). 258 # code merge was done correctly (@see jvmti.make and jvmtiEnvFill.java).
238 # If so, they would then check it in as a new version of jvmtiEnv.cpp. 259 # If so, they would then check it in as a new version of jvmtiEnv.cpp.
239 ProjectCreatorIDEOptions=$(ProjectCreatorIDEOptions) \ 260 ProjectCreatorIDEOptions=$(ProjectCreatorIDEOptions) \
240 -additionalGeneratedFile $(HOTSPOTBUILDSPACE)/%f/generated/jvmtifiles jvmtiEnv.hpp \ 261 -additionalFile jvmtiEnv.hpp \
241 -additionalGeneratedFile $(HOTSPOTBUILDSPACE)/%f/generated/jvmtifiles jvmtiEnter.cpp \ 262 -additionalFile jvmtiEnter.cpp \
242 -additionalGeneratedFile $(HOTSPOTBUILDSPACE)/%f/generated/jvmtifiles jvmtiEnterTrace.cpp \ 263 -additionalFile jvmtiEnterTrace.cpp \
243 -additionalGeneratedFile $(HOTSPOTBUILDSPACE)/%f/generated/jvmtifiles jvmti.h \ 264 -additionalFile jvmti.h \
244 -additionalGeneratedFile $(HOTSPOTBUILDSPACE)/%f/generated/jvmtifiles bytecodeInterpreterWithChecks.cpp 265 -additionalFile bytecodeInterpreterWithChecks.cpp