< prev index next >

make/hotspot/lib/JvmFeatures.gmk

BarrierSetC1

14 # accompanied this code).                                                                                                            
15 #                                                                                                                                    
16 # You should have received a copy of the GNU General Public License version                                                          
17 # 2 along with this work; if not, write to the Free Software Foundation,                                                             
18 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.                                                                      
19 #                                                                                                                                    
20 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA                                                            
21 # or visit www.oracle.com if you need additional information or have any                                                             
22 # questions.                                                                                                                         
23 #                                                                                                                                    
24 
25 $(eval $(call IncludeCustomExtension, hotspot/lib/JvmFeatures.gmk))                                                                  
26 
27 ################################################################################                                                     
28 # Setup CFLAGS and EXCLUDES for the libjvm compilation, depending on which                                                           
29 # jvm features are selected for this jvm variant.                                                                                    
30 
31 ifeq ($(call check-jvm-feature, compiler1), true)                                                                                    
32   JVM_CFLAGS_FEATURES += -DCOMPILER1                                                                                                 
33 else                                                                                                                                 
34   JVM_EXCLUDE_PATTERNS += c1_                                                                                                        
35 endif                                                                                                                                
36 
37 ifeq ($(call check-jvm-feature, compiler2), true)                                                                                    
38   JVM_CFLAGS_FEATURES += -DCOMPILER2                                                                                                 
39   JVM_SRC_DIRS += $(JVM_VARIANT_OUTPUTDIR)/gensrc/adfiles                                                                            
40 else                                                                                                                                 
41   JVM_EXCLUDES += opto libadt                                                                                                        
42   JVM_EXCLUDE_FILES += bcEscapeAnalyzer.cpp ciTypeFlow.cpp                                                                           
43   JVM_EXCLUDE_PATTERNS += c2_ runtime_                                                                                               
44 endif                                                                                                                                
45 
46 ifeq ($(call check-jvm-feature, zero), true)                                                                                         
47   JVM_CFLAGS_FEATURES += -DZERO -DCC_INTERP -DZERO_LIBARCH='"$(OPENJDK_TARGET_CPU_LEGACY_LIB)"' $(LIBFFI_CFLAGS)                     
48   JVM_LIBS_FEATURES += $(LIBFFI_LIBS)                                                                                                
49   ifeq ($(OPENJDK_TARGET_CPU), sparcv9)                                                                                              
50     BUILD_LIBJVM_EXTRA_FILES := $(TOPDIR)/src/hotspot/cpu/sparc/memset_with_concurrent_readers_sparc.cpp                             
51   endif                                                                                                                              
52 endif                                                                                                                                
53 

14 # accompanied this code).
15 #
16 # You should have received a copy of the GNU General Public License version
17 # 2 along with this work; if not, write to the Free Software Foundation,
18 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
19 #
20 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
21 # or visit www.oracle.com if you need additional information or have any
22 # questions.
23 #
24 
25 $(eval $(call IncludeCustomExtension, hotspot/lib/JvmFeatures.gmk))
26 
27 ################################################################################
28 # Setup CFLAGS and EXCLUDES for the libjvm compilation, depending on which
29 # jvm features are selected for this jvm variant.
30 
31 ifeq ($(call check-jvm-feature, compiler1), true)
32   JVM_CFLAGS_FEATURES += -DCOMPILER1
33 else
34   JVM_EXCLUDE_PATTERNS += c1_ c1/
35 endif
36 
37 ifeq ($(call check-jvm-feature, compiler2), true)
38   JVM_CFLAGS_FEATURES += -DCOMPILER2
39   JVM_SRC_DIRS += $(JVM_VARIANT_OUTPUTDIR)/gensrc/adfiles
40 else
41   JVM_EXCLUDES += opto libadt
42   JVM_EXCLUDE_FILES += bcEscapeAnalyzer.cpp ciTypeFlow.cpp
43   JVM_EXCLUDE_PATTERNS += c2_ runtime_
44 endif
45 
46 ifeq ($(call check-jvm-feature, zero), true)
47   JVM_CFLAGS_FEATURES += -DZERO -DCC_INTERP -DZERO_LIBARCH='"$(OPENJDK_TARGET_CPU_LEGACY_LIB)"' $(LIBFFI_CFLAGS)
48   JVM_LIBS_FEATURES += $(LIBFFI_LIBS)
49   ifeq ($(OPENJDK_TARGET_CPU), sparcv9)
50     BUILD_LIBJVM_EXTRA_FILES := $(TOPDIR)/src/hotspot/cpu/sparc/memset_with_concurrent_readers_sparc.cpp
51   endif
52 endif
53 
< prev index next >