author | alanb |
Tue, 03 May 2016 09:11:31 +0100 | |
changeset 37827 | 09fa0c82a5f7 |
parent 34319 | 9d6dd3c5ca23 |
permissions | -rw-r--r-- |
10565 | 1 |
# |
33583
af842015bfaa
8136556: Add the ability to perform static builds of MacOSX x64 binaries
bobv
parents:
30113
diff
changeset
|
2 |
# Copyright (c) 2006, 2015, Oracle and/or its affiliates. All rights reserved. |
10565 | 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 Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
|
20 |
# or visit www.oracle.com if you need additional information or have any |
|
21 |
# questions. |
|
17006 | 22 |
# |
10565 | 23 |
# |
24 |
||
25 |
# The common definitions for hotspot bsd 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 |
||
29 |
SLASH_JAVA ?= /java |
|
30 |
||
26691
40ea2c41f53b
8056999: Make hotspot builds less verbose on default log level
ihse
parents:
20686
diff
changeset
|
31 |
define print_info |
40ea2c41f53b
8056999: Make hotspot builds less verbose on default log level
ihse
parents:
20686
diff
changeset
|
32 |
ifneq ($$(LOG_LEVEL), warn) |
40ea2c41f53b
8056999: Make hotspot builds less verbose on default log level
ihse
parents:
20686
diff
changeset
|
33 |
$$(shell echo >&2 "INFO: $1") |
40ea2c41f53b
8056999: Make hotspot builds less verbose on default log level
ihse
parents:
20686
diff
changeset
|
34 |
endif |
40ea2c41f53b
8056999: Make hotspot builds less verbose on default log level
ihse
parents:
20686
diff
changeset
|
35 |
endef |
40ea2c41f53b
8056999: Make hotspot builds less verbose on default log level
ihse
parents:
20686
diff
changeset
|
36 |
|
10565 | 37 |
# Need PLATFORM (os-arch combo names) for jdk and hotspot, plus libarch name |
38 |
ARCH:=$(shell uname -m) |
|
39 |
PATH_SEP = : |
|
40 |
ifeq ($(LP64), 1) |
|
41 |
ARCH_DATA_MODEL ?= 64 |
|
42 |
else |
|
43 |
ARCH_DATA_MODEL ?= 32 |
|
44 |
endif |
|
45 |
||
46 |
# zero |
|
12156
fb31de03f649
7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents:
12095
diff
changeset
|
47 |
ifeq ($(findstring true, $(JVM_VARIANT_ZERO) $(JVM_VARIANT_ZEROSHARK)), true) |
10565 | 48 |
ifeq ($(ARCH_DATA_MODEL), 64) |
49 |
MAKE_ARGS += LP64=1 |
|
50 |
endif |
|
51 |
PLATFORM = bsd-zero |
|
52 |
VM_PLATFORM = bsd_$(subst i386,i486,$(ZERO_LIBARCH)) |
|
53 |
HS_ARCH = zero |
|
54 |
ARCH = zero |
|
55 |
endif |
|
56 |
||
57 |
# ia64 |
|
58 |
ifeq ($(ARCH), ia64) |
|
59 |
ARCH_DATA_MODEL = 64 |
|
60 |
MAKE_ARGS += LP64=1 |
|
61 |
PLATFORM = bsd-ia64 |
|
62 |
VM_PLATFORM = bsd_ia64 |
|
63 |
HS_ARCH = ia64 |
|
64 |
endif |
|
65 |
||
66 |
# sparc |
|
67 |
ifeq ($(ARCH), sparc64) |
|
68 |
ifeq ($(ARCH_DATA_MODEL), 64) |
|
69 |
ARCH_DATA_MODEL = 64 |
|
70 |
MAKE_ARGS += LP64=1 |
|
71 |
PLATFORM = bsd-sparcv9 |
|
72 |
VM_PLATFORM = bsd_sparcv9 |
|
73 |
else |
|
74 |
ARCH_DATA_MODEL = 32 |
|
75 |
PLATFORM = bsd-sparc |
|
76 |
VM_PLATFORM = bsd_sparc |
|
77 |
endif |
|
78 |
HS_ARCH = sparc |
|
79 |
endif |
|
80 |
||
81 |
# amd64 |
|
82 |
ifneq (,$(findstring $(ARCH), amd64 x86_64)) |
|
83 |
ifeq ($(ARCH_DATA_MODEL), 64) |
|
84 |
ARCH_DATA_MODEL = 64 |
|
85 |
MAKE_ARGS += LP64=1 |
|
86 |
PLATFORM = bsd-amd64 |
|
87 |
VM_PLATFORM = bsd_amd64 |
|
88 |
HS_ARCH = x86 |
|
89 |
else |
|
90 |
ARCH_DATA_MODEL = 32 |
|
91 |
PLATFORM = bsd-i586 |
|
92 |
VM_PLATFORM = bsd_i486 |
|
93 |
HS_ARCH = x86 |
|
94 |
# We have to reset ARCH to i386 since SRCARCH relies on it |
|
17006 | 95 |
ARCH = i386 |
10565 | 96 |
endif |
97 |
endif |
|
98 |
||
99 |
# i386 |
|
100 |
ifeq ($(ARCH), i386) |
|
101 |
ifeq ($(ARCH_DATA_MODEL), 64) |
|
102 |
ARCH_DATA_MODEL = 64 |
|
103 |
MAKE_ARGS += LP64=1 |
|
104 |
PLATFORM = bsd-amd64 |
|
105 |
VM_PLATFORM = bsd_amd64 |
|
106 |
HS_ARCH = x86 |
|
107 |
# We have to reset ARCH to amd64 since SRCARCH relies on it |
|
108 |
ARCH = amd64 |
|
109 |
else |
|
110 |
ARCH_DATA_MODEL = 32 |
|
111 |
PLATFORM = bsd-i586 |
|
112 |
VM_PLATFORM = bsd_i486 |
|
113 |
HS_ARCH = x86 |
|
114 |
endif |
|
115 |
endif |
|
116 |
||
117 |
# ARM |
|
118 |
ifeq ($(ARCH), arm) |
|
119 |
ARCH_DATA_MODEL = 32 |
|
120 |
PLATFORM = bsd-arm |
|
121 |
VM_PLATFORM = bsd_arm |
|
122 |
HS_ARCH = arm |
|
123 |
endif |
|
124 |
||
125 |
# PPC |
|
126 |
ifeq ($(ARCH), ppc) |
|
127 |
ARCH_DATA_MODEL = 32 |
|
128 |
PLATFORM = bsd-ppc |
|
129 |
VM_PLATFORM = bsd_ppc |
|
130 |
HS_ARCH = ppc |
|
131 |
endif |
|
132 |
||
12156
fb31de03f649
7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents:
12095
diff
changeset
|
133 |
# On 32 bit bsd we build server and client, on 64 bit just server. |
fb31de03f649
7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents:
12095
diff
changeset
|
134 |
ifeq ($(JVM_VARIANTS),) |
fb31de03f649
7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents:
12095
diff
changeset
|
135 |
ifeq ($(ARCH_DATA_MODEL), 32) |
fb31de03f649
7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents:
12095
diff
changeset
|
136 |
JVM_VARIANTS:=client,server |
fb31de03f649
7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents:
12095
diff
changeset
|
137 |
JVM_VARIANT_CLIENT:=true |
fb31de03f649
7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents:
12095
diff
changeset
|
138 |
JVM_VARIANT_SERVER:=true |
fb31de03f649
7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents:
12095
diff
changeset
|
139 |
else |
fb31de03f649
7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents:
12095
diff
changeset
|
140 |
JVM_VARIANTS:=server |
fb31de03f649
7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents:
12095
diff
changeset
|
141 |
JVM_VARIANT_SERVER:=true |
fb31de03f649
7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents:
12095
diff
changeset
|
142 |
endif |
fb31de03f649
7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents:
12095
diff
changeset
|
143 |
endif |
fb31de03f649
7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents:
12095
diff
changeset
|
144 |
|
20686
1fa9a75192c3
7165611: implement Full Debug Symbols on MacOS X hotspot
dcubed
parents:
17006
diff
changeset
|
145 |
OS_VENDOR:=$(shell uname -s) |
1fa9a75192c3
7165611: implement Full Debug Symbols on MacOS X hotspot
dcubed
parents:
17006
diff
changeset
|
146 |
|
33957
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
147 |
# The Full Debug Symbols (FDS) default for BUILD_FLAVOR == product |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
148 |
# builds is enabled with debug info files ZIP'ed to save space. For |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
149 |
# BUILD_FLAVOR != product builds, FDS is always enabled, after all a |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
150 |
# debug build without debug info isn't very useful. |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
151 |
# The ZIP_DEBUGINFO_FILES option only has meaning when FDS is enabled. |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
152 |
# |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
153 |
# If you invoke a build with FULL_DEBUG_SYMBOLS=0, then FDS will be |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
154 |
# disabled for a BUILD_FLAVOR == product build. |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
155 |
# |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
156 |
# Note: Use of a different variable name for the FDS override option |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
157 |
# versus the FDS enabled check is intentional (FULL_DEBUG_SYMBOLS |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
158 |
# versus ENABLE_FULL_DEBUG_SYMBOLS). For auto build systems that pass |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
159 |
# in options via environment variables, use of distinct variables |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
160 |
# prevents strange behaviours. For example, in a BUILD_FLAVOR != |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
161 |
# product build, the FULL_DEBUG_SYMBOLS environment variable will be |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
162 |
# 0, but the ENABLE_FULL_DEBUG_SYMBOLS make variable will be 1. If |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
163 |
# the same variable name is used, then different values can be picked |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
164 |
# up by different parts of the build. Just to be clear, we only need |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
165 |
# two variable names because the incoming option value can be |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
166 |
# overridden in some situations, e.g., a BUILD_FLAVOR != product |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
167 |
# build. |
20686
1fa9a75192c3
7165611: implement Full Debug Symbols on MacOS X hotspot
dcubed
parents:
17006
diff
changeset
|
168 |
|
33957
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
169 |
# Due to the multiple sub-make processes that occur this logic gets |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
170 |
# executed multiple times. We reduce the noise by at least checking that |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
171 |
# BUILD_FLAVOR has been set. |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
172 |
ifneq ($(BUILD_FLAVOR),) |
33980 | 173 |
# FULL_DEBUG_SYMBOLS not created for individual static libraries |
174 |
ifeq ($(STATIC_BUILD),false) |
|
34289
2d1821a50263
8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
33583
diff
changeset
|
175 |
ifeq ($(BUILD_FLAVOR), product) |
2d1821a50263
8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
33583
diff
changeset
|
176 |
FULL_DEBUG_SYMBOLS ?= 1 |
2d1821a50263
8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
33583
diff
changeset
|
177 |
ENABLE_FULL_DEBUG_SYMBOLS = $(FULL_DEBUG_SYMBOLS) |
2d1821a50263
8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
33583
diff
changeset
|
178 |
else |
2d1821a50263
8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
33583
diff
changeset
|
179 |
# debug variants always get Full Debug Symbols (if available) |
2d1821a50263
8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
33583
diff
changeset
|
180 |
ENABLE_FULL_DEBUG_SYMBOLS = 1 |
2d1821a50263
8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
33583
diff
changeset
|
181 |
endif |
33957
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
182 |
endif |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
183 |
$(eval $(call print_info, "ENABLE_FULL_DEBUG_SYMBOLS=$(ENABLE_FULL_DEBUG_SYMBOLS)")) |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
184 |
# since objcopy is optional, we set ZIP_DEBUGINFO_FILES later |
20686
1fa9a75192c3
7165611: implement Full Debug Symbols on MacOS X hotspot
dcubed
parents:
17006
diff
changeset
|
185 |
|
33957
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
186 |
ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
187 |
ifeq ($(OS_VENDOR), Darwin) |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
188 |
# MacOS X doesn't use OBJCOPY or STRIP_POLICY |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
189 |
OBJCOPY= |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
190 |
STRIP_POLICY= |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
191 |
ZIP_DEBUGINFO_FILES ?= 1 |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
192 |
else |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
193 |
# Default OBJCOPY comes from GNU Binutils on BSD |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
194 |
ifeq ($(CROSS_COMPILE_ARCH),) |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
195 |
DEF_OBJCOPY=/usr/bin/objcopy |
20686
1fa9a75192c3
7165611: implement Full Debug Symbols on MacOS X hotspot
dcubed
parents:
17006
diff
changeset
|
196 |
else |
33957
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
197 |
# Assume objcopy is part of the cross-compilation toolset |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
198 |
ifneq ($(ALT_COMPILER_PATH),) |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
199 |
DEF_OBJCOPY=$(ALT_COMPILER_PATH)/objcopy |
20686
1fa9a75192c3
7165611: implement Full Debug Symbols on MacOS X hotspot
dcubed
parents:
17006
diff
changeset
|
200 |
endif |
33957
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
201 |
endif |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
202 |
OBJCOPY=$(shell test -x $(DEF_OBJCOPY) && echo $(DEF_OBJCOPY)) |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
203 |
ifneq ($(ALT_OBJCOPY),) |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
204 |
$(eval $(call print_info, "ALT_OBJCOPY=$(ALT_OBJCOPY)")) |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
205 |
OBJCOPY=$(shell test -x $(ALT_OBJCOPY) && echo $(ALT_OBJCOPY)) |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
206 |
endif |
20686
1fa9a75192c3
7165611: implement Full Debug Symbols on MacOS X hotspot
dcubed
parents:
17006
diff
changeset
|
207 |
|
33957
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
208 |
ifeq ($(OBJCOPY),) |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
209 |
$(eval $(call print_info, "no objcopy cmd found so cannot create .debuginfo" \ |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
210 |
"files. You may need to set ALT_OBJCOPY.")) |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
211 |
ENABLE_FULL_DEBUG_SYMBOLS=0 |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
212 |
$(eval $(call print_info, "ENABLE_FULL_DEBUG_SYMBOLS=$(ENABLE_FULL_DEBUG_SYMBOLS)")) |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
213 |
else |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
214 |
$(eval $(call print_info, "$(OBJCOPY) cmd found so will create .debuginfo" \ |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
215 |
"files.")) |
20686
1fa9a75192c3
7165611: implement Full Debug Symbols on MacOS X hotspot
dcubed
parents:
17006
diff
changeset
|
216 |
|
33957
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
217 |
# Library stripping policies for .debuginfo configs: |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
218 |
# all_strip - strips everything from the library |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
219 |
# min_strip - strips most stuff from the library; leaves |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
220 |
# minimum symbols |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
221 |
# no_strip - does not strip the library at all |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
222 |
# |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
223 |
# Oracle security policy requires "all_strip". A waiver was |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
224 |
# granted on 2011.09.01 that permits using "min_strip" in the |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
225 |
# Java JDK and Java JRE. |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
226 |
# |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
227 |
# Currently, STRIP_POLICY is only used when Full Debug Symbols |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
228 |
# is enabled. |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
229 |
# |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
230 |
STRIP_POLICY ?= min_strip |
20686
1fa9a75192c3
7165611: implement Full Debug Symbols on MacOS X hotspot
dcubed
parents:
17006
diff
changeset
|
231 |
|
33957
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
232 |
$(eval $(call print_info, "STRIP_POLICY=$(STRIP_POLICY)")) |
20686
1fa9a75192c3
7165611: implement Full Debug Symbols on MacOS X hotspot
dcubed
parents:
17006
diff
changeset
|
233 |
|
33957
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
234 |
ZIP_DEBUGINFO_FILES ?= 1 |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
235 |
endif |
20686
1fa9a75192c3
7165611: implement Full Debug Symbols on MacOS X hotspot
dcubed
parents:
17006
diff
changeset
|
236 |
|
33957
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
237 |
$(eval $(call print_info, "ZIP_DEBUGINFO_FILES=$(ZIP_DEBUGINFO_FILES)")) |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
238 |
endif |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
239 |
endif # ENABLE_FULL_DEBUG_SYMBOLS=1 |
39113ae98993
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30113
diff
changeset
|
240 |
endif # BUILD_FLAVOR |
20686
1fa9a75192c3
7165611: implement Full Debug Symbols on MacOS X hotspot
dcubed
parents:
17006
diff
changeset
|
241 |
|
10565 | 242 |
JDK_INCLUDE_SUBDIR=bsd |
243 |
||
244 |
# Library suffix |
|
33583
af842015bfaa
8136556: Add the ability to perform static builds of MacOSX x64 binaries
bobv
parents:
30113
diff
changeset
|
245 |
ifneq ($(STATIC_BUILD),true) |
34289
2d1821a50263
8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
33583
diff
changeset
|
246 |
ifeq ($(OS_VENDOR),Darwin) |
2d1821a50263
8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
33583
diff
changeset
|
247 |
LIBRARY_SUFFIX=dylib |
2d1821a50263
8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
33583
diff
changeset
|
248 |
else |
2d1821a50263
8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
33583
diff
changeset
|
249 |
LIBRARY_SUFFIX=so |
2d1821a50263
8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
33583
diff
changeset
|
250 |
endif |
10565 | 251 |
else |
33583
af842015bfaa
8136556: Add the ability to perform static builds of MacOSX x64 binaries
bobv
parents:
30113
diff
changeset
|
252 |
LIBRARY_SUFFIX=a |
10565 | 253 |
endif |
254 |
||
33583
af842015bfaa
8136556: Add the ability to perform static builds of MacOSX x64 binaries
bobv
parents:
30113
diff
changeset
|
255 |
|
10565 | 256 |
EXPORT_LIST += $(EXPORT_DOCS_DIR)/platform/jvmti/jvmti.html |
257 |
||
33583
af842015bfaa
8136556: Add the ability to perform static builds of MacOSX x64 binaries
bobv
parents:
30113
diff
changeset
|
258 |
# jsig library not needed for static builds |
af842015bfaa
8136556: Add the ability to perform static builds of MacOSX x64 binaries
bobv
parents:
30113
diff
changeset
|
259 |
ifneq ($(STATIC_BUILD),true) |
33980 | 260 |
# client and server subdirectories have symbolic links to ../libjsig.so |
33583
af842015bfaa
8136556: Add the ability to perform static builds of MacOSX x64 binaries
bobv
parents:
30113
diff
changeset
|
261 |
EXPORT_LIST += $(EXPORT_LIB_ARCH_DIR)/libjsig.$(LIBRARY_SUFFIX) |
af842015bfaa
8136556: Add the ability to perform static builds of MacOSX x64 binaries
bobv
parents:
30113
diff
changeset
|
262 |
endif |
20686
1fa9a75192c3
7165611: implement Full Debug Symbols on MacOS X hotspot
dcubed
parents:
17006
diff
changeset
|
263 |
|
1fa9a75192c3
7165611: implement Full Debug Symbols on MacOS X hotspot
dcubed
parents:
17006
diff
changeset
|
264 |
ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) |
1fa9a75192c3
7165611: implement Full Debug Symbols on MacOS X hotspot
dcubed
parents:
17006
diff
changeset
|
265 |
ifeq ($(ZIP_DEBUGINFO_FILES),1) |
30113 | 266 |
EXPORT_LIST += $(EXPORT_LIB_ARCH_DIR)/libjsig.diz |
20686
1fa9a75192c3
7165611: implement Full Debug Symbols on MacOS X hotspot
dcubed
parents:
17006
diff
changeset
|
267 |
else |
1fa9a75192c3
7165611: implement Full Debug Symbols on MacOS X hotspot
dcubed
parents:
17006
diff
changeset
|
268 |
ifeq ($(OS_VENDOR), Darwin) |
30113 | 269 |
EXPORT_LIST += $(EXPORT_LIB_ARCH_DIR)/libjsig.$(LIBRARY_SUFFIX).dSYM |
20686
1fa9a75192c3
7165611: implement Full Debug Symbols on MacOS X hotspot
dcubed
parents:
17006
diff
changeset
|
270 |
else |
30113 | 271 |
EXPORT_LIST += $(EXPORT_LIB_ARCH_DIR)/libjsig.debuginfo |
20686
1fa9a75192c3
7165611: implement Full Debug Symbols on MacOS X hotspot
dcubed
parents:
17006
diff
changeset
|
272 |
endif |
1fa9a75192c3
7165611: implement Full Debug Symbols on MacOS X hotspot
dcubed
parents:
17006
diff
changeset
|
273 |
endif |
1fa9a75192c3
7165611: implement Full Debug Symbols on MacOS X hotspot
dcubed
parents:
17006
diff
changeset
|
274 |
endif |
1fa9a75192c3
7165611: implement Full Debug Symbols on MacOS X hotspot
dcubed
parents:
17006
diff
changeset
|
275 |
|
30113 | 276 |
EXPORT_SERVER_DIR = $(EXPORT_LIB_ARCH_DIR)/server |
277 |
EXPORT_CLIENT_DIR = $(EXPORT_LIB_ARCH_DIR)/client |
|
278 |
EXPORT_MINIMAL_DIR = $(EXPORT_LIB_ARCH_DIR)/minimal |
|
10565 | 279 |
|
12156
fb31de03f649
7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents:
12095
diff
changeset
|
280 |
ifeq ($(findstring true, $(JVM_VARIANT_SERVER) $(JVM_VARIANT_ZERO) $(JVM_VARIANT_ZEROSHARK)), true) |
fb31de03f649
7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents:
12095
diff
changeset
|
281 |
EXPORT_LIST += $(EXPORT_SERVER_DIR)/Xusage.txt |
fb31de03f649
7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents:
12095
diff
changeset
|
282 |
EXPORT_LIST += $(EXPORT_SERVER_DIR)/libjvm.$(LIBRARY_SUFFIX) |
33583
af842015bfaa
8136556: Add the ability to perform static builds of MacOSX x64 binaries
bobv
parents:
30113
diff
changeset
|
283 |
ifeq ($(STATIC_BUILD),true) |
af842015bfaa
8136556: Add the ability to perform static builds of MacOSX x64 binaries
bobv
parents:
30113
diff
changeset
|
284 |
EXPORT_LIST += $(EXPORT_SERVER_DIR)/libjvm.symbols |
af842015bfaa
8136556: Add the ability to perform static builds of MacOSX x64 binaries
bobv
parents:
30113
diff
changeset
|
285 |
endif |
20686
1fa9a75192c3
7165611: implement Full Debug Symbols on MacOS X hotspot
dcubed
parents:
17006
diff
changeset
|
286 |
|
1fa9a75192c3
7165611: implement Full Debug Symbols on MacOS X hotspot
dcubed
parents:
17006
diff
changeset
|
287 |
ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) |
1fa9a75192c3
7165611: implement Full Debug Symbols on MacOS X hotspot
dcubed
parents:
17006
diff
changeset
|
288 |
ifeq ($(ZIP_DEBUGINFO_FILES),1) |
1fa9a75192c3
7165611: implement Full Debug Symbols on MacOS X hotspot
dcubed
parents:
17006
diff
changeset
|
289 |
EXPORT_LIST += $(EXPORT_SERVER_DIR)/libjvm.diz |
1fa9a75192c3
7165611: implement Full Debug Symbols on MacOS X hotspot
dcubed
parents:
17006
diff
changeset
|
290 |
else |
1fa9a75192c3
7165611: implement Full Debug Symbols on MacOS X hotspot
dcubed
parents:
17006
diff
changeset
|
291 |
ifeq ($(OS_VENDOR), Darwin) |
1fa9a75192c3
7165611: implement Full Debug Symbols on MacOS X hotspot
dcubed
parents:
17006
diff
changeset
|
292 |
EXPORT_LIST += $(EXPORT_SERVER_DIR)/libjvm.$(LIBRARY_SUFFIX).dSYM |
1fa9a75192c3
7165611: implement Full Debug Symbols on MacOS X hotspot
dcubed
parents:
17006
diff
changeset
|
293 |
else |
1fa9a75192c3
7165611: implement Full Debug Symbols on MacOS X hotspot
dcubed
parents:
17006
diff
changeset
|
294 |
EXPORT_LIST += $(EXPORT_SERVER_DIR)/libjvm.debuginfo |
1fa9a75192c3
7165611: implement Full Debug Symbols on MacOS X hotspot
dcubed
parents:
17006
diff
changeset
|
295 |
endif |
1fa9a75192c3
7165611: implement Full Debug Symbols on MacOS X hotspot
dcubed
parents:
17006
diff
changeset
|
296 |
endif |
1fa9a75192c3
7165611: implement Full Debug Symbols on MacOS X hotspot
dcubed
parents:
17006
diff
changeset
|
297 |
endif |
10565 | 298 |
endif |
299 |
||
12156
fb31de03f649
7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents:
12095
diff
changeset
|
300 |
ifeq ($(JVM_VARIANT_CLIENT),true) |
fb31de03f649
7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents:
12095
diff
changeset
|
301 |
EXPORT_LIST += $(EXPORT_CLIENT_DIR)/Xusage.txt |
fb31de03f649
7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
erikj
parents:
12095
diff
changeset
|
302 |
EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm.$(LIBRARY_SUFFIX) |
33583
af842015bfaa
8136556: Add the ability to perform static builds of MacOSX x64 binaries
bobv
parents:
30113
diff
changeset
|
303 |
ifeq ($(STATIC_BUILD),true) |
af842015bfaa
8136556: Add the ability to perform static builds of MacOSX x64 binaries
bobv
parents:
30113
diff
changeset
|
304 |
EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm.symbols |
af842015bfaa
8136556: Add the ability to perform static builds of MacOSX x64 binaries
bobv
parents:
30113
diff
changeset
|
305 |
endif |
20686
1fa9a75192c3
7165611: implement Full Debug Symbols on MacOS X hotspot
dcubed
parents:
17006
diff
changeset
|
306 |
|
1fa9a75192c3
7165611: implement Full Debug Symbols on MacOS X hotspot
dcubed
parents:
17006
diff
changeset
|
307 |
ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) |
1fa9a75192c3
7165611: implement Full Debug Symbols on MacOS X hotspot
dcubed
parents:
17006
diff
changeset
|
308 |
ifeq ($(ZIP_DEBUGINFO_FILES),1) |
1fa9a75192c3
7165611: implement Full Debug Symbols on MacOS X hotspot
dcubed
parents:
17006
diff
changeset
|
309 |
EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm.diz |
1fa9a75192c3
7165611: implement Full Debug Symbols on MacOS X hotspot
dcubed
parents:
17006
diff
changeset
|
310 |
else |
1fa9a75192c3
7165611: implement Full Debug Symbols on MacOS X hotspot
dcubed
parents:
17006
diff
changeset
|
311 |
ifeq ($(OS_VENDOR), Darwin) |
1fa9a75192c3
7165611: implement Full Debug Symbols on MacOS X hotspot
dcubed
parents:
17006
diff
changeset
|
312 |
EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm.$(LIBRARY_SUFFIX).dSYM |
1fa9a75192c3
7165611: implement Full Debug Symbols on MacOS X hotspot
dcubed
parents:
17006
diff
changeset
|
313 |
else |
1fa9a75192c3
7165611: implement Full Debug Symbols on MacOS X hotspot
dcubed
parents:
17006
diff
changeset
|
314 |
EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm.debuginfo |
1fa9a75192c3
7165611: implement Full Debug Symbols on MacOS X hotspot
dcubed
parents:
17006
diff
changeset
|
315 |
endif |
1fa9a75192c3
7165611: implement Full Debug Symbols on MacOS X hotspot
dcubed
parents:
17006
diff
changeset
|
316 |
endif |
1fa9a75192c3
7165611: implement Full Debug Symbols on MacOS X hotspot
dcubed
parents:
17006
diff
changeset
|
317 |
endif |
10565 | 318 |
endif |
319 |
||
13975
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
12156
diff
changeset
|
320 |
ifeq ($(JVM_VARIANT_MINIMAL1),true) |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
12156
diff
changeset
|
321 |
EXPORT_LIST += $(EXPORT_MINIMAL_DIR)/Xusage.txt |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
12156
diff
changeset
|
322 |
EXPORT_LIST += $(EXPORT_MINIMAL_DIR)/libjvm.$(LIBRARY_SUFFIX) |
33583
af842015bfaa
8136556: Add the ability to perform static builds of MacOSX x64 binaries
bobv
parents:
30113
diff
changeset
|
323 |
ifeq ($(STATIC_BUILD),true) |
af842015bfaa
8136556: Add the ability to perform static builds of MacOSX x64 binaries
bobv
parents:
30113
diff
changeset
|
324 |
EXPORT_LIST += $(EXPORT_MINIMAL_DIR)/libjvm.symbols |
af842015bfaa
8136556: Add the ability to perform static builds of MacOSX x64 binaries
bobv
parents:
30113
diff
changeset
|
325 |
endif |
13975
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
12156
diff
changeset
|
326 |
endif |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
12156
diff
changeset
|
327 |
|
11629
72a73185bdc7
7123386: RFE: Preserve universal builds of HotSpot on Mac OS X
phh
parents:
11593
diff
changeset
|
328 |
# Universal build settings |
72a73185bdc7
7123386: RFE: Preserve universal builds of HotSpot on Mac OS X
phh
parents:
11593
diff
changeset
|
329 |
ifeq ($(OS_VENDOR), Darwin) |
72a73185bdc7
7123386: RFE: Preserve universal builds of HotSpot on Mac OS X
phh
parents:
11593
diff
changeset
|
330 |
# Build universal binaries by default on Mac OS X |
72a73185bdc7
7123386: RFE: Preserve universal builds of HotSpot on Mac OS X
phh
parents:
11593
diff
changeset
|
331 |
MACOSX_UNIVERSAL = true |
72a73185bdc7
7123386: RFE: Preserve universal builds of HotSpot on Mac OS X
phh
parents:
11593
diff
changeset
|
332 |
ifneq ($(ALT_MACOSX_UNIVERSAL),) |
72a73185bdc7
7123386: RFE: Preserve universal builds of HotSpot on Mac OS X
phh
parents:
11593
diff
changeset
|
333 |
MACOSX_UNIVERSAL = $(ALT_MACOSX_UNIVERSAL) |
72a73185bdc7
7123386: RFE: Preserve universal builds of HotSpot on Mac OS X
phh
parents:
11593
diff
changeset
|
334 |
endif |
72a73185bdc7
7123386: RFE: Preserve universal builds of HotSpot on Mac OS X
phh
parents:
11593
diff
changeset
|
335 |
MAKE_ARGS += MACOSX_UNIVERSAL=$(MACOSX_UNIVERSAL) |
72a73185bdc7
7123386: RFE: Preserve universal builds of HotSpot on Mac OS X
phh
parents:
11593
diff
changeset
|
336 |
|
72a73185bdc7
7123386: RFE: Preserve universal builds of HotSpot on Mac OS X
phh
parents:
11593
diff
changeset
|
337 |
# Universal settings |
72a73185bdc7
7123386: RFE: Preserve universal builds of HotSpot on Mac OS X
phh
parents:
11593
diff
changeset
|
338 |
ifeq ($(MACOSX_UNIVERSAL), true) |
72a73185bdc7
7123386: RFE: Preserve universal builds of HotSpot on Mac OS X
phh
parents:
11593
diff
changeset
|
339 |
|
72a73185bdc7
7123386: RFE: Preserve universal builds of HotSpot on Mac OS X
phh
parents:
11593
diff
changeset
|
340 |
# Set universal export path but avoid using ARCH or PLATFORM subdirs |
72a73185bdc7
7123386: RFE: Preserve universal builds of HotSpot on Mac OS X
phh
parents:
11593
diff
changeset
|
341 |
EXPORT_PATH=$(OUTPUTDIR)/export-universal$(EXPORT_SUBDIR) |
11649
04e30cc559a9
7142616: MAC: Honor ALT_EXPORT_PATH overrides from JDK control builds
phh
parents:
11629
diff
changeset
|
342 |
ifneq ($(ALT_EXPORT_PATH),) |
04e30cc559a9
7142616: MAC: Honor ALT_EXPORT_PATH overrides from JDK control builds
phh
parents:
11629
diff
changeset
|
343 |
EXPORT_PATH=$(ALT_EXPORT_PATH) |
04e30cc559a9
7142616: MAC: Honor ALT_EXPORT_PATH overrides from JDK control builds
phh
parents:
11629
diff
changeset
|
344 |
endif |
10739 | 345 |
|
11629
72a73185bdc7
7123386: RFE: Preserve universal builds of HotSpot on Mac OS X
phh
parents:
11593
diff
changeset
|
346 |
# Set universal image dir |
72a73185bdc7
7123386: RFE: Preserve universal builds of HotSpot on Mac OS X
phh
parents:
11593
diff
changeset
|
347 |
JDK_IMAGE_DIR=$(OUTPUTDIR)/jdk-universal$(EXPORT_SUBDIR) |
11784
715f58266a42
7143766: add ALT_JDK_IMAGE_DIR and improve test_jdk
twisti
parents:
11649
diff
changeset
|
348 |
ifneq ($(ALT_JDK_IMAGE_DIR),) |
715f58266a42
7143766: add ALT_JDK_IMAGE_DIR and improve test_jdk
twisti
parents:
11649
diff
changeset
|
349 |
JDK_IMAGE_DIR=$(ALT_JDK_IMAGE_DIR) |
715f58266a42
7143766: add ALT_JDK_IMAGE_DIR and improve test_jdk
twisti
parents:
11649
diff
changeset
|
350 |
endif |
11629
72a73185bdc7
7123386: RFE: Preserve universal builds of HotSpot on Mac OS X
phh
parents:
11593
diff
changeset
|
351 |
|
72a73185bdc7
7123386: RFE: Preserve universal builds of HotSpot on Mac OS X
phh
parents:
11593
diff
changeset
|
352 |
# Binaries to 'universalize' if built |
33583
af842015bfaa
8136556: Add the ability to perform static builds of MacOSX x64 binaries
bobv
parents:
30113
diff
changeset
|
353 |
ifneq ($(STATIC_BUILD),true) |
34289
2d1821a50263
8142336: Convert the SA agent build to modular build-infra makefiles
erikj
parents:
33583
diff
changeset
|
354 |
UNIVERSAL_LIPO_LIST += $(EXPORT_LIB_DIR)/libjsig.$(LIBRARY_SUFFIX) |
33583
af842015bfaa
8136556: Add the ability to perform static builds of MacOSX x64 binaries
bobv
parents:
30113
diff
changeset
|
355 |
endif |
30113 | 356 |
UNIVERSAL_LIPO_LIST += $(EXPORT_LIB_DIR)/server/libjvm.$(LIBRARY_SUFFIX) |
357 |
UNIVERSAL_LIPO_LIST += $(EXPORT_LIB_DIR)/client/libjvm.$(LIBRARY_SUFFIX) |
|
11629
72a73185bdc7
7123386: RFE: Preserve universal builds of HotSpot on Mac OS X
phh
parents:
11593
diff
changeset
|
358 |
|
72a73185bdc7
7123386: RFE: Preserve universal builds of HotSpot on Mac OS X
phh
parents:
11593
diff
changeset
|
359 |
# Files to simply copy in place |
30113 | 360 |
UNIVERSAL_COPY_LIST += $(EXPORT_LIB_DIR)/server/Xusage.txt |
361 |
UNIVERSAL_COPY_LIST += $(EXPORT_LIB_DIR)/client/Xusage.txt |
|
33583
af842015bfaa
8136556: Add the ability to perform static builds of MacOSX x64 binaries
bobv
parents:
30113
diff
changeset
|
362 |
|
af842015bfaa
8136556: Add the ability to perform static builds of MacOSX x64 binaries
bobv
parents:
30113
diff
changeset
|
363 |
ifeq ($(STATIC_BUILD),true) |
af842015bfaa
8136556: Add the ability to perform static builds of MacOSX x64 binaries
bobv
parents:
30113
diff
changeset
|
364 |
UNIVERSAL_COPY_LIST += $(EXPORT_LIB_DIR)/server/libjvm.symbols |
af842015bfaa
8136556: Add the ability to perform static builds of MacOSX x64 binaries
bobv
parents:
30113
diff
changeset
|
365 |
UNIVERSAL_COPY_LIST += $(EXPORT_LIB_DIR)/client/libjvm.symbols |
af842015bfaa
8136556: Add the ability to perform static builds of MacOSX x64 binaries
bobv
parents:
30113
diff
changeset
|
366 |
UNIVERSAL_COPY_LIST += $(EXPORT_LIB_DIR)/minimal/libjvm.symbols |
af842015bfaa
8136556: Add the ability to perform static builds of MacOSX x64 binaries
bobv
parents:
30113
diff
changeset
|
367 |
endif |
af842015bfaa
8136556: Add the ability to perform static builds of MacOSX x64 binaries
bobv
parents:
30113
diff
changeset
|
368 |
|
20686
1fa9a75192c3
7165611: implement Full Debug Symbols on MacOS X hotspot
dcubed
parents:
17006
diff
changeset
|
369 |
ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) |
1fa9a75192c3
7165611: implement Full Debug Symbols on MacOS X hotspot
dcubed
parents:
17006
diff
changeset
|
370 |
ifeq ($(ZIP_DEBUGINFO_FILES),1) |
30113 | 371 |
UNIVERSAL_COPY_LIST += $(EXPORT_LIB_DIR)/server/libjvm.diz |
372 |
UNIVERSAL_COPY_LIST += $(EXPORT_LIB_DIR)/client/libjvm.diz |
|
373 |
UNIVERSAL_COPY_LIST += $(EXPORT_LIB_DIR)/libjsig.diz |
|
20686
1fa9a75192c3
7165611: implement Full Debug Symbols on MacOS X hotspot
dcubed
parents:
17006
diff
changeset
|
374 |
else |
30113 | 375 |
UNIVERSAL_COPY_LIST += $(EXPORT_LIB_DIR)/server/libjvm.$(LIBRARY_SUFFIX).dSYM |
376 |
UNIVERSAL_COPY_LIST += $(EXPORT_LIB_DIR)/client/libjvm.$(LIBRARY_SUFFIX).dSYM |
|
377 |
UNIVERSAL_COPY_LIST += $(EXPORT_LIB_DIR)/libjsig.$(LIBRARY_SUFFIX).dSYM |
|
20686
1fa9a75192c3
7165611: implement Full Debug Symbols on MacOS X hotspot
dcubed
parents:
17006
diff
changeset
|
378 |
endif |
1fa9a75192c3
7165611: implement Full Debug Symbols on MacOS X hotspot
dcubed
parents:
17006
diff
changeset
|
379 |
endif |
11629
72a73185bdc7
7123386: RFE: Preserve universal builds of HotSpot on Mac OS X
phh
parents:
11593
diff
changeset
|
380 |
|
72a73185bdc7
7123386: RFE: Preserve universal builds of HotSpot on Mac OS X
phh
parents:
11593
diff
changeset
|
381 |
endif |
72a73185bdc7
7123386: RFE: Preserve universal builds of HotSpot on Mac OS X
phh
parents:
11593
diff
changeset
|
382 |
endif |