115 116 USE_PRECOMPILED_HEADER=@USE_PRECOMPILED_HEADER@ 117 118 # Hotspot expects the variable FULL_DEBUG_SYMBOLS=1/0 to control debug symbols 119 # creation. 120 ifeq ($(ENABLE_DEBUG_SYMBOLS), true) 121 FULL_DEBUG_SYMBOLS=1 122 # Ensure hotspot uses the objcopy that configure located 123 ALT_OBJCOPY:=$(OBJCOPY) 124 else 125 FULL_DEBUG_SYMBOLS=0 126 endif 127 128 # Hotspot expects the variable ZIP_DEBUGINFO_FILES=1/0 and not true/false. 129 ifeq ($(ZIP_DEBUGINFO_FILES)$(ENABLE_DEBUG_SYMBOLS), truetrue) 130 ZIP_DEBUGINFO_FILES:=1 131 else 132 ZIP_DEBUGINFO_FILES:=0 133 endif 134 135 # Sneak this in via the spec.gmk file, since we don't want to mess around too much with the Hotspot make files. 136 # This is needed to get the LOG setting to work properly. 137 include $(SRC_ROOT)/make/common/MakeBase.gmk | 115 116 USE_PRECOMPILED_HEADER=@USE_PRECOMPILED_HEADER@ 117 118 # Hotspot expects the variable FULL_DEBUG_SYMBOLS=1/0 to control debug symbols 119 # creation. 120 ifeq ($(ENABLE_DEBUG_SYMBOLS), true) 121 FULL_DEBUG_SYMBOLS=1 122 # Ensure hotspot uses the objcopy that configure located 123 ALT_OBJCOPY:=$(OBJCOPY) 124 else 125 FULL_DEBUG_SYMBOLS=0 126 endif 127 128 # Hotspot expects the variable ZIP_DEBUGINFO_FILES=1/0 and not true/false. 129 ifeq ($(ZIP_DEBUGINFO_FILES)$(ENABLE_DEBUG_SYMBOLS), truetrue) 130 ZIP_DEBUGINFO_FILES:=1 131 else 132 ZIP_DEBUGINFO_FILES:=0 133 endif 134 135 ifeq ($(OPENJDK_TARGET_OS), windows) 136 # On Windows, the Visual Studio toolchain needs the LIB and INCLUDE 137 # environment variables (in Windows path style). 138 export INCLUDE:=@VS_INCLUDE@ 139 export LIB:=@VS_LIB@ 140 endif 141 142 # Sneak this in via the spec.gmk file, since we don't want to mess around too much with the Hotspot make files. 143 # This is needed to get the LOG setting to work properly. 144 include $(SRC_ROOT)/make/common/MakeBase.gmk |