0N/A#
1472N/A# Copyright (c) 1998, 2008, 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/A# Sets make macros for making debug version of VM
0N/A
0N/A# Compiler specific DEBUG_CFLAGS are passed in from gcc.make, sparcWorks.make
0N/ADEBUG_CFLAGS/DEFAULT= $(DEBUG_CFLAGS)
0N/ADEBUG_CFLAGS/BYFILE = $(DEBUG_CFLAGS/$@)$(DEBUG_CFLAGS/DEFAULT$(DEBUG_CFLAGS/$@))
0N/A
0N/Aifeq ("${Platform_compiler}", "sparcWorks")
158N/A
430N/Aifeq ($(COMPILER_REV_NUMERIC),508)
0N/A # SS11 SEGV when compiling with -g and -xarch=v8, using different backend
0N/A DEBUG_CFLAGS/compileBroker.o = $(DEBUG_CFLAGS) -xO0
0N/A DEBUG_CFLAGS/jvmtiTagMap.o = $(DEBUG_CFLAGS) -xO0
0N/Aendif
0N/Aendif
0N/A
0N/ACFLAGS += $(DEBUG_CFLAGS/BYFILE)
0N/A
0N/A# Linker mapfiles
91N/AMAPFILE = $(GAMMADIR)/make/solaris/makefiles/mapfile-vers \
2729N/A $(GAMMADIR)/make/solaris/makefiles/mapfile-vers-debug
0N/A
0N/A# This mapfile is only needed when compiling with dtrace support,
0N/A# and mustn't be otherwise.
91N/AMAPFILE_DTRACE = $(GAMMADIR)/make/solaris/makefiles/mapfile-vers-$(TYPE)
0N/A
0N/A_JUNK_ := $(shell echo >&2 ""\
0N/A "-------------------------------------------------------------------------\n" \
0N/A "WARNING: 'gnumake debug' is deprecated. It will be removed in the future.\n" \
0N/A "Please use 'gnumake jvmg' to build debug JVM. \n" \
0N/A "-------------------------------------------------------------------------\n")
0N/A
1123N/AG_SUFFIX = _g
0N/AVERSION = debug
0N/ASYSDEFS += -DASSERT -DDEBUG
0N/APICFLAGS = DEFAULT