source: trunk/openjdk/hotspot/make/os2/makefiles/defs.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: 3.8 KB
Line 
1#
2# Copyright 2006-2008 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
25# The common definitions for hotspot OS/2 builds.
26# Include the top level defs.make under make directory instead of this one.
27# This file is included into make/defs.make.
28# On OS/2 it is only used to construct parameters for
29# make/os2/build.make when make/Makefile is used to build VM.
30
31SLASH_JAVA ?= J:
32PATH_SEP = ;
33
34# Need PLATFORM (os-arch combo names) for jdk and hotspot, plus libarch name
35ARCH_DATA_MODEL=32
36PLATFORM=os2-i586
37VM_PLATFORM=os2_i486
38HS_ARCH=x86
39MAKE_ARGS += ARCH=x86
40MAKE_ARGS += BUILDARCH=i486
41MAKE_ARGS += Platform_arch=x86
42MAKE_ARGS += Platform_arch_model=x86_32
43
44JDK_INCLUDE_SUBDIR=os2
45
46ifndef USERNAME
47USERNAME := $(USER)
48endif
49
50# HOTSPOT_RELEASE_VERSION and HOTSPOT_BUILD_VERSION are defined
51# and added to MAKE_ARGS list in $(GAMMADIR)/make/defs.make.
52
53# next parameters are defined in $(GAMMADIR)/make/defs.make.
54MAKE_ARGS += JDK_MKTG_VERSION=$(JDK_MKTG_VERSION)
55MAKE_ARGS += JDK_MAJOR_VER=$(JDK_MAJOR_VERSION)
56MAKE_ARGS += JDK_MINOR_VER=$(JDK_MINOR_VERSION)
57MAKE_ARGS += JDK_MICRO_VER=$(JDK_MICRO_VERSION)
58
59ifdef COOKED_JDK_UPDATE_VERSION
60 MAKE_ARGS += JDK_UPDATE_VER=$(COOKED_JDK_UPDATE_VERSION)
61endif
62
63# COOKED_BUILD_NUMBER should only be set if we have a numeric
64# build number. It must not be zero padded.
65ifdef COOKED_BUILD_NUMBER
66 MAKE_ARGS += JDK_BUILD_NUMBER=$(COOKED_BUILD_NUMBER)
67endif
68
69NMAKE=make
70
71# FIXUP: The subdirectory for a debug build is NOT the same on all platforms
72VM_DEBUG=debug
73
74ABS_OUTPUTDIR := $(shell mkdir -p $(OUTPUTDIR); $(CD) $(OUTPUTDIR); $(PWD))
75ABS_BOOTDIR := $(shell $(CD) $(BOOTDIR); $(PWD))
76ABS_GAMMADIR := $(shell $(CD) $(GAMMADIR); $(PWD))
77ABS_OS_MAKEFILE := $(shell $(CD) $(HS_MAKE_DIR)/$(OSNAME); $(PWD))/build.make
78
79# Disable building SA on OS/2 until we are sure
80# we want to release it. If we build it here,
81# the SDK makefiles will copy it over and put it into
82# the created image.
83BUILD_OS2_SA = 0
84ifneq ($(ALT_BUILD_OS2_SA),)
85 BUILD_OS2_SA = $(ALT_BUILD_OS2_SA)
86endif
87
88ifndef BUILD_CLIENT_ONLY
89EXPORT_SERVER_DIR = $(EXPORT_JRE_BIN_DIR)/server
90EXPORT_LIST += $(EXPORT_SERVER_DIR)/Xusage.txt
91EXPORT_LIST += $(EXPORT_SERVER_DIR)/jvm.dll
92EXPORT_LIST += $(EXPORT_SERVER_DIR)/jvm.map
93endif
94
95EXPORT_LIST += $(EXPORT_LIB_DIR)/jvm.lib
96
97EXPORT_CLIENT_DIR = $(EXPORT_JRE_BIN_DIR)/client
98EXPORT_LIST += $(EXPORT_CLIENT_DIR)/Xusage.txt
99EXPORT_LIST += $(EXPORT_CLIENT_DIR)/jvm.dll
100EXPORT_LIST += $(EXPORT_CLIENT_DIR)/jvm.map
101
102ifndef BUILD_CLIENT_ONLY
103# kernel vm
104EXPORT_KERNEL_DIR = $(EXPORT_JRE_BIN_DIR)/kernel
105EXPORT_LIST += $(EXPORT_KERNEL_DIR)/Xusage.txt
106EXPORT_LIST += $(EXPORT_KERNEL_DIR)/jvm.dll
107EXPORT_LIST += $(EXPORT_KERNEL_DIR)/jvm.map
108endif
109
110ifeq ($(BUILD_OS2_SA), 1)
111 EXPORT_LIST += $(EXPORT_JRE_BIN_DIR)/saos2dbg.dll
112 EXPORT_LIST += $(EXPORT_JRE_BIN_DIR)/saos2dbg.map
113 EXPORT_LIST += $(EXPORT_LIB_DIR)/sa-jdi.jar
114 # Must pass this down to make.
115 MAKE_ARGS += BUILD_OS2_SA=1
116endif
Note: See TracBrowser for help on using the repository browser.