0N/A#
4170N/A# Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
0N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
0N/A#
0N/A# This code is free software; you can redistribute it and/or modify it
0N/A# under the terms of the GNU General Public License version 2 only, as
0N/A# published by the Free Software Foundation.
0N/A#
0N/A# This code is distributed in the hope that it will be useful, but WITHOUT
0N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
0N/A# version 2 for more details (a copy is included in the LICENSE file that
0N/A# accompanied this code).
0N/A#
0N/A# You should have received a copy of the GNU General Public License version
0N/A# 2 along with this work; if not, write to the Free Software Foundation,
0N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
0N/A#
1472N/A# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
1472N/A# or visit www.oracle.com if you need additional information or have any
1472N/A# questions.
4141N/A#
0N/A#
0N/A
91N/A!include $(WorkSpace)/make/windows/makefiles/rules.make
0N/A
0N/A# This is used externally by both batch and IDE builds, so can't
0N/A# reference any of the HOTSPOTWORKSPACE, HOTSPOTBUILDSPACE,
0N/A# HOTSPOTRELEASEBINDEST, or HOTSPOTDEBUGBINDEST environment variables.
0N/A
1879N/AProjectCreatorSources=\
1879N/A $(WorkSpace)\src\share\tools\ProjectCreator\ProjectCreator.java \
4019N/A $(WorkSpace)\src\share\tools\ProjectCreator\FileTreeCreator.java \
4019N/A $(WorkSpace)\src\share\tools\ProjectCreator\FileTreeCreatorVC7.java \
4019N/A $(WorkSpace)\src\share\tools\ProjectCreator\FileTreeCreatorVC10.java \
1879N/A $(WorkSpace)\src\share\tools\ProjectCreator\WinGammaPlatform.java \
1879N/A $(WorkSpace)\src\share\tools\ProjectCreator\WinGammaPlatformVC7.java \
1879N/A $(WorkSpace)\src\share\tools\ProjectCreator\WinGammaPlatformVC8.java \
1879N/A $(WorkSpace)\src\share\tools\ProjectCreator\WinGammaPlatformVC9.java \
2240N/A $(WorkSpace)\src\share\tools\ProjectCreator\WinGammaPlatformVC10.java \
1879N/A $(WorkSpace)\src\share\tools\ProjectCreator\Util.java \
1879N/A $(WorkSpace)\src\share\tools\ProjectCreator\BuildConfig.java \
1879N/A $(WorkSpace)\src\share\tools\ProjectCreator\ArgsParser.java
0N/A
0N/A# This is only used internally
1879N/AProjectCreatorIncludesPRIVATE=\
2105N/A -relativeInclude src\closed\share\vm \
2105N/A -relativeInclude src\closed\os\windows\vm \
2105N/A -relativeInclude src\closed\os_cpu\windows_$(Platform_arch)\vm \
2105N/A -relativeInclude src\closed\cpu\$(Platform_arch)\vm \
1879N/A -relativeInclude src\share\vm \
2930N/A -relativeInclude src\share\vm\precompiled \
3649N/A -relativeInclude src\share\vm\prims\wbtestmethods \
0N/A -relativeInclude src\share\vm\prims \
0N/A -relativeInclude src\os\windows\vm \
0N/A -relativeInclude src\os_cpu\windows_$(Platform_arch)\vm \
1879N/A -relativeInclude src\cpu\$(Platform_arch)\vm \
1879N/A -absoluteInclude $(HOTSPOTBUILDSPACE)/%f/generated \
4019N/A -relativeSrcInclude src \
4019N/A -absoluteSrcInclude $(HOTSPOTBUILDSPACE) \
4019N/A -ignorePath $(HOTSPOTBUILDSPACE) \
4019N/A -ignorePath launcher \
4019N/A -ignorePath share\vm\adlc \
4019N/A -ignorePath share\vm\shark \
4019N/A -ignorePath share\tools \
4019N/A -ignorePath solaris \
4019N/A -ignorePath posix \
4019N/A -ignorePath sparc \
4019N/A -ignorePath linux \
4019N/A -ignorePath bsd \
4019N/A -ignorePath osx \
4019N/A -ignorePath arm \
4019N/A -ignorePath ppc \
4019N/A -ignorePath zero \
4019N/A -hidePath .hg
4141N/A
0N/A
0N/A# This is referenced externally by both the IDE and batch builds
1879N/AProjectCreatorOptions=
0N/A
0N/A# This is used externally, but only by the IDE builds, so we can
0N/A# reference environment variables which aren't defined in the batch
0N/A# build process.
0N/A
1879N/AProjectCreatorIDEOptions = \
0N/A -useToGeneratePch java.cpp \
0N/A -disablePch os_windows.cpp \
0N/A -disablePch os_windows_$(Platform_arch).cpp \
0N/A -disablePch osThread_windows.cpp \
0N/A -disablePch bytecodeInterpreter.cpp \
0N/A -disablePch bytecodeInterpreterWithChecks.cpp \
1879N/A -disablePch getThread_windows_$(Platform_arch).cpp \
4141N/A -disablePch_compiler2 opcodes.cpp
0N/A
0N/A# Common options for the IDE builds for core, c1, and c2
1879N/AProjectCreatorIDEOptions=\
1879N/A $(ProjectCreatorIDEOptions) \
0N/A -sourceBase $(HOTSPOTWORKSPACE) \
1879N/A -buildBase $(HOTSPOTBUILDSPACE)\%f\%b \
4019N/A -buildSpace $(HOTSPOTBUILDSPACE) \
0N/A -startAt src \
1879N/A -compiler $(VcVersion) \
2105N/A -projectFileName $(HOTSPOTBUILDSPACE)\$(ProjectFile) \
0N/A -jdkTargetRoot $(HOTSPOTJDKDIST) \
0N/A -define ALIGN_STACK_FRAMES \
0N/A -define VM_LITTLE_ENDIAN \
3178N/A -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)" \
1934N/A -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" \
1879N/A -ignoreFile jsig.c \
1879N/A -ignoreFile jvmtiEnvRecommended.cpp \
1879N/A -ignoreFile jvmtiEnvStub.cpp \
1879N/A -ignoreFile globalDefinitions_gcc.hpp \
1879N/A -ignoreFile globalDefinitions_sparcWorks.hpp \
1879N/A -ignoreFile version.rc \
1879N/A -ignoreFile Xusage.txt \
1879N/A -define TARGET_ARCH_x86 \
1879N/A -define TARGET_OS_ARCH_windows_x86 \
1879N/A -define TARGET_OS_FAMILY_windows \
1879N/A -define TARGET_COMPILER_visCPP \
4141N/A -define INCLUDE_TRACE=1 \
1879N/A $(ProjectCreatorIncludesPRIVATE)
0N/A
0N/A# Add in build-specific options
0N/A!if "$(BUILDARCH)" == "i486"
1879N/AProjectCreatorIDEOptions=$(ProjectCreatorIDEOptions) \
2105N/A -platformName Win32 \
1879N/A -define IA32 \
1879N/A -ignorePath x86_64 \
1879N/A -define TARGET_ARCH_MODEL_x86_32
1879N/A!else
2105N/A!if "$(BUILDARCH)" == "amd64"
1879N/AProjectCreatorIDEOptions=$(ProjectCreatorIDEOptions) \
2105N/A -platformName x64 \
2105N/A -define AMD64 \
2105N/A -define _LP64 \
1879N/A -ignorePath x86_32 \
2105N/A -define TARGET_ARCH_MODEL_x86_64 \
2105N/A -define TARGET_OS_ARCH_MODEL_windows_x86_64
2105N/A!endif
0N/A!endif
0N/A
1879N/AProjectCreatorIDEOptionsIgnoreCompiler1=\
4019N/A -ignorePath_TARGET compiler1 \
4019N/A -ignorePath_TARGET tiered \
1879N/A -ignorePath_TARGET c1_
1879N/A
1879N/AProjectCreatorIDEOptionsIgnoreCompiler2=\
4019N/A -ignorePath_TARGET compiler2 \
4019N/A -ignorePath_TARGET tiered \
1879N/A -ignorePath_TARGET src/share/vm/opto \
1879N/A -ignorePath_TARGET src/share/vm/libadt \
1879N/A -ignorePath_TARGET adfiles \
1879N/A -ignoreFile_TARGET bcEscapeAnalyzer.cpp \
1879N/A -ignoreFile_TARGET bcEscapeAnalyzer.hpp \
1879N/A -ignorePath_TARGET chaitin \
1879N/A -ignorePath_TARGET c2_ \
1879N/A -ignorePath_TARGET runtime_ \
1879N/A -ignoreFile_TARGET ciTypeFlow.cpp \
1879N/A -ignoreFile_TARGET ciTypeFlow.hpp \
1879N/A -ignoreFile_TARGET $(Platform_arch_model).ad
1879N/A
1879N/A##################################################
1879N/A# Without compiler(core) specific options
1879N/A##################################################
1879N/AProjectCreatorIDEOptions=$(ProjectCreatorIDEOptions) \
1879N/A$(ProjectCreatorIDEOptionsIgnoreCompiler1:TARGET=core) \
1879N/A$(ProjectCreatorIDEOptionsIgnoreCompiler2:TARGET=core)
1879N/A
0N/A##################################################
0N/A# Client(C1) compiler specific options
0N/A##################################################
1879N/AProjectCreatorIDEOptions=$(ProjectCreatorIDEOptions) \
0N/A -define_compiler1 COMPILER1 \
4019N/A -ignorePath_compiler1 core \
1879N/A$(ProjectCreatorIDEOptionsIgnoreCompiler2:TARGET=compiler1)
0N/A
0N/A##################################################
0N/A# Server(C2) compiler specific options
0N/A##################################################
0N/A#NOTE! This list must be kept in sync with GENERATED_NAMES in adlc.make.
1879N/AProjectCreatorIDEOptions=$(ProjectCreatorIDEOptions) \
0N/A -define_compiler2 COMPILER2 \
4019N/A -ignorePath_compiler2 core \
0N/A -additionalFile_compiler2 $(Platform_arch_model).ad \
4019N/A -additionalFile_compiler2 ad_$(Platform_arch_model).cpp \
4019N/A -additionalFile_compiler2 ad_$(Platform_arch_model).hpp \
4019N/A -additionalFile_compiler2 ad_$(Platform_arch_model)_clone.cpp \
4019N/A -additionalFile_compiler2 ad_$(Platform_arch_model)_expand.cpp \
4019N/A -additionalFile_compiler2 ad_$(Platform_arch_model)_format.cpp \
4019N/A -additionalFile_compiler2 ad_$(Platform_arch_model)_gen.cpp \
4019N/A -additionalFile_compiler2 ad_$(Platform_arch_model)_misc.cpp \
4019N/A -additionalFile_compiler2 ad_$(Platform_arch_model)_peephole.cpp \
4019N/A -additionalFile_compiler2 ad_$(Platform_arch_model)_pipeline.cpp \
4019N/A -additionalFile_compiler2 adGlobals_$(Platform_arch_model).hpp \
4019N/A -additionalFile_compiler2 dfa_$(Platform_arch_model).cpp \
1879N/A $(ProjectCreatorIDEOptionsIgnoreCompiler1:TARGET=compiler2)
0N/A
0N/A# Add in the jvmti (JSR-163) options
0N/A# NOTE: do not pull in jvmtiEnvRecommended.cpp. This file is generated
0N/A# so the programmer can diff it with jvmtiEnv.cpp to be sure the
0N/A# code merge was done correctly (@see jvmti.make and jvmtiEnvFill.java).
0N/A# If so, they would then check it in as a new version of jvmtiEnv.cpp.
1879N/AProjectCreatorIDEOptions=$(ProjectCreatorIDEOptions) \
4019N/A -additionalFile jvmtiEnv.hpp \
4019N/A -additionalFile jvmtiEnter.cpp \
4019N/A -additionalFile jvmtiEnterTrace.cpp \
4019N/A -additionalFile jvmti.h \
4141N/A -additionalFile bytecodeInterpreterWithChecks.cpp \
4141N/A -additionalFile traceEventClasses.hpp \
4141N/A -additionalFile traceEventIds.hpp \
4141N/A!if "$(OPENJDK)" != "true"
4141N/A -additionalFile traceRequestables.hpp \
4141N/A -additionalFile traceEventControl.hpp \
4141N/A -additionalFile traceProducer.cpp \
4141N/A!endif
4141N/A -additionalFile traceTypes.hpp