Mercurial > hg > truffle
comparison make/excludeSrc.make @ 6854:fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
Summary: Change makefiles so that targets and parameters can be overridden by alternate makefiles.
Reviewed-by: dholmes, coleenp
author | jprovino |
---|---|
date | Wed, 10 Oct 2012 14:35:58 -0400 |
parents | |
children | 685df3c6f84b |
comparison
equal
deleted
inserted
replaced
6830:81e878c53615 | 6854:fb19af007ffc |
---|---|
1 # | |
2 # Copyright (c) 2012, 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 # | |
23 # | |
24 ifeq ($(INCLUDE_JVMTI), false) | |
25 CXXFLAGS += -DINCLUDE_JVMTI=0 | |
26 CFLAGS += -DINCLUDE_JVMTI=0 | |
27 | |
28 Src_Files_EXCLUDE += jvmtiGetLoadedClasses.cpp forte.cpp jvmtiThreadState.cpp jvmtiExtensions.cpp \ | |
29 jvmtiImpl.cpp jvmtiManageCapabilities.cpp jvmtiRawMonitor.cpp jvmtiUtil.cpp jvmtiTrace.cpp \ | |
30 jvmtiCodeBlobEvents.cpp jvmtiEnv.cpp jvmtiRedefineClasses.cpp jvmtiEnvBase.cpp jvmtiEnvThreadState.cpp \ | |
31 jvmtiTagMap.cpp jvmtiEventController.cpp evmCompat.cpp jvmtiEnter.xsl jvmtiExport.cpp | |
32 endif | |
33 | |
34 ifeq ($(INCLUDE_FPROF), false) | |
35 CXXFLAGS += -DINCLUDE_FPROF=0 | |
36 CFLAGS += -DINCLUDE_FPROF=0 | |
37 | |
38 Src_Files_EXCLUDE += fprofiler.cpp | |
39 endif | |
40 | |
41 ifeq ($(INCLUDE_VM_STRUCTS), false) | |
42 CXXFLAGS += -DINCLUDE_VM_STRUCTS=0 | |
43 CFLAGS += -DINCLUDE_VM_STRUCTS=0 | |
44 | |
45 Src_Files_EXCLUDE += vmStructs.cpp | |
46 endif | |
47 | |
48 ifeq ($(INCLUDE_JNI_CHECK), false) | |
49 CXXFLAGS += -DINCLUDE_JNI_CHECK=0 | |
50 CFLAGS += -DINCLUDE_JNI_CHECK=0 | |
51 | |
52 Src_Files_EXCLUDE += jniCheck.cpp | |
53 endif | |
54 | |
55 ifeq ($(INCLUDE_SERVICES), false) | |
56 CXXFLAGS += -DINCLUDE_SERVICES=0 | |
57 CFLAGS += -DINCLUDE_SERVICES=0 | |
58 | |
59 Src_Files_EXCLUDE += heapDumper.cpp heapInspection.cpp \ | |
60 attachListener_linux.cpp attachListener.cpp | |
61 endif | |
62 | |
63 ifeq ($(INCLUDE_MANAGEMENT), false) | |
64 CXXFLAGS += -DINCLUDE_MANAGEMENT=0 | |
65 CFLAGS += -DINCLUDE_MANAGEMENT=0 | |
66 endif | |
67 | |
68 ifeq ($(INCLUDE_CDS), false) | |
69 CXXFLAGS += -DINCLUDE_CDS=0 | |
70 CFLAGS += -DINCLUDE_CDS=0 | |
71 | |
72 Src_Files_EXCLUDE += metaspaceShared.cpp | |
73 endif | |
74 | |
75 ifeq ($(INCLUDE_ALTERNATE_GCS), false) | |
76 CXXFLAGS += -DINCLUDE_ALTERNATE_GCS=0 | |
77 CFLAGS += -DINCLUDE_ALTERNATE_GCS=0 | |
78 | |
79 CXXFLAGS += -DSERIALGC | |
80 CFLAGS += -DSERIALGC | |
81 Src_Files_EXCLUDE += \ | |
82 binaryTreeDictionary.cpp cmsAdaptiveSizePolicy.cpp cmsCollectorPolicy.cpp \ | |
83 cmsGCAdaptivePolicyCounters.cpp cmsLockVerifier.cpp cmsPermGen.cpp compactibleFreeListSpace.cpp \ | |
84 concurrentMarkSweepGeneration.cpp concurrentMarkSweepThread.cpp freeBlockDictionary.cpp \ | |
85 freeChunk.cpp freeList.cpp promotionInfo.cpp vmCMSOperations.cpp collectionSetChooser.cpp \ | |
86 concurrentG1Refine.cpp concurrentG1RefineThread.cpp concurrentMark.cpp concurrentMarkThread.cpp \ | |
87 dirtyCardQueue.cpp g1AllocRegion.cpp g1BlockOffsetTable.cpp g1CollectedHeap.cpp g1GCPhaseTimes.cpp \ | |
88 g1CollectorPolicy.cpp g1ErgoVerbose.cpp g1_globals.cpp g1HRPrinter.cpp g1MarkSweep.cpp \ | |
89 g1MMUTracker.cpp g1MonitoringSupport.cpp g1RemSet.cpp g1SATBCardTableModRefBS.cpp heapRegion.cpp \ | |
90 heapRegionRemSet.cpp heapRegionSeq.cpp heapRegionSet.cpp heapRegionSets.cpp ptrQueue.cpp \ | |
91 satbQueue.cpp sparsePRT.cpp survRateGroup.cpp vm_operations_g1.cpp adjoiningGenerations.cpp \ | |
92 adjoiningVirtualSpaces.cpp asPSOldGen.cpp asPSYoungGen.cpp cardTableExtension.cpp \ | |
93 gcTaskManager.cpp gcTaskThread.cpp objectStartArray.cpp parallelScavengeHeap.cpp parMarkBitMap.cpp \ | |
94 pcTasks.cpp psAdaptiveSizePolicy.cpp psCompactionManager.cpp psGCAdaptivePolicyCounters.cpp \ | |
95 psGenerationCounters.cpp psMarkSweep.cpp psMarkSweepDecorator.cpp psOldGen.cpp psParallelCompact.cpp \ | |
96 psPermGen.cpp psPromotionLAB.cpp psPromotionManager.cpp psScavenge.cpp psTasks.cpp psVirtualspace.cpp \ | |
97 psYoungGen.cpp vmPSOperations.cpp asParNewGeneration.cpp parCardTableModRefBS.cpp \ | |
98 parGCAllocBuffer.cpp parNewGeneration.cpp mutableSpace.cpp gSpaceCounters.cpp allocationStats.cpp \ | |
99 spaceCounters.cpp gcAdaptivePolicyCounters.cpp mutableNUMASpace.cpp immutableSpace.cpp \ | |
100 immutableSpace.cpp g1MemoryPool.cpp psMemoryPool.cpp yieldWorkingGroup.cpp g1Log.cpp | |
101 endif | |
102 | |
103 ifeq ($(INCLUDE_NMT), false) | |
104 CXXFLAGS += -DINCLUDE_NMT=0 | |
105 CFLAGS += -DINCLUDE_NMT=0 | |
106 | |
107 Src_Files_EXCLUDE += \ | |
108 memBaseline.cpp memPtr.cpp memRecorder.cpp memReporter.cpp memSnapshot.cpp memTrackWorker.cpp \ | |
109 memTracker.cpp nmtDCmd.cpp | |
110 endif |