< prev index next >

make/excludeSrc.make

Print this page




  66 
  67 ifeq ($(INCLUDE_MANAGEMENT), false)
  68       CXXFLAGS += -DINCLUDE_MANAGEMENT=0
  69       CFLAGS += -DINCLUDE_MANAGEMENT=0
  70 endif
  71 
  72 ifeq ($(INCLUDE_CDS), false)
  73       CXXFLAGS += -DINCLUDE_CDS=0
  74       CFLAGS += -DINCLUDE_CDS=0
  75 
  76       Src_Files_EXCLUDE += filemap.cpp metaspaceShared*.cpp sharedPathsMiscInfo.cpp \
  77         systemDictionaryShared.cpp classLoaderExt.cpp sharedClassUtil.cpp
  78 endif
  79 
  80 ifeq ($(INCLUDE_ALL_GCS), false)
  81       CXXFLAGS += -DINCLUDE_ALL_GCS=0
  82       CFLAGS += -DINCLUDE_ALL_GCS=0
  83 
  84       gc_impl := $(HS_COMMON_SRC)/share/vm/gc_implementation
  85       gc_impl_alt := $(HS_ALT_SRC)/share/vm/gc_implementation
  86       gc_subdirs := concurrentMarkSweep g1 parallelScavenge parNew
  87       gc_exclude := $(foreach gc,$(gc_subdirs),                         \
  88                      $(notdir $(wildcard $(gc_impl)/$(gc)/*.cpp))       \
  89                      $(notdir $(wildcard $(gc_impl_alt)/$(gc)/*.cpp)))
  90       Src_Files_EXCLUDE += $(gc_exclude)
  91 
  92       # Exclude everything in $(gc_impl)/shared except the files listed
  93       # in $(gc_shared_keep).
  94       gc_shared_all := $(notdir $(wildcard $(gc_impl)/shared/*.cpp))
  95       gc_shared_keep :=                                                 \
  96         adaptiveSizePolicy.cpp                                          \
  97         ageTable.cpp                                                    \
  98         collectorCounters.cpp                                           \
  99         cSpaceCounters.cpp                                              \
 100         gcId.cpp                                                        \
 101         gcPolicyCounters.cpp                                            \
 102         gcStats.cpp                                                     \
 103         gcTimer.cpp                                                     \
 104         gcTrace.cpp                                                     \
 105         gcTraceSend.cpp                                                 \
 106         gcTraceTime.cpp                                                 \
 107         gcUtil.cpp                                                      \
 108         generationCounters.cpp                                          \
 109         markSweep.cpp                                                   \
 110         objectCountEventSender.cpp                                      \
 111         spaceDecorator.cpp                                              \
 112         vmGCOperations.cpp
 113       Src_Files_EXCLUDE += $(filter-out $(gc_shared_keep),$(gc_shared_all))
 114 
 115       # src/share/vm/services
 116       Src_Files_EXCLUDE +=                                              \
 117         g1MemoryPool.cpp                                                \

 118         psMemoryPool.cpp







 119 endif
 120 
 121 ifeq ($(INCLUDE_NMT), false)
 122       CXXFLAGS += -DINCLUDE_NMT=0
 123       CFLAGS += -DINCLUDE_NMT=0
 124 
 125       Src_Files_EXCLUDE += \
 126          memBaseline.cpp memReporter.cpp mallocTracker.cpp virtualMemoryTracker.cpp nmtCommon.cpp \
 127          memTracker.cpp nmtDCmd.cpp mallocSiteTable.cpp
 128 endif
 129 
 130 -include $(HS_ALT_MAKE)/excludeSrc.make
 131 
 132 .PHONY: $(HS_ALT_MAKE)/excludeSrc.make


  66 
  67 ifeq ($(INCLUDE_MANAGEMENT), false)
  68       CXXFLAGS += -DINCLUDE_MANAGEMENT=0
  69       CFLAGS += -DINCLUDE_MANAGEMENT=0
  70 endif
  71 
  72 ifeq ($(INCLUDE_CDS), false)
  73       CXXFLAGS += -DINCLUDE_CDS=0
  74       CFLAGS += -DINCLUDE_CDS=0
  75 
  76       Src_Files_EXCLUDE += filemap.cpp metaspaceShared*.cpp sharedPathsMiscInfo.cpp \
  77         systemDictionaryShared.cpp classLoaderExt.cpp sharedClassUtil.cpp
  78 endif
  79 
  80 ifeq ($(INCLUDE_ALL_GCS), false)
  81       CXXFLAGS += -DINCLUDE_ALL_GCS=0
  82       CFLAGS += -DINCLUDE_ALL_GCS=0
  83 
  84       gc_impl := $(HS_COMMON_SRC)/share/vm/gc_implementation
  85       gc_impl_alt := $(HS_ALT_SRC)/share/vm/gc_implementation
  86       gc_subdirs := concurrentMarkSweep g1 shenandoah shenandoah/heuristics parallelScavenge parNew
  87       gc_exclude := $(foreach gc,$(gc_subdirs),                         \
  88                      $(notdir $(wildcard $(gc_impl)/$(gc)/*.cpp))       \
  89                      $(notdir $(wildcard $(gc_impl_alt)/$(gc)/*.cpp)))
  90       Src_Files_EXCLUDE += $(gc_exclude)
  91 
  92       # Exclude everything in $(gc_impl)/shared except the files listed
  93       # in $(gc_shared_keep).
  94       gc_shared_all := $(notdir $(wildcard $(gc_impl)/shared/*.cpp))
  95       gc_shared_keep :=                                                 \
  96         adaptiveSizePolicy.cpp                                          \
  97         ageTable.cpp                                                    \
  98         collectorCounters.cpp                                           \
  99         cSpaceCounters.cpp                                              \
 100         gcId.cpp                                                        \
 101         gcPolicyCounters.cpp                                            \
 102         gcStats.cpp                                                     \
 103         gcTimer.cpp                                                     \
 104         gcTrace.cpp                                                     \
 105         gcTraceSend.cpp                                                 \
 106         gcTraceTime.cpp                                                 \
 107         gcUtil.cpp                                                      \
 108         generationCounters.cpp                                          \
 109         markSweep.cpp                                                   \
 110         objectCountEventSender.cpp                                      \
 111         spaceDecorator.cpp                                              \
 112         vmGCOperations.cpp
 113       Src_Files_EXCLUDE += $(filter-out $(gc_shared_keep),$(gc_shared_all))
 114 
 115       # src/share/vm/services
 116       Src_Files_EXCLUDE +=                                              \
 117         g1MemoryPool.cpp                                                \
 118         shenandoahMemoryPool.cpp                                        \
 119         psMemoryPool.cpp
 120 
 121       Src_Files_EXCLUDE +=                                              \
 122         shenandoahBarrierSetAssembler_x86.cpp                           \
 123         shenandoahBarrierSetAssembler_aarch64.cpp                       \
 124         shenandoahBarrierSetAssembler_ppc.cpp                           \
 125         shenandoahBarrierSetAssembler_sparc.cpp                         \
 126         shenandoahBarrierSetAssembler_zero.cpp
 127 endif
 128 
 129 ifeq ($(INCLUDE_NMT), false)
 130       CXXFLAGS += -DINCLUDE_NMT=0
 131       CFLAGS += -DINCLUDE_NMT=0
 132 
 133       Src_Files_EXCLUDE += \
 134          memBaseline.cpp memReporter.cpp mallocTracker.cpp virtualMemoryTracker.cpp nmtCommon.cpp \
 135          memTracker.cpp nmtDCmd.cpp mallocSiteTable.cpp
 136 endif
 137 
 138 -include $(HS_ALT_MAKE)/excludeSrc.make
 139 
 140 .PHONY: $(HS_ALT_MAKE)/excludeSrc.make
< prev index next >