make/windows/makefiles/projectcreator.make

Print this page

        

*** 1,7 **** # ! # Copyright (c) 1999, 2009, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License version 2 only, as # published by the Free Software Foundation. --- 1,7 ---- # ! # Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License version 2 only, as # published by the Free Software Foundation.
*** 26,177 **** # This is used externally by both batch and IDE builds, so can't # reference any of the HOTSPOTWORKSPACE, HOTSPOTBUILDSPACE, # HOTSPOTRELEASEBINDEST, or HOTSPOTDEBUGBINDEST environment variables. # ! # NOTE: unfortunately the MakeDepsSources list must be kept # synchronized between this and the Solaris version ! # (make/solaris/makefiles/makedeps.make). ! MakeDepsSources=\ ! $(WorkSpace)\src\share\tools\MakeDeps\Database.java \ ! $(WorkSpace)\src\share\tools\MakeDeps\DirectoryTree.java \ ! $(WorkSpace)\src\share\tools\MakeDeps\DirectoryTreeNode.java \ ! $(WorkSpace)\src\share\tools\MakeDeps\FileFormatException.java \ ! $(WorkSpace)\src\share\tools\MakeDeps\FileList.java \ ! $(WorkSpace)\src\share\tools\MakeDeps\FileName.java \ ! $(WorkSpace)\src\share\tools\MakeDeps\Macro.java \ ! $(WorkSpace)\src\share\tools\MakeDeps\MacroDefinitions.java \ ! $(WorkSpace)\src\share\tools\MakeDeps\MakeDeps.java \ ! $(WorkSpace)\src\share\tools\MakeDeps\MetroWerksMacPlatform.java \ ! $(WorkSpace)\src\share\tools\MakeDeps\Platform.java \ ! $(WorkSpace)\src\share\tools\MakeDeps\UnixPlatform.java \ ! $(WorkSpace)\src\share\tools\MakeDeps\WinGammaPlatform.java \ ! $(WorkSpace)\src\share\tools\MakeDeps\WinGammaPlatformVC6.java \ ! $(WorkSpace)\src\share\tools\MakeDeps\WinGammaPlatformVC7.java \ ! $(WorkSpace)\src\share\tools\MakeDeps\WinGammaPlatformVC8.java \ ! $(WorkSpace)\src\share\tools\MakeDeps\WinGammaPlatformVC9.java \ ! $(WorkSpace)\src\share\tools\MakeDeps\Util.java \ ! $(WorkSpace)\src\share\tools\MakeDeps\BuildConfig.java \ ! $(WorkSpace)\src\share\tools\MakeDeps\ArgsParser.java # This is only used internally ! MakeDepsIncludesPRIVATE=\ ! -relativeInclude src\share\vm\c1 \ ! -relativeInclude src\share\vm\compiler \ ! -relativeInclude src\share\vm\code \ ! -relativeInclude src\share\vm\interpreter \ ! -relativeInclude src\share\vm\ci \ ! -relativeInclude src\share\vm\classfile \ ! -relativeInclude src\share\vm\gc_implementation\parallelScavenge \ ! -relativeInclude src\share\vm\gc_implementation\shared \ ! -relativeInclude src\share\vm\gc_implementation\parNew \ ! -relativeInclude src\share\vm\gc_implementation\concurrentMarkSweep \ ! -relativeInclude src\share\vm\gc_implementation\g1 \ ! -relativeInclude src\share\vm\gc_interface \ ! -relativeInclude src\share\vm\asm \ ! -relativeInclude src\share\vm\memory \ ! -relativeInclude src\share\vm\oops \ -relativeInclude src\share\vm\prims \ ! -relativeInclude src\share\vm\runtime \ ! -relativeInclude src\share\vm\services \ ! -relativeInclude src\share\vm\utilities \ ! -relativeInclude src\share\vm\libadt \ ! -relativeInclude src\share\vm\opto \ -relativeInclude src\os\windows\vm \ -relativeInclude src\os_cpu\windows_$(Platform_arch)\vm \ ! -relativeInclude src\cpu\$(Platform_arch)\vm # This is referenced externally by both the IDE and batch builds ! MakeDepsOptions= # This is used externally, but only by the IDE builds, so we can # reference environment variables which aren't defined in the batch # build process. ! MakeDepsIDEOptions = \ -useToGeneratePch java.cpp \ -disablePch os_windows.cpp \ -disablePch os_windows_$(Platform_arch).cpp \ -disablePch osThread_windows.cpp \ -disablePch bytecodeInterpreter.cpp \ -disablePch bytecodeInterpreterWithChecks.cpp \ -disablePch getThread_windows_$(Platform_arch).cpp \ -disablePch_compiler2 opcodes.cpp # Common options for the IDE builds for core, c1, and c2 ! MakeDepsIDEOptions=\ ! $(MakeDepsIDEOptions) \ -sourceBase $(HOTSPOTWORKSPACE) \ -buildBase $(HOTSPOTBUILDSPACE)\%f\%b \ -startAt src \ -compiler $(VcVersion) \ -projectFileName $(HOTSPOTBUILDSPACE)\$(ProjectFile) \ -jdkTargetRoot $(HOTSPOTJDKDIST) \ -define ALIGN_STACK_FRAMES \ -define VM_LITTLE_ENDIAN \ - -additionalFile includeDB_compiler1 \ - -additionalFile includeDB_compiler2 \ - -additionalFile includeDB_core \ - -additionalFile includeDB_features \ - -additionalFile includeDB_jvmti \ - -additionalFile includeDB_gc \ - -additionalFile includeDB_gc_parallel \ - -additionalFile includeDB_gc_parallelScavenge \ - -additionalFile includeDB_gc_concurrentMarkSweep \ - -additionalFile includeDB_gc_g1 \ - -additionalFile includeDB_gc_parNew \ - -additionalFile includeDB_gc_shared \ - -additionalFile includeDB_gc_serial \ -additionalGeneratedFile $(HOTSPOTBUILDSPACE)\%f\%b vm.def \ -prelink "" "Generating vm.def..." "cd $(HOTSPOTBUILDSPACE)\%f\%b set HOTSPOTMKSHOME=$(HOTSPOTMKSHOME) $(HOTSPOTMKSHOME)\sh $(HOTSPOTWORKSPACE)\make\windows\build_vm_def.sh $(LINK_VER)" \ ! $(MakeDepsIncludesPRIVATE) # Add in build-specific options !if "$(BUILDARCH)" == "i486" ! MakeDepsIDEOptions=$(MakeDepsIDEOptions) -define IA32 !endif ################################################## # JKERNEL specific options ################################################## ! MakeDepsIDEOptions=$(MakeDepsIDEOptions) \ -define_kernel KERNEL \ ################################################## # Client(C1) compiler specific options ################################################## ! MakeDepsIDEOptions=$(MakeDepsIDEOptions) \ -define_compiler1 COMPILER1 \ ################################################## # Server(C2) compiler specific options ################################################## #NOTE! This list must be kept in sync with GENERATED_NAMES in adlc.make. ! MakeDepsIDEOptions=$(MakeDepsIDEOptions) \ -define_compiler2 COMPILER2 \ ! -absoluteInclude_compiler2 $(HOTSPOTBUILDSPACE)/%f/incls \ -additionalFile_compiler2 $(Platform_arch_model).ad \ ! -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/incls ad_$(Platform_arch_model).cpp \ ! -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/incls ad_$(Platform_arch_model).hpp \ ! -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/incls ad_$(Platform_arch_model)_clone.cpp \ ! -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/incls ad_$(Platform_arch_model)_expand.cpp \ ! -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/incls ad_$(Platform_arch_model)_format.cpp \ ! -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/incls ad_$(Platform_arch_model)_gen.cpp \ ! -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/incls ad_$(Platform_arch_model)_misc.cpp \ ! -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/incls ad_$(Platform_arch_model)_peephole.cpp \ ! -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/incls ad_$(Platform_arch_model)_pipeline.cpp \ ! -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/incls adGlobals_$(Platform_arch_model).hpp \ ! -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/incls dfa_$(Platform_arch_model).cpp # Add in the jvmti (JSR-163) options # NOTE: do not pull in jvmtiEnvRecommended.cpp. This file is generated # so the programmer can diff it with jvmtiEnv.cpp to be sure the # code merge was done correctly (@see jvmti.make and jvmtiEnvFill.java). # If so, they would then check it in as a new version of jvmtiEnv.cpp. ! MakeDepsIDEOptions=$(MakeDepsIDEOptions) \ ! -absoluteInclude $(HOTSPOTBUILDSPACE)/jvmtifiles \ -additionalGeneratedFile $(HOTSPOTBUILDSPACE)/jvmtifiles jvmtiEnv.hpp \ -additionalGeneratedFile $(HOTSPOTBUILDSPACE)/jvmtifiles jvmtiEnter.cpp \ -additionalGeneratedFile $(HOTSPOTBUILDSPACE)/jvmtifiles jvmtiEnterTrace.cpp \ -additionalGeneratedFile $(HOTSPOTBUILDSPACE)/jvmtifiles jvmti.h \ -additionalGeneratedFile $(HOTSPOTBUILDSPACE)/jvmtifiles bytecodeInterpreterWithChecks.cpp --- 26,232 ---- # This is used externally by both batch and IDE builds, so can't # reference any of the HOTSPOTWORKSPACE, HOTSPOTBUILDSPACE, # HOTSPOTRELEASEBINDEST, or HOTSPOTDEBUGBINDEST environment variables. # ! # NOTE: unfortunately the ProjectCreatorSources list must be kept # synchronized between this and the Solaris version ! # (make/solaris/makefiles/projectcreator.make). ! ProjectCreatorSources=\ ! $(WorkSpace)\src\share\tools\ProjectCreator\DirectoryTree.java \ ! $(WorkSpace)\src\share\tools\ProjectCreator\DirectoryTreeNode.java \ ! $(WorkSpace)\src\share\tools\ProjectCreator\FileFormatException.java \ ! $(WorkSpace)\src\share\tools\ProjectCreator\Macro.java \ ! $(WorkSpace)\src\share\tools\ProjectCreator\MacroDefinitions.java \ ! $(WorkSpace)\src\share\tools\ProjectCreator\ProjectCreator.java \ ! $(WorkSpace)\src\share\tools\ProjectCreator\WinGammaPlatform.java \ ! $(WorkSpace)\src\share\tools\ProjectCreator\WinGammaPlatformVC6.java \ ! $(WorkSpace)\src\share\tools\ProjectCreator\WinGammaPlatformVC7.java \ ! $(WorkSpace)\src\share\tools\ProjectCreator\WinGammaPlatformVC8.java \ ! $(WorkSpace)\src\share\tools\ProjectCreator\WinGammaPlatformVC9.java \ ! $(WorkSpace)\src\share\tools\ProjectCreator\Util.java \ ! $(WorkSpace)\src\share\tools\ProjectCreator\BuildConfig.java \ ! $(WorkSpace)\src\share\tools\ProjectCreator\ArgsParser.java # This is only used internally ! ProjectCreatorIncludesPRIVATE=\ ! -relativeInclude src\share\vm \ -relativeInclude src\share\vm\prims \ ! -ignorePath src\share\vm\adlc \ ! -ignorePath src\share\vm\shark \ -relativeInclude src\os\windows\vm \ -relativeInclude src\os_cpu\windows_$(Platform_arch)\vm \ ! -relativeInclude src\cpu\$(Platform_arch)\vm \ ! -ignoreFile version.rc # This is referenced externally by both the IDE and batch builds ! ProjectCreatorOptions= # This is used externally, but only by the IDE builds, so we can # reference environment variables which aren't defined in the batch # build process. ! ProjectCreatorIDEOptions = \ -useToGeneratePch java.cpp \ -disablePch os_windows.cpp \ -disablePch os_windows_$(Platform_arch).cpp \ -disablePch osThread_windows.cpp \ -disablePch bytecodeInterpreter.cpp \ -disablePch bytecodeInterpreterWithChecks.cpp \ -disablePch getThread_windows_$(Platform_arch).cpp \ -disablePch_compiler2 opcodes.cpp # Common options for the IDE builds for core, c1, and c2 ! ProjectCreatorIDEOptions=\ ! $(ProjectCreatorIDEOptions) \ -sourceBase $(HOTSPOTWORKSPACE) \ -buildBase $(HOTSPOTBUILDSPACE)\%f\%b \ -startAt src \ -compiler $(VcVersion) \ -projectFileName $(HOTSPOTBUILDSPACE)\$(ProjectFile) \ -jdkTargetRoot $(HOTSPOTJDKDIST) \ -define ALIGN_STACK_FRAMES \ -define VM_LITTLE_ENDIAN \ -additionalGeneratedFile $(HOTSPOTBUILDSPACE)\%f\%b vm.def \ -prelink "" "Generating vm.def..." "cd $(HOTSPOTBUILDSPACE)\%f\%b set HOTSPOTMKSHOME=$(HOTSPOTMKSHOME) $(HOTSPOTMKSHOME)\sh $(HOTSPOTWORKSPACE)\make\windows\build_vm_def.sh $(LINK_VER)" \ ! -ignoreFile jsig.c \ ! -ignoreFile jvmtiEnvRecommended.cpp \ ! -ignoreFile jvmtiEnvStub.cpp \ ! -ignoreFile globalDefinitions_gcc.hpp \ ! -ignoreFile globalDefinitions_sparcWorks.hpp \ ! -define TARGET_ARCH_x86 \ ! -define TARGET_OS_ARCH_windows_x86 \ ! -define TARGET_OS_FAMILY_windows \ ! -define TARGET_COMPILER_visCPP \ ! $(ProjectCreatorIncludesPRIVATE) # Add in build-specific options !if "$(BUILDARCH)" == "i486" ! ProjectCreatorIDEOptions=$(ProjectCreatorIDEOptions) \ ! -define IA32 \ ! -ignorePath x86_64 \ ! -define TARGET_ARCH_MODEL_x86_32 ! !else ! ProjectCreatorIDEOptions=$(ProjectCreatorIDEOptions) \ ! -ignorePath x86_32 \ ! -define TARGET_ARCH_MODEL_x86_64 !endif + ProjectCreatorIDEOptionsIgnoreCompiler1=\ + -ignorePath_TARGET c1_ + + ProjectCreatorIDEOptionsIgnoreCompiler2=\ + -ignorePath_TARGET src/share/vm/opto \ + -ignorePath_TARGET src/share/vm/libadt \ + -ignoreFile_TARGET bcEscapeAnalyzer.cpp \ + -ignoreFile_TARGET bcEscapeAnalyzer.hpp \ + -ignorePath_TARGET chaitin \ + -ignorePath_TARGET c2_ \ + -ignorePath_TARGET runtime_ \ + -ignoreFile_TARGET ciTypeFlow.cpp \ + -ignoreFile_TARGET ciTypeFlow.hpp \ + -ignoreFile_TARGET $(Platform_arch_model).ad + + ################################################## + # Without compiler(core) specific options + ################################################## + ProjectCreatorIDEOptions=$(ProjectCreatorIDEOptions) \ + $(ProjectCreatorIDEOptionsIgnoreCompiler1:TARGET=core) \ + $(ProjectCreatorIDEOptionsIgnoreCompiler2:TARGET=core) + ################################################## # JKERNEL specific options ################################################## ! ProjectCreatorIDEOptions=$(ProjectCreatorIDEOptions) \ -define_kernel KERNEL \ + $(ProjectCreatorIDEOptionsIgnoreCompiler2:TARGET=kernel) \ + -ignorePath_kernel src/share/vm/gc_implementation/parallelScavenge \ + -ignorePath_kernel src/share/vm/gc_implementation/parNew \ + -ignorePath_kernel src/share/vm/gc_implementation/concurrentMarkSweep \ + -ignorePath_kernel src/share/vm/gc_implementation/g1 \ + -ignoreFile_kernel attachListener.cpp \ + -ignoreFile_kernel attachListener_windows.cpp \ + -ignoreFile_kernel dump.cpp \ + -ignoreFile_kernel dump_$(Platform_arch_model).cpp \ + -ignoreFile_kernel forte.cpp \ + -ignoreFile_kernel fprofiler.cpp \ + -ignoreFile_kernel heapDumper.cpp \ + -ignoreFile_kernel heapInspection.cpp \ + -ignoreFile_kernel jniCheck.cpp \ + -ignoreFile_kernel jvmtiCodeBlobEvents.cpp \ + -ignoreFile_kernel jvmtiExtensions.cpp \ + -ignoreFile_kernel jvmtiImpl.cpp \ + -ignoreFile_kernel jvmtiTagMap.cpp \ + -ignoreFile_kernel jvmtiTrace.cpp \ + -ignoreFile_kernel jvmtiTrace.hpp \ + -ignoreFile_kernel restore.cpp \ + -ignoreFile_kernel serialize.cpp \ + -ignoreFile_kernel vmStructs.cpp \ + -ignoreFile_kernel g1MemoryPool.cpp \ + -ignoreFile_kernel g1MemoryPool.hpp \ + -ignoreFile_kernel psMemoryPool.cpp \ + -ignoreFile_kernel psMemoryPool.hpp \ + -ignoreFile_kernel gcAdaptivePolicyCounters.cpp \ + -ignoreFile_kernel concurrentGCThread.cpp \ + -ignoreFile_kernel mutableNUMASpace.cpp \ + -ignoreFile_kernel ciTypeFlow.cpp \ + -ignoreFile_kernel ciTypeFlow.hpp \ + -ignoreFile_kernel oop.pcgc.inline.hpp \ + -ignoreFile_kernel oop.psgc.inline.hpp \ + -ignoreFile_kernel allocationStats.cpp \ + -ignoreFile_kernel allocationStats.hpp \ + -ignoreFile_kernel concurrentGCThread.hpp \ + -ignoreFile_kernel gSpaceCounters.cpp \ + -ignoreFile_kernel gSpaceCounters.hpp \ + -ignoreFile_kernel gcAdaptivePolicyCounters.hpp \ + -ignoreFile_kernel immutableSpace.cpp \ + -ignoreFile_kernel mutableNUMASpace.hpp \ + -ignoreFile_kernel mutableSpace.cpp \ + -ignoreFile_kernel spaceCounters.cpp \ + -ignoreFile_kernel spaceCounters.hpp \ + -ignoreFile_kernel yieldingWorkgroup.cpp \ + -ignoreFile_kernel yieldingWorkgroup.hpp \ + -ignorePath_kernel vmStructs_ \ + -ignoreFile_kernel $(Platform_arch_model).ad \ + -additionalFile_kernel gcTaskManager.hpp ################################################## # Client(C1) compiler specific options ################################################## ! ProjectCreatorIDEOptions=$(ProjectCreatorIDEOptions) \ -define_compiler1 COMPILER1 \ + $(ProjectCreatorIDEOptionsIgnoreCompiler2:TARGET=compiler1) ################################################## # Server(C2) compiler specific options ################################################## #NOTE! This list must be kept in sync with GENERATED_NAMES in adlc.make. ! ProjectCreatorIDEOptions=$(ProjectCreatorIDEOptions) \ -define_compiler2 COMPILER2 \ ! -absoluteInclude_compiler2 $(HOTSPOTBUILDSPACE)/%f/adfiles \ -additionalFile_compiler2 $(Platform_arch_model).ad \ ! -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/adfiles ad_$(Platform_arch_model).cpp \ ! -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/adfiles ad_$(Platform_arch_model).hpp \ ! -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/adfiles ad_$(Platform_arch_model)_clone.cpp \ ! -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/adfiles ad_$(Platform_arch_model)_expand.cpp \ ! -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/adfiles ad_$(Platform_arch_model)_format.cpp \ ! -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/adfiles ad_$(Platform_arch_model)_gen.cpp \ ! -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/adfiles ad_$(Platform_arch_model)_misc.cpp \ ! -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/adfiles ad_$(Platform_arch_model)_peephole.cpp \ ! -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/adfiles ad_$(Platform_arch_model)_pipeline.cpp \ ! -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/adfiles adGlobals_$(Platform_arch_model).hpp \ ! -additionalGeneratedFile_compiler2 $(HOTSPOTBUILDSPACE)/%f/adfiles dfa_$(Platform_arch_model).cpp \ ! $(ProjectCreatorIDEOptionsIgnoreCompiler1:TARGET=compiler2) # Add in the jvmti (JSR-163) options # NOTE: do not pull in jvmtiEnvRecommended.cpp. This file is generated # so the programmer can diff it with jvmtiEnv.cpp to be sure the # code merge was done correctly (@see jvmti.make and jvmtiEnvFill.java). # If so, they would then check it in as a new version of jvmtiEnv.cpp. ! ProjectCreatorIDEOptions=$(ProjectCreatorIDEOptions) \ ! -absoluteInclude $(HOTSPOTBUILDSPACE) \ -additionalGeneratedFile $(HOTSPOTBUILDSPACE)/jvmtifiles jvmtiEnv.hpp \ -additionalGeneratedFile $(HOTSPOTBUILDSPACE)/jvmtifiles jvmtiEnter.cpp \ -additionalGeneratedFile $(HOTSPOTBUILDSPACE)/jvmtifiles jvmtiEnterTrace.cpp \ -additionalGeneratedFile $(HOTSPOTBUILDSPACE)/jvmtifiles jvmti.h \ -additionalGeneratedFile $(HOTSPOTBUILDSPACE)/jvmtifiles bytecodeInterpreterWithChecks.cpp