source: trunk/openjdk/hotspot/make/os2/makefiles/debug.make

Last change on this file was 448, checked in by dmik, 9 years ago

Remove SYM file generation on OS/2.

This doesn't make any practical sense as there is embedded HLL debug
info which is much more verbose than SYM and doesn't require separate
files (it is generated when -g option is passed to gcc).

This commint also removes the dependency on mapsym.exe and wmapsym.cmd.

File size: 2.3 KB
Line 
1#
2# Copyright 1997-2009 Sun Microsystems, Inc. All Rights Reserved.
3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4#
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
7# published by the Free Software Foundation.
8#
9# This code is distributed in the hope that it will be useful, but WITHOUT
10# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12# version 2 for more details (a copy is included in the LICENSE file that
13# accompanied this code).
14#
15# You should have received a copy of the GNU General Public License version
16# 2 along with this work; if not, write to the Free Software Foundation,
17# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18#
19# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
20# CA 95054 USA or visit www.sun.com if you need additional information or
21# have any questions.
22#
23#
24
25HS_INTERNAL_NAME = jvm
26HS_FNAME = $(HS_INTERNAL_NAME).dll
27AOUT = $(HS_FNAME)
28SAWINDBG = sawindbg.dll
29GENERATED = ../generated
30
31# Allow the user to turn off precompiled headers from the command line.
32ifneq ($(USE_PRECOMPILED_HEADER),0)
33BUILD_PCH_FILE=_build_pch_file.obj
34endif
35
36default:: $(BUILD_PCH_FILE) $(AOUT) launcher checkAndBuildSA
37
38include ../local.make
39include $(WorkSpace)/make/os2/makefiles/compile.make
40
41C_FLAGS += $(DEBUG_OPT_OPTION)
42LINK_FLAGS += $(DEBUG_LINK_FLAGS)
43
44include $(WorkSpace)/make/os2/makefiles/vm.make
45include local.make
46
47# _Copy functions, assembled from .s file
48# Not included in includeDB because it has no dependencies
49Obj_Files += os2_x86_32.obj
50
51# Various OS/2 specific sources
52# Not included in includeDB because they don't match the logic of that file
53# (it expects only one platform at a time which is windows for now)
54Obj_Files += os_os2_init.obj os_os2.obj
55
56HS_BUILD_ID = $(HS_BUILD_VER)-debug
57
58$(AOUT): $(Res_Files) $(Obj_Files) $(Def_File)
59 $(LINK) $(LINK_FLAGS) -o $@ $(Def_File) $(Obj_Files) $(Res_Files)
60 $(IMPLIB) -o $(basename $@).lib $@
61
62include $(WorkSpace)/make/os2/makefiles/shared.make
63include $(WorkSpace)/make/os2/makefiles/sa.make
64
65# Disable gamma launcher for the time being (see #157)
66#include $(WorkSpace)/make/os2/makefiles/launcher.make
67launcher:
Note: See TracBrowser for help on using the repository browser.