1 #
2 # Copyright (c) 2006, 2015, Oracle and/or its affiliates. All rights reserved.
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # This code is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License version 2 only, as
7 # published by the Free Software Foundation.
8 #
9 # This code is distributed in the hope that it will be useful, but WITHOUT
10 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 # version 2 for more details (a copy is included in the LICENSE file that
13 # accompanied this code).
14 #
15 # You should have received a copy of the GNU General Public License version
16 # 2 along with this work; if not, write to the Free Software Foundation,
17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 #
19 # Please contact 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.
22 #
235 endif
236
237 $(eval $(call print_info, "ZIP_DEBUGINFO_FILES=$(ZIP_DEBUGINFO_FILES)"))
238 endif
239 endif # ENABLE_FULL_DEBUG_SYMBOLS=1
240 endif # BUILD_FLAVOR
241
242 JDK_INCLUDE_SUBDIR=bsd
243
244 # Library suffix
245 ifneq ($(STATIC_BUILD),true)
246 ifeq ($(OS_VENDOR),Darwin)
247 LIBRARY_SUFFIX=dylib
248 else
249 LIBRARY_SUFFIX=so
250 endif
251 else
252 LIBRARY_SUFFIX=a
253 endif
254
255
256 EXPORT_LIST += $(EXPORT_DOCS_DIR)/platform/jvmti/jvmti.html
257
258 # jsig library not needed for static builds
259 ifneq ($(STATIC_BUILD),true)
260 # client and server subdirectories have symbolic links to ../libjsig.so
261 EXPORT_LIST += $(EXPORT_LIB_ARCH_DIR)/libjsig.$(LIBRARY_SUFFIX)
262 endif
263
264 ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
265 ifeq ($(ZIP_DEBUGINFO_FILES),1)
266 EXPORT_LIST += $(EXPORT_LIB_ARCH_DIR)/libjsig.diz
267 else
268 ifeq ($(OS_VENDOR), Darwin)
269 EXPORT_LIST += $(EXPORT_LIB_ARCH_DIR)/libjsig.$(LIBRARY_SUFFIX).dSYM
270 else
271 EXPORT_LIST += $(EXPORT_LIB_ARCH_DIR)/libjsig.debuginfo
272 endif
273 endif
274 endif
275
360 UNIVERSAL_COPY_LIST += $(EXPORT_LIB_DIR)/server/Xusage.txt
361 UNIVERSAL_COPY_LIST += $(EXPORT_LIB_DIR)/client/Xusage.txt
362
363 ifeq ($(STATIC_BUILD),true)
364 UNIVERSAL_COPY_LIST += $(EXPORT_LIB_DIR)/server/libjvm.symbols
365 UNIVERSAL_COPY_LIST += $(EXPORT_LIB_DIR)/client/libjvm.symbols
366 UNIVERSAL_COPY_LIST += $(EXPORT_LIB_DIR)/minimal/libjvm.symbols
367 endif
368
369 ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
370 ifeq ($(ZIP_DEBUGINFO_FILES),1)
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
374 else
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
378 endif
379 endif
380
381 endif
382 endif
|
1 #
2 # Copyright (c) 2006, 2016, Oracle and/or its affiliates. All rights reserved.
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # This code is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License version 2 only, as
7 # published by the Free Software Foundation.
8 #
9 # This code is distributed in the hope that it will be useful, but WITHOUT
10 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 # version 2 for more details (a copy is included in the LICENSE file that
13 # accompanied this code).
14 #
15 # You should have received a copy of the GNU General Public License version
16 # 2 along with this work; if not, write to the Free Software Foundation,
17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 #
19 # Please contact 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.
22 #
235 endif
236
237 $(eval $(call print_info, "ZIP_DEBUGINFO_FILES=$(ZIP_DEBUGINFO_FILES)"))
238 endif
239 endif # ENABLE_FULL_DEBUG_SYMBOLS=1
240 endif # BUILD_FLAVOR
241
242 JDK_INCLUDE_SUBDIR=bsd
243
244 # Library suffix
245 ifneq ($(STATIC_BUILD),true)
246 ifeq ($(OS_VENDOR),Darwin)
247 LIBRARY_SUFFIX=dylib
248 else
249 LIBRARY_SUFFIX=so
250 endif
251 else
252 LIBRARY_SUFFIX=a
253 endif
254
255 EXPORT_LIST += $(EXPORT_DOCS_DIR)/platform/jvmti/jvmti.html
256
257 # jsig library not needed for static builds
258 ifneq ($(STATIC_BUILD),true)
259 # client and server subdirectories have symbolic links to ../libjsig.so
260 EXPORT_LIST += $(EXPORT_LIB_ARCH_DIR)/libjsig.$(LIBRARY_SUFFIX)
261 endif
262
263 ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
264 ifeq ($(ZIP_DEBUGINFO_FILES),1)
265 EXPORT_LIST += $(EXPORT_LIB_ARCH_DIR)/libjsig.diz
266 else
267 ifeq ($(OS_VENDOR), Darwin)
268 EXPORT_LIST += $(EXPORT_LIB_ARCH_DIR)/libjsig.$(LIBRARY_SUFFIX).dSYM
269 else
270 EXPORT_LIST += $(EXPORT_LIB_ARCH_DIR)/libjsig.debuginfo
271 endif
272 endif
273 endif
274
359 UNIVERSAL_COPY_LIST += $(EXPORT_LIB_DIR)/server/Xusage.txt
360 UNIVERSAL_COPY_LIST += $(EXPORT_LIB_DIR)/client/Xusage.txt
361
362 ifeq ($(STATIC_BUILD),true)
363 UNIVERSAL_COPY_LIST += $(EXPORT_LIB_DIR)/server/libjvm.symbols
364 UNIVERSAL_COPY_LIST += $(EXPORT_LIB_DIR)/client/libjvm.symbols
365 UNIVERSAL_COPY_LIST += $(EXPORT_LIB_DIR)/minimal/libjvm.symbols
366 endif
367
368 ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
369 ifeq ($(ZIP_DEBUGINFO_FILES),1)
370 UNIVERSAL_COPY_LIST += $(EXPORT_LIB_DIR)/server/libjvm.diz
371 UNIVERSAL_COPY_LIST += $(EXPORT_LIB_DIR)/client/libjvm.diz
372 UNIVERSAL_COPY_LIST += $(EXPORT_LIB_DIR)/libjsig.diz
373 else
374 UNIVERSAL_COPY_LIST += $(EXPORT_LIB_DIR)/server/libjvm.$(LIBRARY_SUFFIX).dSYM
375 UNIVERSAL_COPY_LIST += $(EXPORT_LIB_DIR)/client/libjvm.$(LIBRARY_SUFFIX).dSYM
376 UNIVERSAL_COPY_LIST += $(EXPORT_LIB_DIR)/libjsig.$(LIBRARY_SUFFIX).dSYM
377 endif
378 endif
379 endif
380 endif
|