Path: blob/aarch64-shenandoah-jdk8u272-b10/hotspot/make/windows/makefiles/debug.make
32285 views
#1# Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.2# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.3#4# This code is free software; you can redistribute it and/or modify it5# under the terms of the GNU General Public License version 2 only, as6# published by the Free Software Foundation.7#8# This code is distributed in the hope that it will be useful, but WITHOUT9# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or10# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License11# version 2 for more details (a copy is included in the LICENSE file that12# accompanied this code).13#14# You should have received a copy of the GNU General Public License version15# 2 along with this work; if not, write to the Free Software Foundation,16# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.17#18# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA19# or visit www.oracle.com if you need additional information or have any20# questions.21#22#2324HS_INTERNAL_NAME=jvm25HS_FNAME=$(HS_INTERNAL_NAME).dll26AOUT=$(HS_FNAME)27SAWINDBG=sawindbg.dll28GENERATED=../generated2930# Allow the user to turn off precompiled headers from the command line.31!if "$(USE_PRECOMPILED_HEADER)" != "0"32BUILD_PCH_FILE=_build_pch_file.obj33!endif3435default:: $(BUILD_PCH_FILE) $(AOUT) checkAndBuildSA3637!include ../local.make38!include compile.make3940# _NMT_NOINLINE_ informs NMT that no inlining by Compiler41CXX_FLAGS=$(CXX_FLAGS) $(DEBUG_OPT_OPTION) /D "_NMT_NOINLINE_"4243!include $(WorkSpace)/make/windows/makefiles/vm.make44!include local.make4546HS_BUILD_ID=$(HS_BUILD_VER)-debug4748# Force resources to be rebuilt every time49$(Res_Files): FORCE5051$(AOUT): $(Res_Files) $(Obj_Files) vm.def52$(LD) @<<53$(LD_FLAGS) /out:$@ /implib:$*.lib /def:vm.def $(Obj_Files) $(Res_Files)54<<55!if "$(MT)" != ""56# The previous link command created a .manifest file that we want to57# insert into the linked artifact so we do not need to track it58# separately. Use ";#2" for .dll and ";#1" for .exe:59$(MT) /manifest $@.manifest /outputresource:$@;#260!endif61!if "$(ENABLE_FULL_DEBUG_SYMBOLS)" == "1"62!if "$(ZIP_DEBUGINFO_FILES)" == "1"63$(ZIPEXE) -q $*.diz $*.map $*.pdb64$(RM) $*.map $*.pdb65!endif66!endif6768!include $(WorkSpace)/make/windows/makefiles/shared.make69!include $(WorkSpace)/make/windows/makefiles/sa.make707172