make/linux/makefiles/defs.make

Print this page


   1 #
   2 # Copyright (c) 2006, 2012, 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 #  


 223         #
 224         STRIP_POLICY ?= min_strip
 225 
 226         _JUNK_ := $(shell \
 227           echo >&2 "INFO: STRIP_POLICY=$(STRIP_POLICY)")
 228 
 229         ZIP_DEBUGINFO_FILES ?= 1
 230 
 231         _JUNK_ := $(shell \
 232           echo >&2 "INFO: ZIP_DEBUGINFO_FILES=$(ZIP_DEBUGINFO_FILES)")
 233       endif
 234     endif # ENABLE_FULL_DEBUG_SYMBOLS=1
 235   endif # BUILD_FLAVOR
 236 endif # JDK_6_OR_EARLIER
 237 
 238 JDK_INCLUDE_SUBDIR=linux
 239 
 240 # Library suffix
 241 LIBRARY_SUFFIX=so
 242 
 243 # FIXUP: The subdirectory for a debug build is NOT the same on all platforms
 244 VM_DEBUG=jvmg
 245 
 246 EXPORT_LIST += $(EXPORT_DOCS_DIR)/platform/jvmti/jvmti.html
 247 
 248 # client and server subdirectories have symbolic links to ../libjsig.so
 249 EXPORT_LIST += $(EXPORT_JRE_LIB_ARCH_DIR)/libjsig.$(LIBRARY_SUFFIX)
 250 ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
 251   ifeq ($(ZIP_DEBUGINFO_FILES),1)
 252     EXPORT_LIST += $(EXPORT_JRE_LIB_ARCH_DIR)/libjsig.diz
 253   else
 254     EXPORT_LIST += $(EXPORT_JRE_LIB_ARCH_DIR)/libjsig.debuginfo
 255   endif
 256 endif
 257 EXPORT_SERVER_DIR = $(EXPORT_JRE_LIB_ARCH_DIR)/server
 258 EXPORT_CLIENT_DIR = $(EXPORT_JRE_LIB_ARCH_DIR)/client
 259 EXPORT_MINIMAL_DIR = $(EXPORT_JRE_LIB_ARCH_DIR)/minimal
 260 
 261 ifeq ($(findstring true, $(JVM_VARIANT_SERVER) $(JVM_VARIANT_ZERO) $(JVM_VARIANT_ZEROSHARK)), true)
 262   EXPORT_LIST += $(EXPORT_SERVER_DIR)/Xusage.txt
 263   EXPORT_LIST += $(EXPORT_SERVER_DIR)/libjvm.$(LIBRARY_SUFFIX)
 264   ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
 265     ifeq ($(ZIP_DEBUGINFO_FILES),1)


   1 #
   2 # Copyright (c) 2006, 2013, 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 #


 223         #
 224         STRIP_POLICY ?= min_strip
 225 
 226         _JUNK_ := $(shell \
 227           echo >&2 "INFO: STRIP_POLICY=$(STRIP_POLICY)")
 228 
 229         ZIP_DEBUGINFO_FILES ?= 1
 230 
 231         _JUNK_ := $(shell \
 232           echo >&2 "INFO: ZIP_DEBUGINFO_FILES=$(ZIP_DEBUGINFO_FILES)")
 233       endif
 234     endif # ENABLE_FULL_DEBUG_SYMBOLS=1
 235   endif # BUILD_FLAVOR
 236 endif # JDK_6_OR_EARLIER
 237 
 238 JDK_INCLUDE_SUBDIR=linux
 239 
 240 # Library suffix
 241 LIBRARY_SUFFIX=so
 242 



 243 EXPORT_LIST += $(EXPORT_DOCS_DIR)/platform/jvmti/jvmti.html
 244 
 245 # client and server subdirectories have symbolic links to ../libjsig.so
 246 EXPORT_LIST += $(EXPORT_JRE_LIB_ARCH_DIR)/libjsig.$(LIBRARY_SUFFIX)
 247 ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
 248   ifeq ($(ZIP_DEBUGINFO_FILES),1)
 249     EXPORT_LIST += $(EXPORT_JRE_LIB_ARCH_DIR)/libjsig.diz
 250   else
 251     EXPORT_LIST += $(EXPORT_JRE_LIB_ARCH_DIR)/libjsig.debuginfo
 252   endif
 253 endif
 254 EXPORT_SERVER_DIR = $(EXPORT_JRE_LIB_ARCH_DIR)/server
 255 EXPORT_CLIENT_DIR = $(EXPORT_JRE_LIB_ARCH_DIR)/client
 256 EXPORT_MINIMAL_DIR = $(EXPORT_JRE_LIB_ARCH_DIR)/minimal
 257 
 258 ifeq ($(findstring true, $(JVM_VARIANT_SERVER) $(JVM_VARIANT_ZERO) $(JVM_VARIANT_ZEROSHARK)), true)
 259   EXPORT_LIST += $(EXPORT_SERVER_DIR)/Xusage.txt
 260   EXPORT_LIST += $(EXPORT_SERVER_DIR)/libjvm.$(LIBRARY_SUFFIX)
 261   ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
 262     ifeq ($(ZIP_DEBUGINFO_FILES),1)