< prev index next >

make/excludeSrc.make

Print this page
rev 8362 : [mq]: hotspot
   1 #
   2 # Copyright (c) 2014, 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 #


  64         attachListener_linux.cpp attachListener.cpp
  65 endif
  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
   1 #
   2 # Copyright (c) 2014, 2015, 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 #


  64         attachListener_linux.cpp attachListener.cpp
  65 endif
  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_dir := $(HS_COMMON_SRC)/share/vm/gc
  85       gc_dir_alt := $(HS_ALT_SRC)/share/vm/gc
  86       gc_subdirs := cms g1 parallel
  87       gc_exclude := $(foreach gc,$(gc_subdirs),                         \
  88                      $(notdir $(wildcard $(gc_dir)/$(gc)/*.cpp))        \
  89                      $(notdir $(wildcard $(gc_dir_alt)/$(gc)/*.cpp)))
  90       Src_Files_EXCLUDE += $(gc_exclude)
  91 
  92       # Exclude everything in $(gc_dir)/shared except the files listed
  93       # in $(gc_shared_keep).
  94       gc_shared_all := $(notdir $(wildcard $(gc_dir)/shared/*.cpp))
  95       gc_shared_keep :=                                                 \
  96         adaptiveSizePolicy.cpp                                          \
  97         ageTable.cpp                                                    \
  98         allocTracer.cpp                                                 \
  99         barrierSet.cpp                                                  \
 100         blockOffsetTable.cpp                                            \
 101         cardGeneration.cpp                                              \
 102         cardTableModRefBS.cpp                                           \
 103         cardTableRS.cpp                                                 \
 104         collectedHeap.cpp                                               \
 105         collectorCounters.cpp                                           \
 106         collectorPolicy.cpp                                             \
 107         cSpaceCounters.cpp                                              \
 108         gcCause.cpp                                                     \
 109         gcId.cpp                                                        \
 110         gcLocker.cpp                                                    \
 111         gcPolicyCounters.cpp                                            \
 112         gcStats.cpp                                                     \
 113         gcTimer.cpp                                                     \
 114         gcTrace.cpp                                                     \
 115         gcTraceSend.cpp                                                 \
 116         gcTraceTime.cpp                                                 \
 117         gcUtil.cpp                                                      \
 118         genCollectedHeap.cpp                                            \
 119         generation.cpp                                                  \
 120         generationCounters.cpp                                          \
 121         generationSpec.cpp                                              \
 122         genOopClosures.cpp                                              \
 123         genRemSet.cpp                                                   \
 124         objectCountEventSender.cpp                                      \
 125         referencePolicy.cpp                                             \
 126         referenceProcessor.cpp                                          \
 127         referenceProcessorStats.cpp                                     \
 128         space.cpp                                                       \
 129         spaceDecorator.cpp                                              \
 130         strongRootsScope.cpp                                            \
 131         taskqueue.cpp                                                   \
 132         threadLocalAllocBuffer.cpp                                      \
 133         vmGCOperations.cpp                                              \
 134         workgroup.cpp
 135       Src_Files_EXCLUDE += $(filter-out $(gc_shared_keep),$(gc_shared_all))
 136 
 137       # src/share/vm/services
 138       Src_Files_EXCLUDE +=                                              \
 139         g1MemoryPool.cpp                                                \
 140         psMemoryPool.cpp
 141 endif
 142 
 143 ifeq ($(INCLUDE_NMT), false)
 144       CXXFLAGS += -DINCLUDE_NMT=0
 145       CFLAGS += -DINCLUDE_NMT=0
 146 
 147       Src_Files_EXCLUDE += \
 148          memBaseline.cpp memReporter.cpp mallocTracker.cpp virtualMemoryTracker.cpp nmtCommon.cpp \
 149          memTracker.cpp nmtDCmd.cpp mallocSiteTable.cpp
 150 endif
 151 
 152 -include $(HS_ALT_MAKE)/excludeSrc.make
 153 
 154 .PHONY: $(HS_ALT_MAKE)/excludeSrc.make
< prev index next >