make/windows/makefiles/projectcreator.make

Thu, 15 Mar 2012 13:37:13 +0100

author
nloodin
date
Thu, 15 Mar 2012 13:37:13 +0100
changeset 3681
51612f0c0a79
parent 3518
719f7007c8e8
child 4112
1a9b9cfcef41
permissions
-rw-r--r--

7148488: Whitebox tests for the Diagnostic Framework Parser
Reviewed-by: brutisso, sla, mgerdin

duke@435 1 #
sla@2540 2 # Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved.
duke@435 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
duke@435 4 #
duke@435 5 # This code is free software; you can redistribute it and/or modify it
duke@435 6 # under the terms of the GNU General Public License version 2 only, as
duke@435 7 # published by the Free Software Foundation.
duke@435 8 #
duke@435 9 # This code is distributed in the hope that it will be useful, but WITHOUT
duke@435 10 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
duke@435 11 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
duke@435 12 # version 2 for more details (a copy is included in the LICENSE file that
duke@435 13 # accompanied this code).
duke@435 14 #
duke@435 15 # You should have received a copy of the GNU General Public License version
duke@435 16 # 2 along with this work; if not, write to the Free Software Foundation,
duke@435 17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
duke@435 18 #
trims@1907 19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
trims@1907 20 # or visit www.oracle.com if you need additional information or have any
trims@1907 21 # questions.
duke@435 22 #
duke@435 23 #
duke@435 24
kamg@526 25 !include $(WorkSpace)/make/windows/makefiles/rules.make
duke@435 26
duke@435 27 # This is used externally by both batch and IDE builds, so can't
duke@435 28 # reference any of the HOTSPOTWORKSPACE, HOTSPOTBUILDSPACE,
duke@435 29 # HOTSPOTRELEASEBINDEST, or HOTSPOTDEBUGBINDEST environment variables.
duke@435 30
stefank@2314 31 ProjectCreatorSources=\
stefank@2314 32 $(WorkSpace)\src\share\tools\ProjectCreator\DirectoryTree.java \
stefank@2314 33 $(WorkSpace)\src\share\tools\ProjectCreator\DirectoryTreeNode.java \
stefank@2314 34 $(WorkSpace)\src\share\tools\ProjectCreator\FileFormatException.java \
stefank@2314 35 $(WorkSpace)\src\share\tools\ProjectCreator\ProjectCreator.java \
stefank@2314 36 $(WorkSpace)\src\share\tools\ProjectCreator\WinGammaPlatform.java \
stefank@2314 37 $(WorkSpace)\src\share\tools\ProjectCreator\WinGammaPlatformVC6.java \
stefank@2314 38 $(WorkSpace)\src\share\tools\ProjectCreator\WinGammaPlatformVC7.java \
stefank@2314 39 $(WorkSpace)\src\share\tools\ProjectCreator\WinGammaPlatformVC8.java \
stefank@2314 40 $(WorkSpace)\src\share\tools\ProjectCreator\WinGammaPlatformVC9.java \
sla@2675 41 $(WorkSpace)\src\share\tools\ProjectCreator\WinGammaPlatformVC10.java \
stefank@2314 42 $(WorkSpace)\src\share\tools\ProjectCreator\Util.java \
stefank@2314 43 $(WorkSpace)\src\share\tools\ProjectCreator\BuildConfig.java \
stefank@2314 44 $(WorkSpace)\src\share\tools\ProjectCreator\ArgsParser.java
duke@435 45
duke@435 46 # This is only used internally
stefank@2314 47 ProjectCreatorIncludesPRIVATE=\
sla@2540 48 -relativeInclude src\closed\share\vm \
sla@2540 49 -relativeInclude src\closed\os\windows\vm \
sla@2540 50 -relativeInclude src\closed\os_cpu\windows_$(Platform_arch)\vm \
sla@2540 51 -relativeInclude src\closed\cpu\$(Platform_arch)\vm \
stefank@2314 52 -relativeInclude src\share\vm \
brutisso@3283 53 -relativeInclude src\share\vm\precompiled \
nloodin@3681 54 -relativeInclude src\share\vm\prims\wbtestmethods \
duke@435 55 -relativeInclude src\share\vm\prims \
duke@435 56 -relativeInclude src\os\windows\vm \
duke@435 57 -relativeInclude src\os_cpu\windows_$(Platform_arch)\vm \
stefank@2314 58 -relativeInclude src\cpu\$(Platform_arch)\vm \
stefank@2314 59 -absoluteInclude $(HOTSPOTBUILDSPACE)/%f/generated \
stefank@2314 60 -ignorePath $(HOTSPOTBUILDSPACE)/%f/generated \
stefank@2314 61 -ignorePath src\share\vm\adlc \
phh@3427 62 -ignorePath src\share\vm\shark \
phh@3427 63 -ignorePath posix
duke@435 64
duke@435 65 # This is referenced externally by both the IDE and batch builds
stefank@2314 66 ProjectCreatorOptions=
duke@435 67
duke@435 68 # This is used externally, but only by the IDE builds, so we can
duke@435 69 # reference environment variables which aren't defined in the batch
duke@435 70 # build process.
duke@435 71
stefank@2314 72 ProjectCreatorIDEOptions = \
duke@435 73 -useToGeneratePch java.cpp \
duke@435 74 -disablePch os_windows.cpp \
duke@435 75 -disablePch os_windows_$(Platform_arch).cpp \
duke@435 76 -disablePch osThread_windows.cpp \
duke@435 77 -disablePch bytecodeInterpreter.cpp \
duke@435 78 -disablePch bytecodeInterpreterWithChecks.cpp \
stefank@2314 79 -disablePch getThread_windows_$(Platform_arch).cpp \
duke@435 80 -disablePch_compiler2 opcodes.cpp
duke@435 81
duke@435 82 # Common options for the IDE builds for core, c1, and c2
stefank@2314 83 ProjectCreatorIDEOptions=\
stefank@2314 84 $(ProjectCreatorIDEOptions) \
duke@435 85 -sourceBase $(HOTSPOTWORKSPACE) \
stefank@2314 86 -buildBase $(HOTSPOTBUILDSPACE)\%f\%b \
duke@435 87 -startAt src \
stefank@2314 88 -compiler $(VcVersion) \
sla@2540 89 -projectFileName $(HOTSPOTBUILDSPACE)\$(ProjectFile) \
duke@435 90 -jdkTargetRoot $(HOTSPOTJDKDIST) \
duke@435 91 -define ALIGN_STACK_FRAMES \
duke@435 92 -define VM_LITTLE_ENDIAN \
erikj@3518 93 -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)" \
sla@2369 94 -postbuild "" "Building hotspot.exe..." "cd $(HOTSPOTBUILDSPACE)\%f\%b set HOTSPOTMKSHOME=$(HOTSPOTMKSHOME) nmake -f $(HOTSPOTWORKSPACE)\make\windows\projectfiles\common\Makefile LOCAL_MAKE=$(HOTSPOTBUILDSPACE)\%f\local.make JAVA_HOME=$(HOTSPOTJDKDIST) launcher" \
stefank@2314 95 -ignoreFile jsig.c \
stefank@2314 96 -ignoreFile jvmtiEnvRecommended.cpp \
stefank@2314 97 -ignoreFile jvmtiEnvStub.cpp \
stefank@2314 98 -ignoreFile globalDefinitions_gcc.hpp \
stefank@2314 99 -ignoreFile globalDefinitions_sparcWorks.hpp \
stefank@2314 100 -ignoreFile version.rc \
stefank@2314 101 -ignoreFile Xusage.txt \
stefank@2314 102 -define TARGET_ARCH_x86 \
stefank@2314 103 -define TARGET_OS_ARCH_windows_x86 \
stefank@2314 104 -define TARGET_OS_FAMILY_windows \
stefank@2314 105 -define TARGET_COMPILER_visCPP \
stefank@2314 106 $(ProjectCreatorIncludesPRIVATE)
duke@435 107
duke@435 108 # Add in build-specific options
duke@435 109 !if "$(BUILDARCH)" == "i486"
stefank@2314 110 ProjectCreatorIDEOptions=$(ProjectCreatorIDEOptions) \
sla@2540 111 -platformName Win32 \
stefank@2314 112 -define IA32 \
stefank@2314 113 -ignorePath x86_64 \
stefank@2314 114 -define TARGET_ARCH_MODEL_x86_32
stefank@2314 115 !else
sla@2540 116 !if "$(BUILDARCH)" == "amd64"
stefank@2314 117 ProjectCreatorIDEOptions=$(ProjectCreatorIDEOptions) \
sla@2540 118 -platformName x64 \
sla@2540 119 -define AMD64 \
sla@2540 120 -define _LP64 \
stefank@2314 121 -ignorePath x86_32 \
sla@2540 122 -define TARGET_ARCH_MODEL_x86_64 \
sla@2540 123 -define TARGET_OS_ARCH_MODEL_windows_x86_64
sla@2540 124 !endif
duke@435 125 !endif
duke@435 126
stefank@2314 127 ProjectCreatorIDEOptionsIgnoreCompiler1=\
stefank@2314 128 -ignorePath_TARGET c1_
stefank@2314 129
stefank@2314 130 ProjectCreatorIDEOptionsIgnoreCompiler2=\
stefank@2314 131 -ignorePath_TARGET src/share/vm/opto \
stefank@2314 132 -ignorePath_TARGET src/share/vm/libadt \
stefank@2314 133 -ignorePath_TARGET adfiles \
stefank@2314 134 -ignoreFile_TARGET bcEscapeAnalyzer.cpp \
stefank@2314 135 -ignoreFile_TARGET bcEscapeAnalyzer.hpp \
stefank@2314 136 -ignorePath_TARGET chaitin \
stefank@2314 137 -ignorePath_TARGET c2_ \
stefank@2314 138 -ignorePath_TARGET runtime_ \
stefank@2314 139 -ignoreFile_TARGET ciTypeFlow.cpp \
stefank@2314 140 -ignoreFile_TARGET ciTypeFlow.hpp \
stefank@2314 141 -ignoreFile_TARGET $(Platform_arch_model).ad
stefank@2314 142
stefank@2314 143 ##################################################
stefank@2314 144 # Without compiler(core) specific options
stefank@2314 145 ##################################################
stefank@2314 146 ProjectCreatorIDEOptions=$(ProjectCreatorIDEOptions) \
stefank@2314 147 $(ProjectCreatorIDEOptionsIgnoreCompiler1:TARGET=core) \
stefank@2314 148 $(ProjectCreatorIDEOptionsIgnoreCompiler2:TARGET=core)
stefank@2314 149
duke@435 150 ##################################################
duke@435 151 # JKERNEL specific options
duke@435 152 ##################################################
stefank@2314 153 ProjectCreatorIDEOptions=$(ProjectCreatorIDEOptions) \
duke@435 154 -define_kernel KERNEL \
stefank@2314 155 $(ProjectCreatorIDEOptionsIgnoreCompiler2:TARGET=kernel) \
stefank@2314 156 -ignorePath_kernel src/share/vm/gc_implementation/parallelScavenge \
stefank@2314 157 -ignorePath_kernel src/share/vm/gc_implementation/parNew \
stefank@2314 158 -ignorePath_kernel src/share/vm/gc_implementation/concurrentMarkSweep \
stefank@2314 159 -ignorePath_kernel src/share/vm/gc_implementation/g1 \
stefank@2314 160 -ignoreFile_kernel attachListener.cpp \
stefank@2314 161 -ignoreFile_kernel attachListener_windows.cpp \
stefank@2314 162 -ignoreFile_kernel dump.cpp \
stefank@2314 163 -ignoreFile_kernel dump_$(Platform_arch_model).cpp \
stefank@2314 164 -ignoreFile_kernel forte.cpp \
stefank@2314 165 -ignoreFile_kernel fprofiler.cpp \
stefank@2314 166 -ignoreFile_kernel heapDumper.cpp \
stefank@2314 167 -ignoreFile_kernel heapInspection.cpp \
stefank@2314 168 -ignoreFile_kernel jniCheck.cpp \
stefank@2314 169 -ignoreFile_kernel jvmtiCodeBlobEvents.cpp \
stefank@2314 170 -ignoreFile_kernel jvmtiExtensions.cpp \
stefank@2314 171 -ignoreFile_kernel jvmtiImpl.cpp \
stefank@2314 172 -ignoreFile_kernel jvmtiRawMonitor.cpp \
stefank@2314 173 -ignoreFile_kernel jvmtiTagMap.cpp \
stefank@2314 174 -ignoreFile_kernel jvmtiTrace.cpp \
stefank@2314 175 -ignoreFile_kernel jvmtiTrace.hpp \
stefank@2314 176 -ignoreFile_kernel restore.cpp \
stefank@2314 177 -ignoreFile_kernel serialize.cpp \
stefank@2314 178 -ignoreFile_kernel vmStructs.cpp \
stefank@2314 179 -ignoreFile_kernel g1MemoryPool.cpp \
stefank@2314 180 -ignoreFile_kernel g1MemoryPool.hpp \
stefank@2314 181 -ignoreFile_kernel psMemoryPool.cpp \
stefank@2314 182 -ignoreFile_kernel psMemoryPool.hpp \
stefank@2314 183 -ignoreFile_kernel gcAdaptivePolicyCounters.cpp \
stefank@2314 184 -ignoreFile_kernel concurrentGCThread.cpp \
stefank@2314 185 -ignoreFile_kernel mutableNUMASpace.cpp \
stefank@2314 186 -ignoreFile_kernel ciTypeFlow.cpp \
stefank@2314 187 -ignoreFile_kernel ciTypeFlow.hpp \
stefank@2314 188 -ignoreFile_kernel oop.pcgc.inline.hpp \
stefank@2314 189 -ignoreFile_kernel oop.psgc.inline.hpp \
stefank@2314 190 -ignoreFile_kernel allocationStats.cpp \
stefank@2314 191 -ignoreFile_kernel allocationStats.hpp \
stefank@2314 192 -ignoreFile_kernel concurrentGCThread.hpp \
stefank@2314 193 -ignoreFile_kernel gSpaceCounters.cpp \
stefank@2314 194 -ignoreFile_kernel gSpaceCounters.hpp \
stefank@2314 195 -ignoreFile_kernel gcAdaptivePolicyCounters.hpp \
stefank@2314 196 -ignoreFile_kernel immutableSpace.cpp \
stefank@2314 197 -ignoreFile_kernel mutableNUMASpace.hpp \
stefank@2314 198 -ignoreFile_kernel mutableSpace.cpp \
stefank@2314 199 -ignoreFile_kernel spaceCounters.cpp \
stefank@2314 200 -ignoreFile_kernel spaceCounters.hpp \
stefank@2314 201 -ignoreFile_kernel yieldingWorkgroup.cpp \
stefank@2314 202 -ignoreFile_kernel yieldingWorkgroup.hpp \
stefank@2314 203 -ignorePath_kernel vmStructs_ \
stefank@2314 204 -ignoreFile_kernel $(Platform_arch_model).ad \
stefank@2314 205 -additionalFile_kernel gcTaskManager.hpp
duke@435 206
duke@435 207 ##################################################
duke@435 208 # Client(C1) compiler specific options
duke@435 209 ##################################################
stefank@2314 210 ProjectCreatorIDEOptions=$(ProjectCreatorIDEOptions) \
duke@435 211 -define_compiler1 COMPILER1 \
stefank@2314 212 $(ProjectCreatorIDEOptionsIgnoreCompiler2:TARGET=compiler1)
duke@435 213
duke@435 214 ##################################################
duke@435 215 # Server(C2) compiler specific options
duke@435 216 ##################################################
duke@435 217 #NOTE! This list must be kept in sync with GENERATED_NAMES in adlc.make.
stefank@2314 218 ProjectCreatorIDEOptions=$(ProjectCreatorIDEOptions) \
duke@435 219 -define_compiler2 COMPILER2 \
duke@435 220 -additionalFile_compiler2 $(Platform_arch_model).ad \
stefank@2314 221 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/generated/adfiles ad_$(Platform_arch_model).cpp \
stefank@2314 222 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/generated/adfiles ad_$(Platform_arch_model).hpp \
stefank@2314 223 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/generated/adfiles ad_$(Platform_arch_model)_clone.cpp \
stefank@2314 224 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/generated/adfiles ad_$(Platform_arch_model)_expand.cpp \
stefank@2314 225 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/generated/adfiles ad_$(Platform_arch_model)_format.cpp \
stefank@2314 226 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/generated/adfiles ad_$(Platform_arch_model)_gen.cpp \
stefank@2314 227 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/generated/adfiles ad_$(Platform_arch_model)_misc.cpp \
stefank@2314 228 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/generated/adfiles ad_$(Platform_arch_model)_peephole.cpp \
stefank@2314 229 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/generated/adfiles ad_$(Platform_arch_model)_pipeline.cpp \
stefank@2314 230 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/generated/adfiles adGlobals_$(Platform_arch_model).hpp \
stefank@2314 231 -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/generated/adfiles dfa_$(Platform_arch_model).cpp \
stefank@2314 232 $(ProjectCreatorIDEOptionsIgnoreCompiler1:TARGET=compiler2)
duke@435 233
duke@435 234 # Add in the jvmti (JSR-163) options
duke@435 235 # NOTE: do not pull in jvmtiEnvRecommended.cpp. This file is generated
duke@435 236 # so the programmer can diff it with jvmtiEnv.cpp to be sure the
duke@435 237 # code merge was done correctly (@see jvmti.make and jvmtiEnvFill.java).
duke@435 238 # If so, they would then check it in as a new version of jvmtiEnv.cpp.
stefank@2314 239 ProjectCreatorIDEOptions=$(ProjectCreatorIDEOptions) \
stefank@2314 240 -additionalGeneratedFile $(HOTSPOTBUILDSPACE)/%f/generated/jvmtifiles jvmtiEnv.hpp \
stefank@2314 241 -additionalGeneratedFile $(HOTSPOTBUILDSPACE)/%f/generated/jvmtifiles jvmtiEnter.cpp \
stefank@2314 242 -additionalGeneratedFile $(HOTSPOTBUILDSPACE)/%f/generated/jvmtifiles jvmtiEnterTrace.cpp \
stefank@2314 243 -additionalGeneratedFile $(HOTSPOTBUILDSPACE)/%f/generated/jvmtifiles jvmti.h \
stefank@2314 244 -additionalGeneratedFile $(HOTSPOTBUILDSPACE)/%f/generated/jvmtifiles bytecodeInterpreterWithChecks.cpp

mercurial