Path: blob/aarch64-shenandoah-jdk8u272-b10/hotspot/make/windows/makefiles/product.make
32285 views
#1# Copyright (c) 2005, 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)27GENERATED=../generated2829# Allow the user to turn off precompiled headers from the command line.30!if "$(USE_PRECOMPILED_HEADER)" != "0"31BUILD_PCH_FILE=_build_pch_file.obj32!endif3334default:: $(BUILD_PCH_FILE) $(AOUT) checkAndBuildSA3536!include ../local.make37!include compile.make3839CXX_FLAGS=$(CXX_FLAGS) $(PRODUCT_OPT_OPTION)4041RELEASE=4243RC_FLAGS=$(RC_FLAGS) /D "NDEBUG"4445!include $(WorkSpace)/make/windows/makefiles/vm.make46!include local.make4748HS_BUILD_ID=$(HS_BUILD_VER)4950# Force resources to be rebuilt every time51$(Res_Files): FORCE5253$(AOUT): $(Res_Files) $(Obj_Files) vm.def54$(LD) @<<55$(LD_FLAGS) /out:$@ /implib:$*.lib /def:vm.def $(Obj_Files) $(Res_Files)56<<57!if "$(MT)" != ""58# The previous link command created a .manifest file that we want to59# insert into the linked artifact so we do not need to track it60# separately. Use ";#2" for .dll and ";#1" for .exe:61$(MT) /manifest $@.manifest /outputresource:$@;#262!endif63!if "$(ENABLE_FULL_DEBUG_SYMBOLS)" == "1"64!if "$(ZIP_DEBUGINFO_FILES)" == "1"65$(ZIPEXE) -q $*.diz $*.map $*.pdb66$(RM) $*.map $*.pdb67!endif68!endif6970!include $(WorkSpace)/make/windows/makefiles/shared.make71!include $(WorkSpace)/make/windows/makefiles/sa.make727374