< prev index next >

make/linux/makefiles/defs.make

Print this page




  97   endif
  98   HS_ARCH           = x86
  99 endif
 100 
 101 # PPC
 102 # Notice: after 8046471 ARCH will be 'ppc' for top-level ppc64 builds but
 103 # 'ppc64' for HotSpot-only ppc64 builds. Need to detect both variants here!
 104 ifneq (,$(findstring $(ARCH), ppc ppc64))
 105   ifeq ($(ARCH_DATA_MODEL), 64)
 106     MAKE_ARGS        += LP64=1
 107     PLATFORM         = linux-ppc64
 108     VM_PLATFORM      = linux_ppc64
 109   else
 110     ARCH_DATA_MODEL  = 32
 111     PLATFORM         = linux-ppc
 112     VM_PLATFORM      = linux_ppc
 113   endif
 114   HS_ARCH = ppc
 115 endif
 116 









 117 # On 32 bit linux we build server and client, on 64 bit just server.
 118 ifeq ($(JVM_VARIANTS),)
 119   ifeq ($(ARCH_DATA_MODEL), 32)
 120     JVM_VARIANTS:=client,server
 121     JVM_VARIANT_CLIENT:=true
 122     JVM_VARIANT_SERVER:=true
 123   else
 124     JVM_VARIANTS:=server
 125     JVM_VARIANT_SERVER:=true
 126   endif
 127 endif
 128 
 129 # determine if HotSpot is being built in JDK6 or earlier version
 130 JDK6_OR_EARLIER=0
 131 ifeq "$(shell expr \( '$(JDK_MAJOR_VERSION)' != '' \& '$(JDK_MINOR_VERSION)' != '' \& '$(JDK_MICRO_VERSION)' != '' \))" "1"
 132   # if the longer variable names (newer build style) are set, then check those
 133   ifeq "$(shell expr \( $(JDK_MAJOR_VERSION) = 1 \& $(JDK_MINOR_VERSION) \< 7 \))" "1"
 134     JDK6_OR_EARLIER=1
 135   endif
 136 else


 282 ifeq ($(JVM_VARIANT_MINIMAL1),true)
 283   EXPORT_LIST += $(EXPORT_MINIMAL_DIR)/Xusage.txt
 284   EXPORT_LIST += $(EXPORT_MINIMAL_DIR)/libjvm.$(LIBRARY_SUFFIX)
 285 
 286   ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
 287     ifneq ($(STRIP_POLICY),no_strip)
 288       ifeq ($(ZIP_DEBUGINFO_FILES),1)
 289           EXPORT_LIST += $(EXPORT_MINIMAL_DIR)/libjvm.diz
 290       else
 291           EXPORT_LIST += $(EXPORT_MINIMAL_DIR)/libjvm.debuginfo
 292       endif
 293     endif
 294   endif
 295 endif
 296 
 297 # Serviceability Binaries
 298 # No SA Support for PPC, IA64, ARM or zero
 299 ADD_SA_BINARIES/x86   = $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.$(LIBRARY_SUFFIX) \
 300                         $(EXPORT_LIB_DIR)/sa-jdi.jar
 301 ADD_SA_BINARIES/sparc = $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.$(LIBRARY_SUFFIX) \


 302                         $(EXPORT_LIB_DIR)/sa-jdi.jar
 303 ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
 304   ifneq ($(STRIP_POLICY),no_strip)
 305     ifeq ($(ZIP_DEBUGINFO_FILES),1)
 306       ADD_SA_BINARIES/x86   += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.diz
 307       ADD_SA_BINARIES/sparc += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.diz
 308     else
 309       ADD_SA_BINARIES/x86   += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.debuginfo
 310       ADD_SA_BINARIES/sparc += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.debuginfo
 311     endif
 312   endif
 313 endif
 314 ADD_SA_BINARIES/ppc   =
 315 ADD_SA_BINARIES/ia64  =
 316 ADD_SA_BINARIES/arm   =
 317 ADD_SA_BINARIES/zero  =
 318 
 319 -include $(HS_ALT_MAKE)/linux/makefiles/defs.make
 320 
 321 EXPORT_LIST += $(ADD_SA_BINARIES/$(HS_ARCH))


  97   endif
  98   HS_ARCH           = x86
  99 endif
 100 
 101 # PPC
 102 # Notice: after 8046471 ARCH will be 'ppc' for top-level ppc64 builds but
 103 # 'ppc64' for HotSpot-only ppc64 builds. Need to detect both variants here!
 104 ifneq (,$(findstring $(ARCH), ppc ppc64))
 105   ifeq ($(ARCH_DATA_MODEL), 64)
 106     MAKE_ARGS        += LP64=1
 107     PLATFORM         = linux-ppc64
 108     VM_PLATFORM      = linux_ppc64
 109   else
 110     ARCH_DATA_MODEL  = 32
 111     PLATFORM         = linux-ppc
 112     VM_PLATFORM      = linux_ppc
 113   endif
 114   HS_ARCH = ppc
 115 endif
 116 
 117 # AARCH64
 118 ifeq ($(ARCH), aarch64)
 119   ARCH_DATA_MODEL  = 64
 120   MAKE_ARGS        += LP64=1
 121   PLATFORM         = linux-aarch64
 122   VM_PLATFORM      = linux_aarch64
 123   HS_ARCH          = aarch64
 124 endif 
 125 
 126 # On 32 bit linux we build server and client, on 64 bit just server.
 127 ifeq ($(JVM_VARIANTS),)
 128   ifeq ($(ARCH_DATA_MODEL), 32)
 129     JVM_VARIANTS:=client,server
 130     JVM_VARIANT_CLIENT:=true
 131     JVM_VARIANT_SERVER:=true
 132   else
 133     JVM_VARIANTS:=server
 134     JVM_VARIANT_SERVER:=true
 135   endif
 136 endif
 137 
 138 # determine if HotSpot is being built in JDK6 or earlier version
 139 JDK6_OR_EARLIER=0
 140 ifeq "$(shell expr \( '$(JDK_MAJOR_VERSION)' != '' \& '$(JDK_MINOR_VERSION)' != '' \& '$(JDK_MICRO_VERSION)' != '' \))" "1"
 141   # if the longer variable names (newer build style) are set, then check those
 142   ifeq "$(shell expr \( $(JDK_MAJOR_VERSION) = 1 \& $(JDK_MINOR_VERSION) \< 7 \))" "1"
 143     JDK6_OR_EARLIER=1
 144   endif
 145 else


 291 ifeq ($(JVM_VARIANT_MINIMAL1),true)
 292   EXPORT_LIST += $(EXPORT_MINIMAL_DIR)/Xusage.txt
 293   EXPORT_LIST += $(EXPORT_MINIMAL_DIR)/libjvm.$(LIBRARY_SUFFIX)
 294 
 295   ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
 296     ifneq ($(STRIP_POLICY),no_strip)
 297       ifeq ($(ZIP_DEBUGINFO_FILES),1)
 298           EXPORT_LIST += $(EXPORT_MINIMAL_DIR)/libjvm.diz
 299       else
 300           EXPORT_LIST += $(EXPORT_MINIMAL_DIR)/libjvm.debuginfo
 301       endif
 302     endif
 303   endif
 304 endif
 305 
 306 # Serviceability Binaries
 307 # No SA Support for PPC, IA64, ARM or zero
 308 ADD_SA_BINARIES/x86   = $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.$(LIBRARY_SUFFIX) \
 309                         $(EXPORT_LIB_DIR)/sa-jdi.jar
 310 ADD_SA_BINARIES/sparc = $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.$(LIBRARY_SUFFIX) \
 311                         $(EXPORT_LIB_DIR)/sa-jdi.jar
 312 ADD_SA_BINARIES/aarch64 = $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.$(LIBRARY_SUFFIX) \
 313                         $(EXPORT_LIB_DIR)/sa-jdi.jar
 314 ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
 315   ifneq ($(STRIP_POLICY),no_strip)
 316     ifeq ($(ZIP_DEBUGINFO_FILES),1)
 317       ADD_SA_BINARIES/x86   += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.diz
 318       ADD_SA_BINARIES/sparc += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.diz
 319     else
 320       ADD_SA_BINARIES/x86   += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.debuginfo
 321       ADD_SA_BINARIES/sparc += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.debuginfo
 322     endif
 323   endif
 324 endif
 325 ADD_SA_BINARIES/ppc   =
 326 ADD_SA_BINARIES/ia64  =
 327 ADD_SA_BINARIES/arm   =
 328 ADD_SA_BINARIES/zero  =
 329 
 330 -include $(HS_ALT_MAKE)/linux/makefiles/defs.make
 331 
 332 EXPORT_LIST += $(ADD_SA_BINARIES/$(HS_ARCH))
< prev index next >