author | dcubed |
Fri, 23 Mar 2012 09:27:44 -0700 (2012-03-23) | |
changeset 12293 | 6c4b13381b81 |
parent 12047 | 320a714614e9 |
child 12697 | 79006a8e17dd |
permissions | -rw-r--r-- |
2 | 1 |
# |
12293
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
2 |
# Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. |
2 | 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 |
|
5506 | 7 |
# published by the Free Software Foundation. Oracle designates this |
2 | 8 |
# particular file as subject to the "Classpath" exception as provided |
5506 | 9 |
# by Oracle in the LICENSE file that accompanied this code. |
2 | 10 |
# |
11 |
# This code is distributed in the hope that it will be useful, but WITHOUT |
|
12 |
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
13 |
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
14 |
# version 2 for more details (a copy is included in the LICENSE file that |
|
15 |
# accompanied this code). |
|
16 |
# |
|
17 |
# You should have received a copy of the GNU General Public License version |
|
18 |
# 2 along with this work; if not, write to the Free Software Foundation, |
|
19 |
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
|
20 |
# |
|
5506 | 21 |
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
22 |
# or visit www.oracle.com if you need additional information or have any |
|
23 |
# questions. |
|
2 | 24 |
# |
25 |
||
26 |
# |
|
27 |
# Imports files exported by a hotspot build or provided from an external |
|
28 |
# location into the OUTPUTDIR, and also primes the OUTPUTDIR with files |
|
29 |
# that are provided inside this workspace. |
|
30 |
# |
|
31 |
# IMPORT_LIST contains the list of destination files that are copied |
|
32 |
# from external places (outside this workspace). |
|
33 |
# |
|
34 |
# INTERNAL_IMPORT_LIST is the list of destination files from BUILDDIR. |
|
35 |
# |
|
36 |
||
37 |
BUILDDIR = ../.. |
|
38 |
PRODUCT = java |
|
39 |
include $(BUILDDIR)/common/Defs.gmk |
|
40 |
||
41 |
SERVER_LOCATION = server |
|
42 |
CLIENT_LOCATION = client |
|
43 |
||
44 |
DB_SUFFIX = _db |
|
6378
5c7242a0a4a5
6983225: libjvm_db.so is not imported into solaris-x86 builds, and libjvm_dtrace.so not imported at all.
kamg
parents:
5506
diff
changeset
|
45 |
DTRACE_SUFFIX = _dtrace |
2 | 46 |
|
47 |
ifeq ($(PLATFORM), windows) |
|
48 |
LIB_LOCATION = $(BINDIR) |
|
12047
320a714614e9
7113349: Initial changeset for Macosx port to jdk
michaelm
parents:
10603
diff
changeset
|
49 |
else ifeq ($(PLATFORM), macosx) |
320a714614e9
7113349: Initial changeset for Macosx port to jdk
michaelm
parents:
10603
diff
changeset
|
50 |
LIB_LOCATION = $(LIBDIR) |
2 | 51 |
else |
52 |
LIB_LOCATION = $(LIBDIR)/$(LIBARCH) |
|
53 |
endif |
|
54 |
||
55 |
JVM_NAME = $(LIB_PREFIX)jvm.$(LIBRARY_SUFFIX) |
|
56 |
JVMLIB_NAME = $(LIB_PREFIX)jvm.$(LIB_SUFFIX) |
|
57 |
JVMMAP_NAME = $(LIB_PREFIX)jvm.map |
|
58 |
JVMPDB_NAME = $(LIB_PREFIX)jvm.pdb |
|
59 |
LIBJSIG_NAME = $(LIB_PREFIX)jsig.$(LIBRARY_SUFFIX) |
|
60 |
JVMDB_NAME = $(LIB_PREFIX)jvm$(DB_SUFFIX).$(LIBRARY_SUFFIX) |
|
6378
5c7242a0a4a5
6983225: libjvm_db.so is not imported into solaris-x86 builds, and libjvm_dtrace.so not imported at all.
kamg
parents:
5506
diff
changeset
|
61 |
JVMDTRACE_NAME = $(LIB_PREFIX)jvm$(DTRACE_SUFFIX).$(LIBRARY_SUFFIX) |
2 | 62 |
|
10603
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
63 |
JVM_DEBUGINFO_NAME = $(LIB_PREFIX)jvm.debuginfo |
12293
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
64 |
JVM_DIZ_NAME = $(LIB_PREFIX)jvm.diz |
10603
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
65 |
LIBJSIG_DEBUGINFO_NAME = $(LIB_PREFIX)jsig.debuginfo |
12293
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
66 |
LIBJSIG_DIZ_NAME = $(LIB_PREFIX)jsig.diz |
10603
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
67 |
JVMDB_DEBUGINFO_NAME = $(LIB_PREFIX)jvm$(DB_SUFFIX).debuginfo |
12293
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
68 |
JVMDB_DIZ_NAME = $(LIB_PREFIX)jvm$(DB_SUFFIX).diz |
10603
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
69 |
JVMDTRACE_DEBUGINFO_NAME = $(LIB_PREFIX)jvm$(DTRACE_SUFFIX).debuginfo |
12293
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
70 |
JVMDTRACE_DIZ_NAME = $(LIB_PREFIX)jvm$(DTRACE_SUFFIX).diz |
10603
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
71 |
|
2 | 72 |
CLASSSHARINGDATA_DIR = $(BUILDDIR)/tools/sharing |
73 |
||
74 |
# Needed to do file copy |
|
75 |
ABS_BUILDDIR :=$(call FullPath,$(BUILDDIR)) |
|
76 |
||
4917
c98da2209f8c
6915413: Module build: building of specified jdk components instead of all
mchung
parents:
4665
diff
changeset
|
77 |
SUBDIRS_desktop = fonts |
c98da2209f8c
6915413: Module build: building of specified jdk components instead of all
mchung
parents:
4665
diff
changeset
|
78 |
SUBDIRS_tools = sajdi |
c98da2209f8c
6915413: Module build: building of specified jdk components instead of all
mchung
parents:
4665
diff
changeset
|
79 |
include $(BUILDDIR)/common/Subdirs.gmk |
c98da2209f8c
6915413: Module build: building of specified jdk components instead of all
mchung
parents:
4665
diff
changeset
|
80 |
|
4665
d14dc3d9e1fa
6911737: Module build: generate modules with native libraries and any other files not in jar
mchung
parents:
4340
diff
changeset
|
81 |
all clean clobber:: |
d14dc3d9e1fa
6911737: Module build: generate modules with native libraries and any other files not in jar
mchung
parents:
4340
diff
changeset
|
82 |
$(SUBDIRS-loop) |
d14dc3d9e1fa
6911737: Module build: generate modules with native libraries and any other files not in jar
mchung
parents:
4340
diff
changeset
|
83 |
|
d14dc3d9e1fa
6911737: Module build: generate modules with native libraries and any other files not in jar
mchung
parents:
4340
diff
changeset
|
84 |
all:: build |
2 | 85 |
|
86 |
# List of files created here or coming from BUILDDIR area (this workspace) |
|
87 |
INTERNAL_IMPORT_LIST = $(LIBDIR)/classlist |
|
88 |
||
89 |
# List of files coming from outside this workspace |
|
8792
cd1dceb2d665
7027897: Build support for client-VM only configurations
dholmes
parents:
8018
diff
changeset
|
90 |
ifndef BUILD_CLIENT_ONLY |
cd1dceb2d665
7027897: Build support for client-VM only configurations
dholmes
parents:
8018
diff
changeset
|
91 |
IMPORT_LIST = $(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVM_NAME) \ |
cd1dceb2d665
7027897: Build support for client-VM only configurations
dholmes
parents:
8018
diff
changeset
|
92 |
$(LIB_LOCATION)/$(SERVER_LOCATION)/Xusage.txt |
12293
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
93 |
ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
94 |
ifeq ($(ZIP_DEBUGINFO_FILES),1) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
95 |
# the import JDK may not contain .diz files |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
96 |
ifneq ($(wildcard $(HOTSPOT_SERVER_PATH)/$(JVM_DIZ_NAME)),) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
97 |
IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVM_DIZ_NAME) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
98 |
endif |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
99 |
else |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
100 |
# the import JDK may not contain .debuginfo files |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
101 |
ifneq ($(wildcard $(HOTSPOT_SERVER_PATH)/$(JVM_DEBUGINFO_NAME)),) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
102 |
IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVM_DEBUGINFO_NAME) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
103 |
endif |
10603
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
104 |
endif |
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
105 |
endif |
8792
cd1dceb2d665
7027897: Build support for client-VM only configurations
dholmes
parents:
8018
diff
changeset
|
106 |
else |
cd1dceb2d665
7027897: Build support for client-VM only configurations
dholmes
parents:
8018
diff
changeset
|
107 |
IMPORT_LIST = |
cd1dceb2d665
7027897: Build support for client-VM only configurations
dholmes
parents:
8018
diff
changeset
|
108 |
endif |
2 | 109 |
|
4111
ffc9c33335f4
6891677: java/build integrate zero assembler JDK changes
gbenson
parents:
3288
diff
changeset
|
110 |
# Hotspot client is only available on 32-bit non-Zero builds |
ffc9c33335f4
6891677: java/build integrate zero assembler JDK changes
gbenson
parents:
3288
diff
changeset
|
111 |
ifneq ($(ZERO_BUILD), true) |
2 | 112 |
ifeq ($(ARCH_DATA_MODEL), 32) |
113 |
IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVM_NAME) \ |
|
114 |
$(LIB_LOCATION)/$(CLIENT_LOCATION)/Xusage.txt |
|
12293
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
115 |
ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
116 |
ifeq ($(ZIP_DEBUGINFO_FILES),1) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
117 |
# the import JDK may not contain .diz files |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
118 |
ifneq ($(wildcard $(HOTSPOT_CLIENT_PATH)/$(JVM_DIZ_NAME)),) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
119 |
IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVM_DIZ_NAME) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
120 |
endif |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
121 |
else |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
122 |
# the import JDK may not contain .debuginfo files |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
123 |
ifneq ($(wildcard $(HOTSPOT_CLIENT_PATH)/$(JVM_DEBUGINFO_NAME)),) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
124 |
IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVM_DEBUGINFO_NAME) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
125 |
endif |
10603
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
126 |
endif |
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
127 |
endif |
2 | 128 |
endif |
4111
ffc9c33335f4
6891677: java/build integrate zero assembler JDK changes
gbenson
parents:
3288
diff
changeset
|
129 |
endif |
2 | 130 |
|
131 |
ifeq ($(PLATFORM), windows) |
|
132 |
# Windows vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv Windows |
|
133 |
||
134 |
IMPORT_LIST += $(MS_RUNTIME_LIBRARIES:%=$(BINDIR)/%) |
|
135 |
||
1776
33e9405ab91b
6754862: jdk/src/windows/bin/java_md.c: hardcoded reference to msvcr71.dll
tbell
parents:
2
diff
changeset
|
136 |
$(BINDIR)/$(MSVCRNN_DLL): $(MSVCRNN_DLL_PATH)/$(MSVCRNN_DLL) |
2 | 137 |
$(install-import-file) |
4665
d14dc3d9e1fa
6911737: Module build: generate modules with native libraries and any other files not in jar
mchung
parents:
4340
diff
changeset
|
138 |
$(call chmod-file, a+x) |
2 | 139 |
|
140 |
# Get the hotspot .map and .pdb files for client and server |
|
8792
cd1dceb2d665
7027897: Build support for client-VM only configurations
dholmes
parents:
8018
diff
changeset
|
141 |
ifndef BUILD_CLIENT_ONLY |
12293
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
142 |
IMPORT_LIST += $(LIBDIR)/$(JVMLIB_NAME) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
143 |
ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
144 |
ifeq ($(ZIP_DEBUGINFO_FILES),1) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
145 |
# the import JDK may not contain .diz files |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
146 |
ifneq ($(wildcard $(HOTSPOT_SERVER_PATH)/$(JVM_DIZ_NAME)),) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
147 |
IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVM_DIZ_NAME) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
148 |
endif |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
149 |
else |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
150 |
# the import JDK may not contain .pdb files |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
151 |
ifneq ($(wildcard $(HOTSPOT_SERVER_PATH)/$(JVMPDB_NAME)),) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
152 |
# assume .map file is present if .pdb file is preset |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
153 |
IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMMAP_NAME) \ |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
154 |
$(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMPDB_NAME) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
155 |
endif |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
156 |
endif |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
157 |
endif |
8792
cd1dceb2d665
7027897: Build support for client-VM only configurations
dholmes
parents:
8018
diff
changeset
|
158 |
endif |
2 | 159 |
|
3111
fefdeafb7ab9
6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
herrick
parents:
2301
diff
changeset
|
160 |
# Add .map and .pdb files to the import path for client and kernel VMs. |
fefdeafb7ab9
6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
herrick
parents:
2301
diff
changeset
|
161 |
# These are only available on 32-bit windows builds. |
2 | 162 |
ifeq ($(ARCH_DATA_MODEL), 32) |
12293
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
163 |
ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
164 |
ifeq ($(ZIP_DEBUGINFO_FILES),1) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
165 |
# the import JDK may not contain .diz files |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
166 |
ifneq ($(wildcard $(HOTSPOT_CLIENT_PATH)/$(JVM_DIZ_NAME)),) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
167 |
IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVM_DIZ_NAME) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
168 |
endif |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
169 |
else |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
170 |
# the import JDK may not contain .pdb files |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
171 |
ifneq ($(wildcard $(HOTSPOT_CLIENT_PATH)/$(JVMPDB_NAME)),) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
172 |
# assume .map file is present if .pdb file is preset |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
173 |
IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMMAP_NAME) \ |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
174 |
$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMPDB_NAME) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
175 |
endif |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
176 |
endif |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
177 |
ifeq ($(DO_KERNEL), true) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
178 |
ifeq ($(ZIP_DEBUGINFO_FILES),1) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
179 |
# the import JDK may not contain .diz files |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
180 |
ifneq ($(wildcard $(HOTSPOT_KERNEL_PATH)/$(JVM_DIZ_NAME)),) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
181 |
IMPORT_LIST += $(LIB_LOCATION)/$(KERNEL_LOCATION)/$(JVM_DIZ_NAME) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
182 |
endif |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
183 |
else |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
184 |
# the import JDK may not contain .pdb files |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
185 |
ifneq ($(wildcard $(HOTSPOT_KERNEL_PATH)/$(JVMPDB_NAME)),) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
186 |
# assume .map file is present if .pdb file is preset |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
187 |
IMPORT_LIST += $(LIB_LOCATION)/$(KERNEL_LOCATION)/$(JVMMAP_NAME) \ |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
188 |
$(LIB_LOCATION)/$(KERNEL_LOCATION)/$(JVMPDB_NAME) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
189 |
endif |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
190 |
endif |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
191 |
endif |
3114
f503507dcce5
6853152: JDK 7 cannot build w/o ALT_HOTSPOT_KERNEL_PATH set. - still broken
herrick
parents:
3111
diff
changeset
|
192 |
endif |
2 | 193 |
endif |
194 |
||
195 |
$(LIBDIR)/$(JVMLIB_NAME): $(HOTSPOT_LIB_PATH)/$(JVMLIB_NAME) |
|
196 |
$(install-import-file) |
|
197 |
||
198 |
# it is OK for the .map and .pdb files to not exist, so do not force a |
|
199 |
# dependency on them from the bootstrap location, and allow the copy to fail. |
|
200 |
$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMMAP_NAME): |
|
201 |
@$(prep-target) |
|
202 |
-$(CP) $(HOTSPOT_CLIENT_PATH)/$(JVMMAP_NAME) $@ |
|
203 |
||
3111
fefdeafb7ab9
6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
herrick
parents:
2301
diff
changeset
|
204 |
$(LIB_LOCATION)/$(KERNEL_LOCATION)/$(JVMMAP_NAME): |
fefdeafb7ab9
6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
herrick
parents:
2301
diff
changeset
|
205 |
@$(prep-target) |
fefdeafb7ab9
6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
herrick
parents:
2301
diff
changeset
|
206 |
-$(CP) $(HOTSPOT_KERNEL_PATH)/$(JVMMAP_NAME) $@ |
fefdeafb7ab9
6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
herrick
parents:
2301
diff
changeset
|
207 |
|
8792
cd1dceb2d665
7027897: Build support for client-VM only configurations
dholmes
parents:
8018
diff
changeset
|
208 |
ifndef BUILD_CLIENT_ONLY |
2 | 209 |
$(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMMAP_NAME): |
210 |
@$(prep-target) |
|
211 |
-$(CP) $(HOTSPOT_SERVER_PATH)/$(JVMMAP_NAME) $@ |
|
8792
cd1dceb2d665
7027897: Build support for client-VM only configurations
dholmes
parents:
8018
diff
changeset
|
212 |
endif |
2 | 213 |
|
214 |
$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMPDB_NAME): |
|
215 |
@$(prep-target) |
|
216 |
-$(CP) $(HOTSPOT_CLIENT_PATH)/$(JVMPDB_NAME) $@ |
|
217 |
||
3111
fefdeafb7ab9
6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
herrick
parents:
2301
diff
changeset
|
218 |
$(LIB_LOCATION)/$(KERNEL_LOCATION)/$(JVMPDB_NAME): |
fefdeafb7ab9
6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
herrick
parents:
2301
diff
changeset
|
219 |
@$(prep-target) |
fefdeafb7ab9
6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
herrick
parents:
2301
diff
changeset
|
220 |
-$(CP) $(HOTSPOT_KERNEL_PATH)/$(JVMPDB_NAME) $@ |
fefdeafb7ab9
6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
herrick
parents:
2301
diff
changeset
|
221 |
|
12293
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
222 |
$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVM_DIZ_NAME): |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
223 |
@$(prep-target) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
224 |
-$(CP) $(HOTSPOT_CLIENT_PATH)/$(JVM_DIZ_NAME) $@ |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
225 |
|
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
226 |
$(LIB_LOCATION)/$(KERNEL_LOCATION)/$(JVM_DIZ_NAME): |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
227 |
@$(prep-target) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
228 |
-$(CP) $(HOTSPOT_KERNEL_PATH)/$(JVM_DIZ_NAME) $@ |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
229 |
|
8792
cd1dceb2d665
7027897: Build support for client-VM only configurations
dholmes
parents:
8018
diff
changeset
|
230 |
ifndef BUILD_CLIENT_ONLY |
2 | 231 |
$(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMPDB_NAME): |
232 |
@$(prep-target) |
|
233 |
-$(CP) $(HOTSPOT_SERVER_PATH)/$(JVMPDB_NAME) $@ |
|
12293
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
234 |
|
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
235 |
$(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVM_DIZ_NAME): |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
236 |
@$(prep-target) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
237 |
-$(CP) $(HOTSPOT_SERVER_PATH)/$(JVM_DIZ_NAME) $@ |
8792
cd1dceb2d665
7027897: Build support for client-VM only configurations
dholmes
parents:
8018
diff
changeset
|
238 |
endif |
2 | 239 |
|
240 |
# Windows ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Windows |
|
241 |
else # PLATFORM |
|
242 |
# NOT Windows vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv NOT Windows |
|
243 |
||
8792
cd1dceb2d665
7027897: Build support for client-VM only configurations
dholmes
parents:
8018
diff
changeset
|
244 |
IMPORT_LIST += $(LIB_LOCATION)/$(LIBJSIG_NAME) |
12293
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
245 |
ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
246 |
ifeq ($(ZIP_DEBUGINFO_FILES),1) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
247 |
# the import JDK may not contain .diz files |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
248 |
ifneq ($(wildcard $(HOTSPOT_IMPORT_PATH)/$(ARCH_VM_SUBDIR)/$(LIBJSIG_DIZ_NAME)),) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
249 |
IMPORT_LIST += $(LIB_LOCATION)/$(LIBJSIG_DIZ_NAME) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
250 |
endif |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
251 |
else |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
252 |
# the import JDK may not contain .debuginfo files |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
253 |
ifneq ($(wildcard $(HOTSPOT_IMPORT_PATH)/$(ARCH_VM_SUBDIR)/$(LIBJSIG_DEBUGINFO_NAME)),) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
254 |
IMPORT_LIST += $(LIB_LOCATION)/$(LIBJSIG_DEBUGINFO_NAME) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
255 |
endif |
10603
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
256 |
endif |
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
257 |
endif |
8792
cd1dceb2d665
7027897: Build support for client-VM only configurations
dholmes
parents:
8018
diff
changeset
|
258 |
ifndef BUILD_CLIENT_ONLY |
cd1dceb2d665
7027897: Build support for client-VM only configurations
dholmes
parents:
8018
diff
changeset
|
259 |
IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/$(LIBJSIG_NAME) |
12293
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
260 |
ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
261 |
ifeq ($(ZIP_DEBUGINFO_FILES),1) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
262 |
# the import JDK may not contain the target of the symlink |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
263 |
ifneq ($(wildcard $(HOTSPOT_IMPORT_PATH)/$(ARCH_VM_SUBDIR)/$(LIBJSIG_DIZ_NAME)),) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
264 |
# check for the .diz file, but create the .debuginfo link |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
265 |
IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/$(LIBJSIG_DEBUGINFO_NAME) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
266 |
endif |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
267 |
else |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
268 |
# the import JDK may not contain the target of the symlink |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
269 |
ifneq ($(wildcard $(HOTSPOT_IMPORT_PATH)/$(ARCH_VM_SUBDIR)/$(LIBJSIG_DEBUGINFO_NAME)),) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
270 |
IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/$(LIBJSIG_DEBUGINFO_NAME) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
271 |
endif |
10603
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
272 |
endif |
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
273 |
endif |
8792
cd1dceb2d665
7027897: Build support for client-VM only configurations
dholmes
parents:
8018
diff
changeset
|
274 |
endif |
2 | 275 |
|
276 |
ifeq ($(PLATFORM), solaris) |
|
8792
cd1dceb2d665
7027897: Build support for client-VM only configurations
dholmes
parents:
8018
diff
changeset
|
277 |
ifndef BUILD_CLIENT_ONLY |
cd1dceb2d665
7027897: Build support for client-VM only configurations
dholmes
parents:
8018
diff
changeset
|
278 |
IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMDB_NAME) |
12293
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
279 |
ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
280 |
ifeq ($(ZIP_DEBUGINFO_FILES),1) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
281 |
# the import JDK may not contain .diz files |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
282 |
ifneq ($(wildcard $(HOTSPOT_SERVER_PATH)/$(JVMDB_DIZ_NAME)),) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
283 |
IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMDB_DIZ_NAME) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
284 |
endif |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
285 |
else |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
286 |
# the import JDK may not contain .debuginfo files |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
287 |
ifneq ($(wildcard $(HOTSPOT_SERVER_PATH)/$(JVMDB_DEBUGINFO_NAME)),) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
288 |
IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMDB_DEBUGINFO_NAME) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
289 |
endif |
10603
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
290 |
endif |
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
291 |
endif |
8792
cd1dceb2d665
7027897: Build support for client-VM only configurations
dholmes
parents:
8018
diff
changeset
|
292 |
# The conditional can be removed when import JDKs contain these files. |
cd1dceb2d665
7027897: Build support for client-VM only configurations
dholmes
parents:
8018
diff
changeset
|
293 |
ifneq ($(wildcard $(HOTSPOT_SERVER_PATH)/$(JVMDTRACE_NAME)),) |
cd1dceb2d665
7027897: Build support for client-VM only configurations
dholmes
parents:
8018
diff
changeset
|
294 |
IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMDTRACE_NAME) |
12293
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
295 |
ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
296 |
ifeq ($(ZIP_DEBUGINFO_FILES),1) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
297 |
# the import JDK may not contain .diz files |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
298 |
ifneq ($(wildcard $(HOTSPOT_SERVER_PATH)/$(JVMDTRACE_DIZ_NAME)),) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
299 |
IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMDTRACE_DIZ_NAME) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
300 |
endif |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
301 |
else |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
302 |
# the import JDK may not contain .debuginfo files |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
303 |
ifneq ($(wildcard $(HOTSPOT_SERVER_PATH)/$(JVMDTRACE_DEBUGINFO_NAME)),) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
304 |
IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMDTRACE_DEBUGINFO_NAME) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
305 |
endif |
10603
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
306 |
endif |
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
307 |
endif |
8792
cd1dceb2d665
7027897: Build support for client-VM only configurations
dholmes
parents:
8018
diff
changeset
|
308 |
else |
cd1dceb2d665
7027897: Build support for client-VM only configurations
dholmes
parents:
8018
diff
changeset
|
309 |
$(warning WARNING: $(HOTSPOT_SERVER_PATH)/$(JVMDB_NAME) not found!) |
cd1dceb2d665
7027897: Build support for client-VM only configurations
dholmes
parents:
8018
diff
changeset
|
310 |
endif |
cd1dceb2d665
7027897: Build support for client-VM only configurations
dholmes
parents:
8018
diff
changeset
|
311 |
endif |
cd1dceb2d665
7027897: Build support for client-VM only configurations
dholmes
parents:
8018
diff
changeset
|
312 |
endif |
2 | 313 |
|
4111
ffc9c33335f4
6891677: java/build integrate zero assembler JDK changes
gbenson
parents:
3288
diff
changeset
|
314 |
ifneq ($(ZERO_BUILD), true) |
2 | 315 |
ifeq ($(ARCH_DATA_MODEL), 32) |
316 |
||
317 |
IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(LIBJSIG_NAME) |
|
12293
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
318 |
ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
319 |
ifeq ($(ZIP_DEBUGINFO_FILES),1) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
320 |
# the import JDK may not contain the target of the symlink |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
321 |
ifneq ($(wildcard $(HOTSPOT_IMPORT_PATH)/$(ARCH_VM_SUBDIR)/$(LIBJSIG_DIZ_NAME)),) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
322 |
# check for the .diz file, but create the .debuginfo link |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
323 |
IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(LIBJSIG_DEBUGINFO_NAME) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
324 |
endif |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
325 |
else |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
326 |
# the import JDK may not contain the target of the symlink |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
327 |
ifneq ($(wildcard $(HOTSPOT_IMPORT_PATH)/$(ARCH_VM_SUBDIR)/$(LIBJSIG_DEBUGINFO_NAME)),) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
328 |
IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(LIBJSIG_DEBUGINFO_NAME) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
329 |
endif |
10603
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
330 |
endif |
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
331 |
endif |
2 | 332 |
|
333 |
ifeq ($(PLATFORM), solaris) |
|
334 |
# solaris vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv solaris |
|
335 |
||
6378
5c7242a0a4a5
6983225: libjvm_db.so is not imported into solaris-x86 builds, and libjvm_dtrace.so not imported at all.
kamg
parents:
5506
diff
changeset
|
336 |
IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMDB_NAME) |
12293
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
337 |
ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
338 |
ifeq ($(ZIP_DEBUGINFO_FILES),1) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
339 |
# the import JDK may not contain .diz files |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
340 |
ifneq ($(wildcard $(HOTSPOT_CLIENT_PATH)/$(JVMDB_DIZ_NAME)),) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
341 |
IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMDB_DIZ_NAME) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
342 |
endif |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
343 |
else |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
344 |
# the import JDK may not contain .debuginfo files |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
345 |
ifneq ($(wildcard $(HOTSPOT_CLIENT_PATH)/$(JVMDB_DEBUGINFO_NAME)),) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
346 |
IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMDB_DEBUGINFO_NAME) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
347 |
endif |
10603
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
348 |
endif |
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
349 |
endif |
6378
5c7242a0a4a5
6983225: libjvm_db.so is not imported into solaris-x86 builds, and libjvm_dtrace.so not imported at all.
kamg
parents:
5506
diff
changeset
|
350 |
|
5c7242a0a4a5
6983225: libjvm_db.so is not imported into solaris-x86 builds, and libjvm_dtrace.so not imported at all.
kamg
parents:
5506
diff
changeset
|
351 |
# The conditional can be removed when import JDKs contain these files. |
5c7242a0a4a5
6983225: libjvm_db.so is not imported into solaris-x86 builds, and libjvm_dtrace.so not imported at all.
kamg
parents:
5506
diff
changeset
|
352 |
ifneq ($(wildcard $(HOTSPOT_CLIENT_PATH)/$(JVMDTRACE_NAME)),) |
5c7242a0a4a5
6983225: libjvm_db.so is not imported into solaris-x86 builds, and libjvm_dtrace.so not imported at all.
kamg
parents:
5506
diff
changeset
|
353 |
IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMDTRACE_NAME) |
5c7242a0a4a5
6983225: libjvm_db.so is not imported into solaris-x86 builds, and libjvm_dtrace.so not imported at all.
kamg
parents:
5506
diff
changeset
|
354 |
IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/64/$(JVMDB_NAME) |
5c7242a0a4a5
6983225: libjvm_db.so is not imported into solaris-x86 builds, and libjvm_dtrace.so not imported at all.
kamg
parents:
5506
diff
changeset
|
355 |
IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/64/$(JVMDTRACE_NAME) |
12293
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
356 |
ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
357 |
ifeq ($(ZIP_DEBUGINFO_FILES),1) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
358 |
# the import JDK may not contain .diz files |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
359 |
ifneq ($(wildcard $(HOTSPOT_CLIENT_PATH)/$(JVMDTRACE_DIZ_NAME)),) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
360 |
IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMDTRACE_DIZ_NAME) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
361 |
IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/64/$(JVMDB_DIZ_NAME) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
362 |
IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/64/$(JVMDTRACE_DIZ_NAME) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
363 |
endif |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
364 |
else |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
365 |
# the import JDK may not contain .debuginfo files |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
366 |
ifneq ($(wildcard $(HOTSPOT_CLIENT_PATH)/$(JVMDTRACE_DEBUGINFO_NAME)),) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
367 |
IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMDTRACE_DEBUGINFO_NAME) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
368 |
IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/64/$(JVMDB_DEBUGINFO_NAME) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
369 |
IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/64/$(JVMDTRACE_DEBUGINFO_NAME) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
370 |
endif |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
371 |
endif |
10603
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
372 |
endif |
6378
5c7242a0a4a5
6983225: libjvm_db.so is not imported into solaris-x86 builds, and libjvm_dtrace.so not imported at all.
kamg
parents:
5506
diff
changeset
|
373 |
else |
5c7242a0a4a5
6983225: libjvm_db.so is not imported into solaris-x86 builds, and libjvm_dtrace.so not imported at all.
kamg
parents:
5506
diff
changeset
|
374 |
$(warning WARNING: $(HOTSPOT_CLIENT_PATH)/$(JVMDTRACE_NAME) not found!) |
2 | 375 |
endif |
376 |
||
8792
cd1dceb2d665
7027897: Build support for client-VM only configurations
dholmes
parents:
8018
diff
changeset
|
377 |
ifndef BUILD_CLIENT_ONLY |
cd1dceb2d665
7027897: Build support for client-VM only configurations
dholmes
parents:
8018
diff
changeset
|
378 |
# The conditional can be removed when import JDKs contain these files. |
cd1dceb2d665
7027897: Build support for client-VM only configurations
dholmes
parents:
8018
diff
changeset
|
379 |
ifneq ($(wildcard $(HOTSPOT_SERVER_PATH)/64/$(JVMDB_NAME)),) |
cd1dceb2d665
7027897: Build support for client-VM only configurations
dholmes
parents:
8018
diff
changeset
|
380 |
IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/64/$(JVMDB_NAME) |
12293
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
381 |
ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
382 |
ifeq ($(ZIP_DEBUGINFO_FILES),1) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
383 |
# the import JDK may not contain .diz files |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
384 |
ifneq ($(wildcard $(HOTSPOT_SERVER_PATH)/64/$(JVMDB_DIZ_NAME)),) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
385 |
IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/64/$(JVMDB_DIZ_NAME) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
386 |
endif |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
387 |
else |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
388 |
# the import JDK may not contain .debuginfo files |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
389 |
ifneq ($(wildcard $(HOTSPOT_SERVER_PATH)/64/$(JVMDB_DEBUGINFO_NAME)),) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
390 |
IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/64/$(JVMDB_DEBUGINFO_NAME) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
391 |
endif |
10603
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
392 |
endif |
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
393 |
endif |
8792
cd1dceb2d665
7027897: Build support for client-VM only configurations
dholmes
parents:
8018
diff
changeset
|
394 |
else |
cd1dceb2d665
7027897: Build support for client-VM only configurations
dholmes
parents:
8018
diff
changeset
|
395 |
$(warning WARNING: $(HOTSPOT_SERVER_PATH)/64/$(JVMDB_NAME) not found!) |
cd1dceb2d665
7027897: Build support for client-VM only configurations
dholmes
parents:
8018
diff
changeset
|
396 |
endif |
2 | 397 |
|
8792
cd1dceb2d665
7027897: Build support for client-VM only configurations
dholmes
parents:
8018
diff
changeset
|
398 |
# The conditional can be removed when import JDKs contain these files. |
cd1dceb2d665
7027897: Build support for client-VM only configurations
dholmes
parents:
8018
diff
changeset
|
399 |
ifneq ($(wildcard $(HOTSPOT_SERVER_PATH)/64/$(JVMDTRACE_NAME)),) |
cd1dceb2d665
7027897: Build support for client-VM only configurations
dholmes
parents:
8018
diff
changeset
|
400 |
IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/64/$(JVMDTRACE_NAME) |
12293
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
401 |
ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
402 |
ifeq ($(ZIP_DEBUGINFO_FILES),1) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
403 |
# the import JDK may not contain .diz files |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
404 |
ifneq ($(wildcard $(HOTSPOT_SERVER_PATH)/64/$(JVMDTRACE_DIZ_NAME)),) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
405 |
IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/64/$(JVMDTRACE_DIZ_NAME) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
406 |
endif |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
407 |
else |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
408 |
# the import JDK may not contain .debuginfo files |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
409 |
ifneq ($(wildcard $(HOTSPOT_SERVER_PATH)/64/$(JVMDTRACE_DEBUGINFO_NAME)),) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
410 |
IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/64/$(JVMDTRACE_DEBUGINFO_NAME) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
411 |
endif |
10603
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
412 |
endif |
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
413 |
endif |
8792
cd1dceb2d665
7027897: Build support for client-VM only configurations
dholmes
parents:
8018
diff
changeset
|
414 |
else |
cd1dceb2d665
7027897: Build support for client-VM only configurations
dholmes
parents:
8018
diff
changeset
|
415 |
$(warning WARNING: $(HOTSPOT_SERVER_PATH)/64/$(JVMDTRACE_NAME) not found!) |
cd1dceb2d665
7027897: Build support for client-VM only configurations
dholmes
parents:
8018
diff
changeset
|
416 |
endif |
2 | 417 |
endif |
418 |
||
419 |
# For backwards compatability, make a link of the 32-bit client JVM to $(LIBDIR) |
|
420 |
IMPORT_LIST += $(LIB_LOCATION)/$(JVM_NAME) |
|
421 |
||
422 |
$(LIB_LOCATION)/$(JVM_NAME): $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVM_NAME) |
|
423 |
@$(prep-target) |
|
424 |
||
425 |
# solaris ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ solaris |
|
426 |
endif # 32bit solaris |
|
427 |
||
428 |
endif # 32bit |
|
429 |
||
4111
ffc9c33335f4
6891677: java/build integrate zero assembler JDK changes
gbenson
parents:
3288
diff
changeset
|
430 |
endif # ZERO_BUILD |
ffc9c33335f4
6891677: java/build integrate zero assembler JDK changes
gbenson
parents:
3288
diff
changeset
|
431 |
|
2 | 432 |
# NOT Windows ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ NOT Windows |
433 |
||
434 |
endif # PLATFORM |
|
435 |
||
436 |
$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVM_NAME): $(HOTSPOT_CLIENT_PATH)/$(JVM_NAME) |
|
437 |
$(install-import-file) |
|
8008
753c38f4af83
6975326: Problem in install/make/rebase/Makefile, grep on empty pattern
ohair
parents:
7668
diff
changeset
|
438 |
@$(call binary_file_verification,$@) |
2 | 439 |
|
12293
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
440 |
ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
441 |
ifeq ($(ZIP_DEBUGINFO_FILES),1) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
442 |
$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVM_DIZ_NAME): $(HOTSPOT_CLIENT_PATH)/$(JVM_DIZ_NAME) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
443 |
$(install-import-file) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
444 |
else |
10603
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
445 |
$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVM_DEBUGINFO_NAME): $(HOTSPOT_CLIENT_PATH)/$(JVM_DEBUGINFO_NAME) |
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
446 |
$(install-import-file) |
12293
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
447 |
endif |
10603
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
448 |
endif |
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
449 |
|
3111
fefdeafb7ab9
6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
herrick
parents:
2301
diff
changeset
|
450 |
$(LIB_LOCATION)/$(KERNEL_LOCATION)/$(JVM_NAME): $(HOTSPOT_KERNEL_PATH)/$(JVM_NAME) |
fefdeafb7ab9
6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
herrick
parents:
2301
diff
changeset
|
451 |
$(install-file) |
8008
753c38f4af83
6975326: Problem in install/make/rebase/Makefile, grep on empty pattern
ohair
parents:
7668
diff
changeset
|
452 |
@$(call binary_file_verification,$@) |
3111
fefdeafb7ab9
6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
herrick
parents:
2301
diff
changeset
|
453 |
|
4062
203caeb1e9a8
6896472: Missing libjsig.so causes jdk build failure
ohair
parents:
3288
diff
changeset
|
454 |
$(LIB_LOCATION)/$(LIBJSIG_NAME): $(HOTSPOT_IMPORT_PATH)/$(ARCH_VM_SUBDIR)/$(LIBJSIG_NAME) |
2 | 455 |
$(install-import-file) |
8008
753c38f4af83
6975326: Problem in install/make/rebase/Makefile, grep on empty pattern
ohair
parents:
7668
diff
changeset
|
456 |
@$(call binary_file_verification,$@) |
2 | 457 |
|
12293
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
458 |
ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
459 |
ifeq ($(ZIP_DEBUGINFO_FILES),1) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
460 |
$(LIB_LOCATION)/$(LIBJSIG_DIZ_NAME): $(HOTSPOT_IMPORT_PATH)/$(ARCH_VM_SUBDIR)/$(LIBJSIG_DIZ_NAME) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
461 |
$(install-import-file) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
462 |
else |
10603
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
463 |
$(LIB_LOCATION)/$(LIBJSIG_DEBUGINFO_NAME): $(HOTSPOT_IMPORT_PATH)/$(ARCH_VM_SUBDIR)/$(LIBJSIG_DEBUGINFO_NAME) |
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
464 |
$(install-import-file) |
12293
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
465 |
endif |
10603
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
466 |
endif |
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
467 |
|
8792
cd1dceb2d665
7027897: Build support for client-VM only configurations
dholmes
parents:
8018
diff
changeset
|
468 |
ifndef BUILD_CLIENT_ONLY |
2 | 469 |
$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(LIBJSIG_NAME) \ |
470 |
$(LIB_LOCATION)/$(SERVER_LOCATION)/$(LIBJSIG_NAME): |
|
471 |
@$(prep-target) |
|
4665
d14dc3d9e1fa
6911737: Module build: generate modules with native libraries and any other files not in jar
mchung
parents:
4340
diff
changeset
|
472 |
$(call install-sym-link, ../$(LIBJSIG_NAME)) |
10603
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
473 |
|
12293
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
474 |
ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
475 |
# we don't create a symlink to a libjsig.diz file |
10603
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
476 |
$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(LIBJSIG_DEBUGINFO_NAME) \ |
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
477 |
$(LIB_LOCATION)/$(SERVER_LOCATION)/$(LIBJSIG_DEBUGINFO_NAME): |
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
478 |
@$(prep-target) |
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
479 |
$(call install-sym-link, ../$(LIBJSIG_DEBUGINFO_NAME)) |
12293
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
480 |
endif |
8792
cd1dceb2d665
7027897: Build support for client-VM only configurations
dholmes
parents:
8018
diff
changeset
|
481 |
else |
cd1dceb2d665
7027897: Build support for client-VM only configurations
dholmes
parents:
8018
diff
changeset
|
482 |
$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(LIBJSIG_NAME): |
cd1dceb2d665
7027897: Build support for client-VM only configurations
dholmes
parents:
8018
diff
changeset
|
483 |
@$(prep-target) |
cd1dceb2d665
7027897: Build support for client-VM only configurations
dholmes
parents:
8018
diff
changeset
|
484 |
$(call install-sym-link, ../$(LIBJSIG_NAME)) |
10603
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
485 |
|
12293
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
486 |
ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
487 |
# we don't create a symlink to a libjsig.diz file |
10603
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
488 |
$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(LIBJSIG_DEBUGINFO_NAME): |
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
489 |
@$(prep-target) |
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
490 |
$(call install-sym-link, ../$(LIBJSIG_DEBUGINFO_NAME)) |
12293
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
491 |
endif |
8792
cd1dceb2d665
7027897: Build support for client-VM only configurations
dholmes
parents:
8018
diff
changeset
|
492 |
endif |
2 | 493 |
|
494 |
$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMDB_NAME): $(HOTSPOT_CLIENT_PATH)/$(JVMDB_NAME) |
|
495 |
$(install-import-file) |
|
8008
753c38f4af83
6975326: Problem in install/make/rebase/Makefile, grep on empty pattern
ohair
parents:
7668
diff
changeset
|
496 |
@$(call binary_file_verification,$@) |
2 | 497 |
|
498 |
$(LIB_LOCATION)/$(CLIENT_LOCATION)/64/$(JVMDB_NAME): $(HOTSPOT_CLIENT_PATH)/64/$(JVMDB_NAME) |
|
499 |
$(install-import-file) |
|
8008
753c38f4af83
6975326: Problem in install/make/rebase/Makefile, grep on empty pattern
ohair
parents:
7668
diff
changeset
|
500 |
@$(call binary_file_verification,$@) |
2 | 501 |
|
12293
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
502 |
ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
503 |
ifeq ($(ZIP_DEBUGINFO_FILES),1) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
504 |
$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMDB_DIZ_NAME): $(HOTSPOT_CLIENT_PATH)/$(JVMDB_DIZ_NAME) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
505 |
$(install-import-file) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
506 |
|
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
507 |
$(LIB_LOCATION)/$(CLIENT_LOCATION)/64/$(JVMDB_DIZ_NAME): $(HOTSPOT_CLIENT_PATH)/64/$(JVMDB_DIZ_NAME) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
508 |
$(install-import-file) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
509 |
else |
10603
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
510 |
$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMDB_DEBUGINFO_NAME): $(HOTSPOT_CLIENT_PATH)/$(JVMDB_DEBUGINFO_NAME) |
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
511 |
$(install-import-file) |
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
512 |
|
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
513 |
$(LIB_LOCATION)/$(CLIENT_LOCATION)/64/$(JVMDB_DEBUGINFO_NAME): $(HOTSPOT_CLIENT_PATH)/64/$(JVMDB_DEBUGINFO_NAME) |
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
514 |
$(install-import-file) |
12293
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
515 |
endif |
10603
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
516 |
endif |
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
517 |
|
8792
cd1dceb2d665
7027897: Build support for client-VM only configurations
dholmes
parents:
8018
diff
changeset
|
518 |
ifndef BUILD_CLIENT_ONLY |
2 | 519 |
$(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMDB_NAME): $(HOTSPOT_SERVER_PATH)/$(JVMDB_NAME) |
520 |
$(install-import-file) |
|
8008
753c38f4af83
6975326: Problem in install/make/rebase/Makefile, grep on empty pattern
ohair
parents:
7668
diff
changeset
|
521 |
@$(call binary_file_verification,$@) |
2 | 522 |
|
523 |
$(LIB_LOCATION)/$(SERVER_LOCATION)/64/$(JVMDB_NAME): $(HOTSPOT_SERVER_PATH)/64/$(JVMDB_NAME) |
|
524 |
$(install-import-file) |
|
8008
753c38f4af83
6975326: Problem in install/make/rebase/Makefile, grep on empty pattern
ohair
parents:
7668
diff
changeset
|
525 |
@$(call binary_file_verification,$@) |
10603
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
526 |
|
12293
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
527 |
ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
528 |
ifeq ($(ZIP_DEBUGINFO_FILES),1) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
529 |
$(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMDB_DIZ_NAME): $(HOTSPOT_SERVER_PATH)/$(JVMDB_DIZ_NAME) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
530 |
$(install-import-file) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
531 |
|
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
532 |
$(LIB_LOCATION)/$(SERVER_LOCATION)/64/$(JVMDB_DIZ_NAME): $(HOTSPOT_SERVER_PATH)/64/$(JVMDB_DIZ_NAME) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
533 |
$(install-import-file) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
534 |
else |
10603
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
535 |
$(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMDB_DEBUGINFO_NAME): $(HOTSPOT_SERVER_PATH)/$(JVMDB_DEBUGINFO_NAME) |
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
536 |
$(install-import-file) |
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
537 |
|
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
538 |
$(LIB_LOCATION)/$(SERVER_LOCATION)/64/$(JVMDB_DEBUGINFO_NAME): $(HOTSPOT_SERVER_PATH)/64/$(JVMDB_DEBUGINFO_NAME) |
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
539 |
$(install-import-file) |
12293
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
540 |
endif |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
541 |
endif |
8792
cd1dceb2d665
7027897: Build support for client-VM only configurations
dholmes
parents:
8018
diff
changeset
|
542 |
endif |
2 | 543 |
|
6378
5c7242a0a4a5
6983225: libjvm_db.so is not imported into solaris-x86 builds, and libjvm_dtrace.so not imported at all.
kamg
parents:
5506
diff
changeset
|
544 |
$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMDTRACE_NAME): $(HOTSPOT_CLIENT_PATH)/$(JVMDTRACE_NAME) |
5c7242a0a4a5
6983225: libjvm_db.so is not imported into solaris-x86 builds, and libjvm_dtrace.so not imported at all.
kamg
parents:
5506
diff
changeset
|
545 |
$(install-import-file) |
8008
753c38f4af83
6975326: Problem in install/make/rebase/Makefile, grep on empty pattern
ohair
parents:
7668
diff
changeset
|
546 |
@$(call binary_file_verification,$@) |
6378
5c7242a0a4a5
6983225: libjvm_db.so is not imported into solaris-x86 builds, and libjvm_dtrace.so not imported at all.
kamg
parents:
5506
diff
changeset
|
547 |
|
5c7242a0a4a5
6983225: libjvm_db.so is not imported into solaris-x86 builds, and libjvm_dtrace.so not imported at all.
kamg
parents:
5506
diff
changeset
|
548 |
$(LIB_LOCATION)/$(CLIENT_LOCATION)/64/$(JVMDTRACE_NAME): $(HOTSPOT_CLIENT_PATH)/64/$(JVMDTRACE_NAME) |
5c7242a0a4a5
6983225: libjvm_db.so is not imported into solaris-x86 builds, and libjvm_dtrace.so not imported at all.
kamg
parents:
5506
diff
changeset
|
549 |
$(install-import-file) |
8008
753c38f4af83
6975326: Problem in install/make/rebase/Makefile, grep on empty pattern
ohair
parents:
7668
diff
changeset
|
550 |
@$(call binary_file_verification,$@) |
6378
5c7242a0a4a5
6983225: libjvm_db.so is not imported into solaris-x86 builds, and libjvm_dtrace.so not imported at all.
kamg
parents:
5506
diff
changeset
|
551 |
|
12293
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
552 |
ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
553 |
ifeq ($(ZIP_DEBUGINFO_FILES),1) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
554 |
$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMDTRACE_DIZ_NAME): $(HOTSPOT_CLIENT_PATH)/$(JVMDTRACE_DIZ_NAME) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
555 |
$(install-import-file) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
556 |
|
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
557 |
$(LIB_LOCATION)/$(CLIENT_LOCATION)/64/$(JVMDTRACE_DIZ_NAME): $(HOTSPOT_CLIENT_PATH)/64/$(JVMDTRACE_DIZ_NAME) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
558 |
$(install-import-file) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
559 |
else |
10603
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
560 |
$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMDTRACE_DEBUGINFO_NAME): $(HOTSPOT_CLIENT_PATH)/$(JVMDTRACE_DEBUGINFO_NAME) |
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
561 |
$(install-import-file) |
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
562 |
|
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
563 |
$(LIB_LOCATION)/$(CLIENT_LOCATION)/64/$(JVMDTRACE_DEBUGINFO_NAME): $(HOTSPOT_CLIENT_PATH)/64/$(JVMDTRACE_DEBUGINFO_NAME) |
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
564 |
$(install-import-file) |
12293
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
565 |
endif |
10603
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
566 |
endif |
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
567 |
|
8792
cd1dceb2d665
7027897: Build support for client-VM only configurations
dholmes
parents:
8018
diff
changeset
|
568 |
ifndef BUILD_CLIENT_ONLY |
6378
5c7242a0a4a5
6983225: libjvm_db.so is not imported into solaris-x86 builds, and libjvm_dtrace.so not imported at all.
kamg
parents:
5506
diff
changeset
|
569 |
$(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMDTRACE_NAME): $(HOTSPOT_SERVER_PATH)/$(JVMDTRACE_NAME) |
5c7242a0a4a5
6983225: libjvm_db.so is not imported into solaris-x86 builds, and libjvm_dtrace.so not imported at all.
kamg
parents:
5506
diff
changeset
|
570 |
$(install-import-file) |
8008
753c38f4af83
6975326: Problem in install/make/rebase/Makefile, grep on empty pattern
ohair
parents:
7668
diff
changeset
|
571 |
@$(call binary_file_verification,$@) |
6378
5c7242a0a4a5
6983225: libjvm_db.so is not imported into solaris-x86 builds, and libjvm_dtrace.so not imported at all.
kamg
parents:
5506
diff
changeset
|
572 |
|
5c7242a0a4a5
6983225: libjvm_db.so is not imported into solaris-x86 builds, and libjvm_dtrace.so not imported at all.
kamg
parents:
5506
diff
changeset
|
573 |
$(LIB_LOCATION)/$(SERVER_LOCATION)/64/$(JVMDTRACE_NAME): $(HOTSPOT_SERVER_PATH)/64/$(JVMDTRACE_NAME) |
5c7242a0a4a5
6983225: libjvm_db.so is not imported into solaris-x86 builds, and libjvm_dtrace.so not imported at all.
kamg
parents:
5506
diff
changeset
|
574 |
$(install-import-file) |
8008
753c38f4af83
6975326: Problem in install/make/rebase/Makefile, grep on empty pattern
ohair
parents:
7668
diff
changeset
|
575 |
@$(call binary_file_verification,$@) |
6378
5c7242a0a4a5
6983225: libjvm_db.so is not imported into solaris-x86 builds, and libjvm_dtrace.so not imported at all.
kamg
parents:
5506
diff
changeset
|
576 |
|
2 | 577 |
$(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVM_NAME): $(HOTSPOT_SERVER_PATH)/$(JVM_NAME) |
578 |
$(install-import-file) |
|
8008
753c38f4af83
6975326: Problem in install/make/rebase/Makefile, grep on empty pattern
ohair
parents:
7668
diff
changeset
|
579 |
@$(call binary_file_verification,$@) |
2 | 580 |
|
12293
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
581 |
ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
582 |
ifeq ($(ZIP_DEBUGINFO_FILES),1) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
583 |
$(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMDTRACE_DIZ_NAME): $(HOTSPOT_SERVER_PATH)/$(JVMDTRACE_DIZ_NAME) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
584 |
$(install-import-file) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
585 |
|
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
586 |
$(LIB_LOCATION)/$(SERVER_LOCATION)/64/$(JVMDTRACE_DIZ_NAME): $(HOTSPOT_SERVER_PATH)/64/$(JVMDTRACE_DIZ_NAME) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
587 |
$(install-import-file) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
588 |
|
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
589 |
$(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVM_DIZ_NAME): $(HOTSPOT_SERVER_PATH)/$(JVM_DIZ_NAME) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
590 |
$(install-import-file) |
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
591 |
else |
10603
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
592 |
$(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMDTRACE_DEBUGINFO_NAME): $(HOTSPOT_SERVER_PATH)/$(JVMDTRACE_DEBUGINFO_NAME) |
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
593 |
$(install-import-file) |
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
594 |
|
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
595 |
$(LIB_LOCATION)/$(SERVER_LOCATION)/64/$(JVMDTRACE_DEBUGINFO_NAME): $(HOTSPOT_SERVER_PATH)/64/$(JVMDTRACE_DEBUGINFO_NAME) |
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
596 |
$(install-import-file) |
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
597 |
|
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
598 |
$(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVM_DEBUGINFO_NAME): $(HOTSPOT_SERVER_PATH)/$(JVM_DEBUGINFO_NAME) |
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
599 |
$(install-import-file) |
12293
6c4b13381b81
7136506: FDS: rework jdk repo Full Debug Symbols support
dcubed
parents:
12047
diff
changeset
|
600 |
endif |
10603
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
601 |
endif |
c315c8424ce2
7085944: 3/3 FDS: gdb does not find debug symbols for libjsig link
dcubed
parents:
9035
diff
changeset
|
602 |
|
2 | 603 |
$(LIB_LOCATION)/$(SERVER_LOCATION)/Xusage.txt : $(HOTSPOT_SERVER_PATH)/Xusage.txt |
604 |
$(install-import-file) |
|
8792
cd1dceb2d665
7027897: Build support for client-VM only configurations
dholmes
parents:
8018
diff
changeset
|
605 |
endif |
2 | 606 |
|
607 |
$(LIB_LOCATION)/$(CLIENT_LOCATION)/Xusage.txt : $(HOTSPOT_CLIENT_PATH)/Xusage.txt |
|
608 |
$(install-import-file) |
|
609 |
||
3111
fefdeafb7ab9
6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
herrick
parents:
2301
diff
changeset
|
610 |
$(LIB_LOCATION)/$(KERNEL_LOCATION)/Xusage.txt : $(HOTSPOT_KERNEL_PATH)/Xusage.txt |
fefdeafb7ab9
6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
herrick
parents:
2301
diff
changeset
|
611 |
$(install-file) |
fefdeafb7ab9
6797688: Umbrella: Merge all JDK 6u4 - 6u12 deployment code into JDK7
herrick
parents:
2301
diff
changeset
|
612 |
|
2 | 613 |
# |
7666
7b994e3dd41d
7008723: Remove binary plugs creation and use from openjdk
ohair
parents:
6378
diff
changeset
|
614 |
# Specific to non-OpenJDK building |
2 | 615 |
# |
7666
7b994e3dd41d
7008723: Remove binary plugs creation and use from openjdk
ohair
parents:
6378
diff
changeset
|
616 |
ifndef OPENJDK |
2 | 617 |
|
618 |
INTERNAL_IMPORT_LIST += \ |
|
619 |
$(LIBDIR)/security/US_export_policy.jar \ |
|
620 |
$(LIBDIR)/security/local_policy.jar \ |
|
621 |
$(LIBDIR)/jce.jar |
|
622 |
||
623 |
$(LIBDIR)/jce.jar: \ |
|
624 |
$(BUILDDIR)/closed/tools/crypto/jce/jce.jar |
|
8583
15dea0fdc2ea
7025631: Remove the modules build support from jdk 7
mchung
parents:
8018
diff
changeset
|
625 |
$(install-file) |
2 | 626 |
$(LIBDIR)/security/US_export_policy.jar: \ |
627 |
$(BUILDDIR)/closed/tools/crypto/jce/US_export_policy.jar |
|
628 |
$(install-file) |
|
629 |
$(LIBDIR)/security/local_policy.jar: \ |
|
630 |
$(BUILDDIR)/closed/tools/crypto/jce/local_policy.jar |
|
631 |
$(install-file) |
|
632 |
||
633 |
endif # OPENJDK |
|
634 |
||
635 |
ADDJSUM_JARFILE = $(BUILDTOOLJARDIR)/addjsum.jar |
|
636 |
||
637 |
# Construct classlist file |
|
638 |
$(LIBDIR)/classlist: \ |
|
639 |
$(CLASSSHARINGDATA_DIR)/classlist.$(PLATFORM) \ |
|
640 |
$(ADDJSUM_JARFILE) |
|
641 |
@$(prep-target) |
|
642 |
@$(RM) -f $@.temp |
|
643 |
$(BOOT_JAVA_CMD) -jar $(ADDJSUM_JARFILE) \ |
|
644 |
$(CLASSSHARINGDATA_DIR)/classlist.$(PLATFORM) $@.temp |
|
645 |
$(MV) $@.temp $@ |
|
646 |
||
647 |
# Import internal files (ones that are stashed in this source tree) |
|
648 |
import_internal_files : $(INTERNAL_IMPORT_LIST) |
|
649 |
||
650 |
# Import files from the JDK that we are not building |
|
651 |
import_files: $(IMPORT_LIST) |
|
652 |
||
653 |
# Get component information variables and rules |
|
654 |
include $(BUILDDIR)/common/internal/ImportComponents.gmk |
|
655 |
||
656 |
# Security files we need to import |
|
657 |
SEC_FILES_ZIP=$(ABS_BUILDDIR)/tools/crypto/sec-bin.zip |
|
658 |
SEC_FILES_WIN_ZIP=$(ABS_BUILDDIR)/tools/crypto/sec-windows-bin.zip |
|
659 |
JGSS_WIN32_FILES_ZIP=$(ABS_BUILDDIR)/tools/crypto/jgss-windows-i586-bin.zip |
|
660 |
JGSS_WIN64_FILES_ZIP=$(ABS_BUILDDIR)/tools/crypto/jgss-windows-x64-bin.zip |
|
661 |
||
662 |
# Unzip zip file $2 into directory $1 (if $2 exists) |
|
663 |
# Warning: $2 must be absolute path not relative |
|
664 |
define SecUnzipper |
|
665 |
if [ -f $2 ] ; then \ |
|
666 |
$(MKDIR) -p $1; \ |
|
667 |
$(ECHO) "( $(CD) $1 && $(UNZIP) -o $2 )"; \ |
|
668 |
( $(CD) $1 && $(UNZIP) -o $2 ); \ |
|
669 |
fi |
|
670 |
endef |
|
671 |
||
672 |
# If sec-bin exists, unpack it into the build directory |
|
673 |
# Also, the library recompile build indirectly depends on two SSL classes, |
|
674 |
# so copy those as well FIXUP |
|
675 |
# if sec-windows-bin exists, unpack it into the build directory |
|
676 |
# if JGSS files exists, unpack it into the build directory |
|
677 |
$(TEMPDIR)/security_imported: |
|
678 |
@$(prep-target) |
|
679 |
@$(call SecUnzipper,$(OUTPUTDIR),$(SEC_FILES_ZIP)) |
|
680 |
ifeq ($(PLATFORM), windows) |
|
681 |
@$(call SecUnzipper,$(OUTPUTDIR),$(SEC_FILES_WIN_ZIP)) |
|
682 |
endif |
|
683 |
ifeq ($(PLATFORM), windows) |
|
684 |
ifeq ($(ARCH_DATA_MODEL), 32) |
|
685 |
@$(call SecUnzipper,$(OUTPUTDIR),$(JGSS_WIN32_FILES_ZIP)) |
|
686 |
else |
|
687 |
@$(call SecUnzipper,$(OUTPUTDIR),$(JGSS_WIN64_FILES_ZIP)) |
|
688 |
endif |
|
689 |
endif |
|
690 |
@$(ECHO) "Imported on `$(DATE)`" > $@ |
|
691 |
||
692 |
# Import all files from other components |
|
693 |
$(TEMPDIR)/components_imported: |
|
694 |
@$(prep-target) |
|
695 |
$(call import-component-binaries,$(ABS_OUTPUTDIR)) |
|
696 |
$(call import-component-sources,$(IMPORTSRCDIR)) |
|
697 |
$(call import-component-docs,$(IMPORTDOCDIR)) |
|
698 |
$(call import-component-classes,$(CLASSDESTDIR)) |
|
699 |
@$(ECHO) "Imported on `$(DATE)`" > $@ |
|
700 |
||
701 |
# Do pretty much everything |
|
702 |
build : import_files \ |
|
703 |
import_internal_files \ |
|
704 |
$(TEMPDIR)/components_imported \ |
|
705 |
$(TEMPDIR)/security_imported |
|
706 |
||
707 |
# Clean up what we imported (except for component files) |
|
708 |
clean clobber:: |
|
709 |
$(RM) $(IMPORT_LIST) |
|
710 |
$(RM) $(INTERNAL_IMPORT_LIST) |
|
711 |
$(call import-component-sources-clean,$(IMPORTSRCDIR)) |
|
712 |
$(call import-component-docs-clean,$(IMPORTDOCDIR)) |
|
713 |
$(call import-component-classes-clean,$(CLASSDESTDIR)) |
|
714 |
$(RM) $(TEMPDIR)/components_imported |
|
715 |
$(RM) $(TEMPDIR)/security_imported |
|
716 |
||
717 |
.PHONY: import_files import_internal_files |
|
718 |