< prev index next >

make/hotspot/lib/JvmFeatures.gmk

Print this page

 30 # jvm features are selected for this jvm variant.
 31 
 32 ifeq ($(call check-jvm-feature, compiler1), true)
 33   JVM_CFLAGS_FEATURES += -DCOMPILER1
 34 else
 35   JVM_EXCLUDE_PATTERNS += c1_ c1/
 36 endif
 37 
 38 ifeq ($(call check-jvm-feature, compiler2), true)
 39   JVM_CFLAGS_FEATURES += -DCOMPILER2
 40   JVM_SRC_DIRS += $(JVM_VARIANT_OUTPUTDIR)/gensrc/adfiles
 41 else
 42   JVM_EXCLUDES += opto libadt
 43   JVM_EXCLUDE_FILES += bcEscapeAnalyzer.cpp ciTypeFlow.cpp
 44   JVM_EXCLUDE_PATTERNS += c2_ runtime_ /c2/
 45 endif
 46 
 47 ifeq ($(call check-jvm-feature, zero), true)
 48   JVM_EXCLUDES += opto libadt
 49   JVM_EXCLUDE_PATTERNS += c1_ c1/ c2_ runtime_ /c2/
 50   JVM_EXCLUDE_FILES += templateInterpreter.cpp \
 51       templateInterpreterGenerator.cpp bcEscapeAnalyzer.cpp ciTypeFlow.cpp
 52   JVM_CFLAGS_FEATURES += -DZERO \
 53       -DZERO_LIBARCH='"$(OPENJDK_TARGET_CPU_LEGACY_LIB)"' $(LIBFFI_CFLAGS)
 54   JVM_LIBS_FEATURES += $(LIBFFI_LIBS)
 55   ifeq ($(ENABLE_LIBFFI_BUNDLING), true)
 56     JVM_LDFLAGS_FEATURES += $(call SET_EXECUTABLE_ORIGIN,/..)
 57   endif
 58 else
 59   JVM_EXCLUDE_PATTERNS += /zero/
 60 endif
 61 
 62 ifeq ($(JVM_VARIANT), core)
 63   JVM_CFLAGS_FEATURES += -DVMTYPE=\"Core\"
 64 endif
 65 
 66 ifeq ($(JVM_VARIANT), custom)
 67   JVM_CFLAGS_FEATURES += -DVMTYPE=\"Custom\"
 68 endif
 69 
 70 ifeq ($(call check-jvm-feature, minimal), true)
 71   JVM_CFLAGS_FEATURES += -DMINIMAL_JVM -DVMTYPE=\"Minimal\"
 72   ifeq ($(call isTargetOs, linux), true)
 73     # Override the default -g with a more liberal strip policy for the

 30 # jvm features are selected for this jvm variant.
 31 
 32 ifeq ($(call check-jvm-feature, compiler1), true)
 33   JVM_CFLAGS_FEATURES += -DCOMPILER1
 34 else
 35   JVM_EXCLUDE_PATTERNS += c1_ c1/
 36 endif
 37 
 38 ifeq ($(call check-jvm-feature, compiler2), true)
 39   JVM_CFLAGS_FEATURES += -DCOMPILER2
 40   JVM_SRC_DIRS += $(JVM_VARIANT_OUTPUTDIR)/gensrc/adfiles
 41 else
 42   JVM_EXCLUDES += opto libadt
 43   JVM_EXCLUDE_FILES += bcEscapeAnalyzer.cpp ciTypeFlow.cpp
 44   JVM_EXCLUDE_PATTERNS += c2_ runtime_ /c2/
 45 endif
 46 
 47 ifeq ($(call check-jvm-feature, zero), true)
 48   JVM_EXCLUDES += opto libadt
 49   JVM_EXCLUDE_PATTERNS += c1_ c1/ c2_ runtime_ /c2/
 50   JVM_EXCLUDE_FILES += templateInterpreter.cpp templateInterpreterGenerator.cpp \
 51                        bcEscapeAnalyzer.cpp ciTypeFlow.cpp macroAssembler_common.cpp
 52   JVM_CFLAGS_FEATURES += -DZERO -DZERO_LIBARCH='"$(OPENJDK_TARGET_CPU_LEGACY_LIB)"' $(LIBFFI_CFLAGS)

 53   JVM_LIBS_FEATURES += $(LIBFFI_LIBS)
 54   ifeq ($(ENABLE_LIBFFI_BUNDLING), true)
 55     JVM_LDFLAGS_FEATURES += $(call SET_EXECUTABLE_ORIGIN,/..)
 56   endif
 57 else
 58   JVM_EXCLUDE_PATTERNS += /zero/
 59 endif
 60 
 61 ifeq ($(JVM_VARIANT), core)
 62   JVM_CFLAGS_FEATURES += -DVMTYPE=\"Core\"
 63 endif
 64 
 65 ifeq ($(JVM_VARIANT), custom)
 66   JVM_CFLAGS_FEATURES += -DVMTYPE=\"Custom\"
 67 endif
 68 
 69 ifeq ($(call check-jvm-feature, minimal), true)
 70   JVM_CFLAGS_FEATURES += -DMINIMAL_JVM -DVMTYPE=\"Minimal\"
 71   ifeq ($(call isTargetOs, linux), true)
 72     # Override the default -g with a more liberal strip policy for the
< prev index next >