Mercurial > hg > graal-jvmci-8
comparison make/windows/makefiles/defs.make @ 6020:d652a62d6e03
7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris
Summary: Add support for ENABLE_FULL_DEBUG_SYMBOLS and ZIP_DEBUGINFO_FILES build flags. Add support for .diz files.
Reviewed-by: dholmes, ohair, sspitsyn
author | dcubed |
---|---|
date | Fri, 23 Mar 2012 11:50:33 -0700 |
parents | f08d439fab8c |
children | 744728c16316 |
comparison
equal
deleted
inserted
replaced
4958:3b24e7e01d20 | 6020:d652a62d6e03 |
---|---|
1 # | 1 # |
2 # Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. | 2 # Copyright (c) 2006, 2012, Oracle and/or its affiliates. All rights reserved. |
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 # | 4 # |
5 # This code is free software; you can redistribute it and/or modify it | 5 # This code is free software; you can redistribute it and/or modify it |
6 # under the terms of the GNU General Public License version 2 only, as | 6 # under the terms of the GNU General Public License version 2 only, as |
7 # published by the Free Software Foundation. | 7 # published by the Free Software Foundation. |
104 MAKE_ARGS += BUILDARCH=amd64 | 104 MAKE_ARGS += BUILDARCH=amd64 |
105 MAKE_ARGS += Platform_arch=x86 | 105 MAKE_ARGS += Platform_arch=x86 |
106 MAKE_ARGS += Platform_arch_model=x86_64 | 106 MAKE_ARGS += Platform_arch_model=x86_64 |
107 endif | 107 endif |
108 endif | 108 endif |
109 | |
110 # Full Debug Symbols has been enabled on Windows since JDK1.4.1 so | |
111 # there is no need for an "earlier than JDK7 check". | |
112 # Default is enabled with debug info files ZIP'ed to save space. | |
113 | |
114 ENABLE_FULL_DEBUG_SYMBOLS ?= 1 | |
115 MAKE_ARGS += ENABLE_FULL_DEBUG_SYMBOLS=$(ENABLE_FULL_DEBUG_SYMBOLS) | |
116 | |
117 ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) | |
118 ZIP_DEBUGINFO_FILES ?= 1 | |
119 else | |
120 ZIP_DEBUGINFO_FILES=0 | |
121 endif | |
122 MAKE_ARGS += ZIP_DEBUGINFO_FILES=$(ZIP_DEBUGINFO_FILES) | |
123 MAKE_ARGS += RM="$(RM)" | |
124 MAKE_ARGS += ZIPEXE=$(ZIPEXE) | |
109 | 125 |
110 JDK_INCLUDE_SUBDIR=win32 | 126 JDK_INCLUDE_SUBDIR=win32 |
111 | 127 |
112 # Library suffix | 128 # Library suffix |
113 LIBRARY_SUFFIX=dll | 129 LIBRARY_SUFFIX=dll |
177 EXPORT_CLIENT_DIR = $(EXPORT_JRE_BIN_DIR)/client | 193 EXPORT_CLIENT_DIR = $(EXPORT_JRE_BIN_DIR)/client |
178 EXPORT_KERNEL_DIR = $(EXPORT_JRE_BIN_DIR)/kernel | 194 EXPORT_KERNEL_DIR = $(EXPORT_JRE_BIN_DIR)/kernel |
179 | 195 |
180 EXPORT_LIST += $(EXPORT_SERVER_DIR)/Xusage.txt | 196 EXPORT_LIST += $(EXPORT_SERVER_DIR)/Xusage.txt |
181 EXPORT_LIST += $(EXPORT_SERVER_DIR)/jvm.$(LIBRARY_SUFFIX) | 197 EXPORT_LIST += $(EXPORT_SERVER_DIR)/jvm.$(LIBRARY_SUFFIX) |
182 EXPORT_LIST += $(EXPORT_SERVER_DIR)/jvm.pdb | 198 ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) |
183 EXPORT_LIST += $(EXPORT_SERVER_DIR)/jvm.map | 199 ifeq ($(ZIP_DEBUGINFO_FILES),1) |
200 EXPORT_LIST += $(EXPORT_SERVER_DIR)/jvm.diz | |
201 else | |
202 EXPORT_LIST += $(EXPORT_SERVER_DIR)/jvm.pdb | |
203 EXPORT_LIST += $(EXPORT_SERVER_DIR)/jvm.map | |
204 endif | |
205 endif | |
184 EXPORT_LIST += $(EXPORT_LIB_DIR)/jvm.lib | 206 EXPORT_LIST += $(EXPORT_LIB_DIR)/jvm.lib |
185 ifeq ($(ARCH_DATA_MODEL), 32) | 207 ifeq ($(ARCH_DATA_MODEL), 32) |
186 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/Xusage.txt | 208 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/Xusage.txt |
187 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/jvm.$(LIBRARY_SUFFIX) | 209 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/jvm.$(LIBRARY_SUFFIX) |
188 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/jvm.pdb | 210 ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) |
189 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/jvm.map | 211 ifeq ($(ZIP_DEBUGINFO_FILES),1) |
212 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/jvm.diz | |
213 else | |
214 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/jvm.pdb | |
215 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/jvm.map | |
216 endif | |
217 endif | |
190 # kernel vm | 218 # kernel vm |
191 EXPORT_LIST += $(EXPORT_KERNEL_DIR)/Xusage.txt | 219 EXPORT_LIST += $(EXPORT_KERNEL_DIR)/Xusage.txt |
192 EXPORT_LIST += $(EXPORT_KERNEL_DIR)/jvm.$(LIBRARY_SUFFIX) | 220 EXPORT_LIST += $(EXPORT_KERNEL_DIR)/jvm.$(LIBRARY_SUFFIX) |
193 EXPORT_LIST += $(EXPORT_KERNEL_DIR)/jvm.pdb | 221 ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) |
194 EXPORT_LIST += $(EXPORT_KERNEL_DIR)/jvm.map | 222 ifeq ($(ZIP_DEBUGINFO_FILES),1) |
223 EXPORT_LIST += $(EXPORT_KERNEL_DIR)/jvm.diz | |
224 else | |
225 EXPORT_LIST += $(EXPORT_KERNEL_DIR)/jvm.pdb | |
226 EXPORT_LIST += $(EXPORT_KERNEL_DIR)/jvm.map | |
227 endif | |
228 endif | |
195 endif | 229 endif |
196 | 230 |
197 ifeq ($(BUILD_WIN_SA), 1) | 231 ifeq ($(BUILD_WIN_SA), 1) |
198 EXPORT_LIST += $(EXPORT_JRE_BIN_DIR)/sawindbg.$(LIBRARY_SUFFIX) | 232 EXPORT_LIST += $(EXPORT_JRE_BIN_DIR)/sawindbg.$(LIBRARY_SUFFIX) |
199 EXPORT_LIST += $(EXPORT_JRE_BIN_DIR)/sawindbg.pdb | 233 ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) |
200 EXPORT_LIST += $(EXPORT_JRE_BIN_DIR)/sawindbg.map | 234 ifeq ($(ZIP_DEBUGINFO_FILES),1) |
235 EXPORT_LIST += $(EXPORT_JRE_BIN_DIR)/sawindbg.diz | |
236 else | |
237 EXPORT_LIST += $(EXPORT_JRE_BIN_DIR)/sawindbg.pdb | |
238 EXPORT_LIST += $(EXPORT_JRE_BIN_DIR)/sawindbg.map | |
239 endif | |
240 endif | |
201 EXPORT_LIST += $(EXPORT_LIB_DIR)/sa-jdi.jar | 241 EXPORT_LIST += $(EXPORT_LIB_DIR)/sa-jdi.jar |
202 # Must pass this down to nmake. | 242 # Must pass this down to nmake. |
203 MAKE_ARGS += BUILD_WIN_SA=1 | 243 MAKE_ARGS += BUILD_WIN_SA=1 |
204 endif | 244 endif |