0N/A#
3364N/A# Copyright (c) 1997, 2012, 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/AHS_INTERNAL_NAME=jvm
0N/AHS_FNAME=$(HS_INTERNAL_NAME).dll
0N/AAOUT=$(HS_FNAME)
0N/ASAWINDBG=sawindbg.dll
0N/AGENERATED=../generated
0N/A
1890N/A# Allow the user to turn off precompiled headers from the command line.
1890N/A!if "$(USE_PRECOMPILED_HEADER)" != "0"
1890N/ABUILD_PCH_FILE=_build_pch_file.obj
1890N/A!endif
1890N/A
4358N/Adefault:: $(BUILD_PCH_FILE) $(AOUT) launcher checkAndBuildSA
0N/A
0N/A!include ../local.make
0N/A!include compile.make
0N/A
3863N/A# _NMT_NOINLINE_ informs NMT that no inlining by Compiler
3863N/ACXX_FLAGS=$(CXX_FLAGS) $(DEBUG_OPT_OPTION) /D "_NMT_NOINLINE_"
0N/A
91N/A!include $(WorkSpace)/make/windows/makefiles/vm.make
0N/A!include local.make
0N/A
0N/AHS_BUILD_ID=$(HS_BUILD_VER)-debug
0N/A
0N/A# Force resources to be rebuilt every time
0N/A$(Res_Files): FORCE
0N/A
1934N/Avm.def: $(Obj_Files)
91N/A sh $(WorkSpace)/make/windows/build_vm_def.sh
1934N/A
1934N/A$(AOUT): $(Res_Files) $(Obj_Files) vm.def
3178N/A $(LD) @<<
3178N/A $(LD_FLAGS) /out:$@ /implib:$*.lib /def:vm.def $(Obj_Files) $(Res_Files)
0N/A<<
427N/A!if "$(MT)" != ""
427N/A# The previous link command created a .manifest file that we want to
427N/A# insert into the linked artifact so we do not need to track it
427N/A# separately. Use ";#2" for .dll and ";#1" for .exe:
427N/A $(MT) /manifest $@.manifest /outputresource:$@;#2
427N/A!endif
3364N/A!if "$(ENABLE_FULL_DEBUG_SYMBOLS)" == "1"
3364N/A!if "$(ZIP_DEBUGINFO_FILES)" == "1"
3364N/A $(ZIPEXE) -q $*.diz $*.map $*.pdb
3364N/A $(RM) $*.map $*.pdb
3364N/A!endif
3364N/A!endif
0N/A
91N/A!include $(WorkSpace)/make/windows/makefiles/shared.make
91N/A!include $(WorkSpace)/make/windows/makefiles/sa.make
1892N/A!include $(WorkSpace)/make/windows/makefiles/launcher.make