vm.make revision 1890
0N/A#
1879N/A# Copyright (c) 1997, 2010, 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.
0N/A#
0N/A#
0N/A
0N/A# Resource file containing VERSIONINFO
0N/ARes_Files=.\version.res
0N/A
1879N/A!include ..\generated\objfiles.make
1879N/A
0N/A!ifdef RELEASE
0N/A!ifdef DEVELOP
0N/ACPP_FLAGS=$(CPP_FLAGS) /D "DEBUG"
0N/A!else
0N/ACPP_FLAGS=$(CPP_FLAGS) /D "PRODUCT"
0N/A!endif
0N/A!else
0N/ACPP_FLAGS=$(CPP_FLAGS) /D "ASSERT"
0N/A!endif
0N/A
0N/A!if "$(Variant)" == "core"
0N/A# No need to define anything, CORE is defined as !COMPILER1 && !COMPILER2
0N/A!endif
0N/A
0N/A!if "$(Variant)" == "kernel"
0N/ACPP_FLAGS=$(CPP_FLAGS) /D "KERNEL"
0N/A!endif
0N/A
0N/A!if "$(Variant)" == "compiler1"
0N/ACPP_FLAGS=$(CPP_FLAGS) /D "COMPILER1"
0N/A!endif
0N/A
0N/A!if "$(Variant)" == "compiler2"
0N/ACPP_FLAGS=$(CPP_FLAGS) /D "COMPILER2"
0N/A!endif
0N/A
0N/A!if "$(Variant)" == "tiered"
0N/ACPP_FLAGS=$(CPP_FLAGS) /D "COMPILER1" /D "COMPILER2"
0N/A!endif
0N/A
720N/A!if "$(BUILDARCH)" == "i486"
720N/AHOTSPOT_LIB_ARCH=i386
720N/A!else
720N/AHOTSPOT_LIB_ARCH=$(BUILDARCH)
720N/A!endif
720N/A
0N/A# The following variables are defined in the generated local.make file.
0N/ACPP_FLAGS=$(CPP_FLAGS) /D "HOTSPOT_RELEASE_VERSION=\"$(HS_BUILD_VER)\""
0N/ACPP_FLAGS=$(CPP_FLAGS) /D "JRE_RELEASE_VERSION=\"$(JRE_RELEASE_VER)\""
720N/ACPP_FLAGS=$(CPP_FLAGS) /D "HOTSPOT_LIB_ARCH=\"$(HOTSPOT_LIB_ARCH)\""
0N/ACPP_FLAGS=$(CPP_FLAGS) /D "HOTSPOT_BUILD_TARGET=\"$(BUILD_FLAVOR)\""
0N/ACPP_FLAGS=$(CPP_FLAGS) /D "HOTSPOT_BUILD_USER=\"$(BuildUser)\""
0N/ACPP_FLAGS=$(CPP_FLAGS) /D "HOTSPOT_VM_DISTRO=\"$(HOTSPOT_VM_DISTRO)\""
0N/A
0N/ACPP_FLAGS=$(CPP_FLAGS) /D "WIN32" /D "_WINDOWS" $(CPP_INCLUDE_DIRS)
0N/A
0N/A# Must specify this for sharedRuntimeTrig.cpp
0N/ACPP_FLAGS=$(CPP_FLAGS) /D "VM_LITTLE_ENDIAN"
0N/A
0N/A# Define that so jni.h is on correct side
0N/ACPP_FLAGS=$(CPP_FLAGS) /D "_JNI_IMPLEMENTATION_"
0N/A
1879N/A# Used for platform dispatching
1879N/ACPP_FLAGS=$(CPP_FLAGS) /D TARGET_OS_FAMILY_windows
1879N/ACPP_FLAGS=$(CPP_FLAGS) /D TARGET_ARCH_$(Platform_arch)
1879N/ACPP_FLAGS=$(CPP_FLAGS) /D TARGET_ARCH_MODEL_$(Platform_arch_model)
1879N/ACPP_FLAGS=$(CPP_FLAGS) /D TARGET_OS_ARCH_windows_$(Platform_arch)
1879N/ACPP_FLAGS=$(CPP_FLAGS) /D TARGET_OS_ARCH_MODEL_windows_$(Platform_arch_model)
1879N/ACPP_FLAGS=$(CPP_FLAGS) /D TARGET_COMPILER_visCPP
1879N/A
0N/A!if "$(BUILDARCH)" == "ia64"
0N/ASTACK_SIZE="/STACK:1048576,262144"
0N/A!else
0N/ASTACK_SIZE=
0N/A!endif
0N/A
0N/A!if "$(BUILDARCH)" == "ia64"
0N/A# AsyncGetCallTrace is not supported on IA64 yet
0N/AAGCT_EXPORT=
0N/A!else
0N/A!if "$(Variant)" == "kernel"
0N/AAGCT_EXPORT=
0N/A!else
0N/AAGCT_EXPORT=/export:AsyncGetCallTrace
0N/A!endif
0N/A!endif
0N/A
226N/ALINK_FLAGS=$(LINK_FLAGS) $(STACK_SIZE) /subsystem:windows /dll /base:0x8000000 \
226N/A /export:JNI_GetDefaultJavaVMInitArgs \
226N/A /export:JNI_CreateJavaVM \
226N/A /export:JVM_FindClassFromBootLoader \
226N/A /export:JNI_GetCreatedJavaVMs \
226N/A /export:jio_snprintf \
226N/A /export:jio_printf \
226N/A /export:jio_fprintf \
226N/A /export:jio_vfprintf \
226N/A /export:jio_vsnprintf \
226N/A $(AGCT_EXPORT) \
226N/A /export:JVM_GetVersionInfo \
226N/A /export:JVM_GetThreadStateNames \
226N/A /export:JVM_GetThreadStateValues \
0N/A /export:JVM_InitAgentProperties
0N/A
0N/ACPP_INCLUDE_DIRS=\
1879N/A /I "..\generated" \
1879N/A /I "$(WorkSpace)\src\share\vm" \
1879N/A /I "$(WorkSpace)\src\share\vm\prims" \
1879N/A /I "$(WorkSpace)\src\os\windows\vm" \
0N/A /I "$(WorkSpace)\src\os_cpu\windows_$(Platform_arch)\vm" \
0N/A /I "$(WorkSpace)\src\cpu\$(Platform_arch)\vm"
0N/A
1890N/ACPP_DONT_USE_PCH=/D DONT_USE_PRECOMPILED_HEADER
1890N/A
1890N/A!if "$(USE_PRECOMPILED_HEADER)" != "0"
1879N/ACPP_USE_PCH=/Fp"vm.pch" /Yu"precompiled.hpp"
1890N/A!else
1890N/ACPP_USE_PCH=$(CPP_DONT_USE_PCH)
1890N/A!endif
0N/A
0N/A# Where to find the source code for the virtual machine
1879N/AVM_PATH=../generated
1879N/AVM_PATH=$(VM_PATH);../generated/adfiles
0N/AVM_PATH=$(VM_PATH);../generated/jvmtifiles
0N/AVM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/c1
0N/AVM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/compiler
0N/AVM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/code
0N/AVM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/interpreter
0N/AVM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/ci
0N/AVM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/classfile
0N/AVM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc_implementation/parallelScavenge
0N/AVM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc_implementation/shared
0N/AVM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc_implementation/parNew
0N/AVM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc_implementation/concurrentMarkSweep
342N/AVM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc_implementation/g1
0N/AVM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/gc_interface
0N/AVM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/asm
0N/AVM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/memory
0N/AVM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/oops
0N/AVM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/prims
0N/AVM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/runtime
0N/AVM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/services
0N/AVM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/utilities
0N/AVM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/libadt
0N/AVM_PATH=$(VM_PATH);$(WorkSpace)/src/os/windows/vm
0N/AVM_PATH=$(VM_PATH);$(WorkSpace)/src/os_cpu/windows_$(Platform_arch)/vm
0N/AVM_PATH=$(VM_PATH);$(WorkSpace)/src/cpu/$(Platform_arch)/vm
0N/AVM_PATH=$(VM_PATH);$(WorkSpace)/src/share/vm/opto
0N/A
0N/AVM_PATH={$(VM_PATH)}
0N/A
0N/A# Special case files not using precompiled header files.
0N/A
0N/Ac1_RInfo_$(Platform_arch).obj: $(WorkSpace)\src\cpu\$(Platform_arch)\vm\c1_RInfo_$(Platform_arch).cpp
1890N/A $(CPP) $(CPP_FLAGS) $(CPP_DONT_USE_PCH) /c $(WorkSpace)\src\cpu\$(Platform_arch)\vm\c1_RInfo_$(Platform_arch).cpp
0N/A
0N/Aos_windows.obj: $(WorkSpace)\src\os\windows\vm\os_windows.cpp
1890N/A $(CPP) $(CPP_FLAGS) $(CPP_DONT_USE_PCH) /c $(WorkSpace)\src\os\windows\vm\os_windows.cpp
0N/A
0N/Aos_windows_$(Platform_arch).obj: $(WorkSpace)\src\os_cpu\windows_$(Platform_arch)\vm\os_windows_$(Platform_arch).cpp
1890N/A $(CPP) $(CPP_FLAGS) $(CPP_DONT_USE_PCH) /c $(WorkSpace)\src\os_cpu\windows_$(Platform_arch)\vm\os_windows_$(Platform_arch).cpp
0N/A
0N/AosThread_windows.obj: $(WorkSpace)\src\os\windows\vm\osThread_windows.cpp
1890N/A $(CPP) $(CPP_FLAGS) $(CPP_DONT_USE_PCH) /c $(WorkSpace)\src\os\windows\vm\osThread_windows.cpp
0N/A
0N/AconditionVar_windows.obj: $(WorkSpace)\src\os\windows\vm\conditionVar_windows.cpp
1890N/A $(CPP) $(CPP_FLAGS) $(CPP_DONT_USE_PCH) /c $(WorkSpace)\src\os\windows\vm\conditionVar_windows.cpp
0N/A
0N/AgetThread_windows_$(Platform_arch).obj: $(WorkSpace)\src\os_cpu\windows_$(Platform_arch)\vm\getThread_windows_$(Platform_arch).cpp
1890N/A $(CPP) $(CPP_FLAGS) $(CPP_DONT_USE_PCH) /c $(WorkSpace)\src\os_cpu\windows_$(Platform_arch)\vm\getThread_windows_$(Platform_arch).cpp
0N/A
0N/Aopcodes.obj: $(WorkSpace)\src\share\vm\opto\opcodes.cpp
1890N/A $(CPP) $(CPP_FLAGS) $(CPP_DONT_USE_PCH) /c $(WorkSpace)\src\share\vm\opto\opcodes.cpp
0N/A
0N/AbytecodeInterpreter.obj: $(WorkSpace)\src\share\vm\interpreter\bytecodeInterpreter.cpp
1890N/A $(CPP) $(CPP_FLAGS) $(CPP_DONT_USE_PCH) /c $(WorkSpace)\src\share\vm\interpreter\bytecodeInterpreter.cpp
0N/A
0N/AbytecodeInterpreterWithChecks.obj: ..\generated\jvmtifiles\bytecodeInterpreterWithChecks.cpp
1890N/A $(CPP) $(CPP_FLAGS) $(CPP_DONT_USE_PCH) /c ..\generated\jvmtifiles\bytecodeInterpreterWithChecks.cpp
0N/A
0N/A# Default rules for the Virtual Machine
0N/A{$(WorkSpace)\src\share\vm\c1}.cpp.obj::
0N/A $(CPP) $(CPP_FLAGS) $(CPP_USE_PCH) /c $<
0N/A
0N/A{$(WorkSpace)\src\share\vm\compiler}.cpp.obj::
0N/A $(CPP) $(CPP_FLAGS) $(CPP_USE_PCH) /c $<
0N/A
0N/A{$(WorkSpace)\src\share\vm\code}.cpp.obj::
0N/A $(CPP) $(CPP_FLAGS) $(CPP_USE_PCH) /c $<
0N/A
0N/A{$(WorkSpace)\src\share\vm\interpreter}.cpp.obj::
0N/A $(CPP) $(CPP_FLAGS) $(CPP_USE_PCH) /c $<
0N/A
0N/A{$(WorkSpace)\src\share\vm\ci}.cpp.obj::
0N/A $(CPP) $(CPP_FLAGS) $(CPP_USE_PCH) /c $<
0N/A
0N/A{$(WorkSpace)\src\share\vm\classfile}.cpp.obj::
0N/A $(CPP) $(CPP_FLAGS) $(CPP_USE_PCH) /c $<
0N/A
0N/A{$(WorkSpace)\src\share\vm\gc_implementation\parallelScavenge}.cpp.obj::
0N/A $(CPP) $(CPP_FLAGS) $(CPP_USE_PCH) /c $<
0N/A
0N/A{$(WorkSpace)\src\share\vm\gc_implementation\shared}.cpp.obj::
0N/A $(CPP) $(CPP_FLAGS) $(CPP_USE_PCH) /c $<
0N/A
0N/A{$(WorkSpace)\src\share\vm\gc_implementation\parNew}.cpp.obj::
0N/A $(CPP) $(CPP_FLAGS) $(CPP_USE_PCH) /c $<
0N/A
0N/A{$(WorkSpace)\src\share\vm\gc_implementation\concurrentMarkSweep}.cpp.obj::
0N/A $(CPP) $(CPP_FLAGS) $(CPP_USE_PCH) /c $<
0N/A
342N/A{$(WorkSpace)\src\share\vm\gc_implementation\g1}.cpp.obj::
342N/A $(CPP) $(CPP_FLAGS) $(CPP_USE_PCH) /c $<
342N/A
0N/A{$(WorkSpace)\src\share\vm\gc_interface}.cpp.obj::
0N/A $(CPP) $(CPP_FLAGS) $(CPP_USE_PCH) /c $<
0N/A
0N/A{$(WorkSpace)\src\share\vm\asm}.cpp.obj::
0N/A $(CPP) $(CPP_FLAGS) $(CPP_USE_PCH) /c $<
0N/A
0N/A{$(WorkSpace)\src\share\vm\memory}.cpp.obj::
0N/A $(CPP) $(CPP_FLAGS) $(CPP_USE_PCH) /c $<
0N/A
0N/A{$(WorkSpace)\src\share\vm\oops}.cpp.obj::
0N/A $(CPP) $(CPP_FLAGS) $(CPP_USE_PCH) /c $<
0N/A
0N/A{$(WorkSpace)\src\share\vm\prims}.cpp.obj::
0N/A $(CPP) $(CPP_FLAGS) $(CPP_USE_PCH) /c $<
0N/A
0N/A{$(WorkSpace)\src\share\vm\runtime}.cpp.obj::
0N/A $(CPP) $(CPP_FLAGS) $(CPP_USE_PCH) /c $<
0N/A
0N/A{$(WorkSpace)\src\share\vm\services}.cpp.obj::
0N/A $(CPP) $(CPP_FLAGS) $(CPP_USE_PCH) /c $<
0N/A
0N/A{$(WorkSpace)\src\share\vm\utilities}.cpp.obj::
0N/A $(CPP) $(CPP_FLAGS) $(CPP_USE_PCH) /c $<
0N/A
0N/A{$(WorkSpace)\src\share\vm\libadt}.cpp.obj::
0N/A $(CPP) $(CPP_FLAGS) $(CPP_USE_PCH) /c $<
0N/A
0N/A{$(WorkSpace)\src\share\vm\opto}.cpp.obj::
0N/A $(CPP) $(CPP_FLAGS) $(CPP_USE_PCH) /c $<
0N/A
0N/A{$(WorkSpace)\src\os\windows\vm}.cpp.obj::
0N/A $(CPP) $(CPP_FLAGS) $(CPP_USE_PCH) /c $<
0N/A
0N/A# This guy should remain a single colon rule because
0N/A# otherwise we can't specify the output filename.
0N/A{$(WorkSpace)\src\os\windows\vm}.rc.res:
0N/A @$(RC) $(RC_FLAGS) /fo"$@" $<
0N/A
0N/A{$(WorkSpace)\src\cpu\$(Platform_arch)\vm}.cpp.obj::
0N/A $(CPP) $(CPP_FLAGS) $(CPP_USE_PCH) /c $<
0N/A
0N/A{$(WorkSpace)\src\os_cpu\windows_$(Platform_arch)\vm}.cpp.obj::
0N/A $(CPP) $(CPP_FLAGS) $(CPP_USE_PCH) /c $<
0N/A
0N/A{..\generated\incls}.cpp.obj::
0N/A $(CPP) $(CPP_FLAGS) $(CPP_USE_PCH) /c $<
0N/A
1879N/A{..\generated\adfiles}.cpp.obj::
1879N/A $(CPP) $(CPP_FLAGS) $(CPP_USE_PCH) /c $<
1879N/A
0N/A{..\generated\jvmtifiles}.cpp.obj::
0N/A $(CPP) $(CPP_FLAGS) $(CPP_USE_PCH) /c $<
0N/A
0N/Adefault::
0N/A
0N/A_build_pch_file.obj:
1879N/A @echo #include "precompiled.hpp" > ../generated/_build_pch_file.cpp
1879N/A $(CPP) $(CPP_FLAGS) /Fp"vm.pch" /Yc"precompiled.hpp" /c ../generated/_build_pch_file.cpp