author | chegar |
Wed, 12 Dec 2012 11:35:18 +0000 | |
changeset 14773 | aac1f6801eec |
parent 14123 | 944e56f74fba |
child 15482 | 470d0b0c09f1 |
permissions | -rw-r--r-- |
13975
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
1 |
# |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
2 |
# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
3 |
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
4 |
# |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
5 |
# This code is free software; you can redistribute it and/or modify it |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
6 |
# under the terms of the GNU General Public License version 2 only, as |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
7 |
# published by the Free Software Foundation. |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
8 |
# |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
9 |
# This code is distributed in the hope that it will be useful, but WITHOUT |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
10 |
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
11 |
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
12 |
# version 2 for more details (a copy is included in the LICENSE file that |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
13 |
# accompanied this code). |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
14 |
# |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
15 |
# You should have received a copy of the GNU General Public License version |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
16 |
# 2 along with this work; if not, write to the Free Software Foundation, |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
17 |
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
18 |
# |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
19 |
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
20 |
# or visit www.oracle.com if you need additional information or have any |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
21 |
# questions. |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
22 |
# |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
23 |
# |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
24 |
ifeq ($(INCLUDE_JVMTI), false) |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
25 |
CXXFLAGS += -DINCLUDE_JVMTI=0 |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
26 |
CFLAGS += -DINCLUDE_JVMTI=0 |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
27 |
|
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
28 |
Src_Files_EXCLUDE += jvmtiGetLoadedClasses.cpp forte.cpp jvmtiThreadState.cpp jvmtiExtensions.cpp \ |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
29 |
jvmtiImpl.cpp jvmtiManageCapabilities.cpp jvmtiRawMonitor.cpp jvmtiUtil.cpp jvmtiTrace.cpp \ |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
30 |
jvmtiCodeBlobEvents.cpp jvmtiEnv.cpp jvmtiRedefineClasses.cpp jvmtiEnvBase.cpp jvmtiEnvThreadState.cpp \ |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
31 |
jvmtiTagMap.cpp jvmtiEventController.cpp evmCompat.cpp jvmtiEnter.xsl jvmtiExport.cpp |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
32 |
endif |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
33 |
|
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
34 |
ifeq ($(INCLUDE_FPROF), false) |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
35 |
CXXFLAGS += -DINCLUDE_FPROF=0 |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
36 |
CFLAGS += -DINCLUDE_FPROF=0 |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
37 |
|
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
38 |
Src_Files_EXCLUDE += fprofiler.cpp |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
39 |
endif |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
40 |
|
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
41 |
ifeq ($(INCLUDE_VM_STRUCTS), false) |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
42 |
CXXFLAGS += -DINCLUDE_VM_STRUCTS=0 |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
43 |
CFLAGS += -DINCLUDE_VM_STRUCTS=0 |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
44 |
|
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
45 |
Src_Files_EXCLUDE += vmStructs.cpp |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
46 |
endif |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
47 |
|
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
48 |
ifeq ($(INCLUDE_JNI_CHECK), false) |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
49 |
CXXFLAGS += -DINCLUDE_JNI_CHECK=0 |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
50 |
CFLAGS += -DINCLUDE_JNI_CHECK=0 |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
51 |
|
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
52 |
Src_Files_EXCLUDE += jniCheck.cpp |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
53 |
endif |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
54 |
|
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
55 |
ifeq ($(INCLUDE_SERVICES), false) |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
56 |
CXXFLAGS += -DINCLUDE_SERVICES=0 |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
57 |
CFLAGS += -DINCLUDE_SERVICES=0 |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
58 |
|
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
59 |
Src_Files_EXCLUDE += heapDumper.cpp heapInspection.cpp \ |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
60 |
attachListener_linux.cpp attachListener.cpp |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
61 |
endif |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
62 |
|
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
63 |
ifeq ($(INCLUDE_MANAGEMENT), false) |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
64 |
CXXFLAGS += -DINCLUDE_MANAGEMENT=0 |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
65 |
CFLAGS += -DINCLUDE_MANAGEMENT=0 |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
66 |
endif |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
67 |
|
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
68 |
ifeq ($(INCLUDE_CDS), false) |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
69 |
CXXFLAGS += -DINCLUDE_CDS=0 |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
70 |
CFLAGS += -DINCLUDE_CDS=0 |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
71 |
|
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
72 |
Src_Files_EXCLUDE += metaspaceShared.cpp |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
73 |
endif |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
74 |
|
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
75 |
ifeq ($(INCLUDE_ALTERNATE_GCS), false) |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
76 |
CXXFLAGS += -DINCLUDE_ALTERNATE_GCS=0 |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
77 |
CFLAGS += -DINCLUDE_ALTERNATE_GCS=0 |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
78 |
|
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
79 |
CXXFLAGS += -DSERIALGC |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
80 |
CFLAGS += -DSERIALGC |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
81 |
Src_Files_EXCLUDE += \ |
14123
944e56f74fba
7045397: NPG: Add freelists to class loader arenas.
jmasa
parents:
13975
diff
changeset
|
82 |
cmsAdaptiveSizePolicy.cpp cmsCollectorPolicy.cpp \ |
13975
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
83 |
cmsGCAdaptivePolicyCounters.cpp cmsLockVerifier.cpp cmsPermGen.cpp compactibleFreeListSpace.cpp \ |
14123
944e56f74fba
7045397: NPG: Add freelists to class loader arenas.
jmasa
parents:
13975
diff
changeset
|
84 |
concurrentMarkSweepGeneration.cpp concurrentMarkSweepThread.cpp \ |
944e56f74fba
7045397: NPG: Add freelists to class loader arenas.
jmasa
parents:
13975
diff
changeset
|
85 |
freeChunk.cpp adaptiveFreeList.cpp promotionInfo.cpp vmCMSOperations.cpp collectionSetChooser.cpp \ |
13975
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
86 |
concurrentG1Refine.cpp concurrentG1RefineThread.cpp concurrentMark.cpp concurrentMarkThread.cpp \ |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
87 |
dirtyCardQueue.cpp g1AllocRegion.cpp g1BlockOffsetTable.cpp g1CollectedHeap.cpp g1GCPhaseTimes.cpp \ |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
88 |
g1CollectorPolicy.cpp g1ErgoVerbose.cpp g1_globals.cpp g1HRPrinter.cpp g1MarkSweep.cpp \ |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
89 |
g1MMUTracker.cpp g1MonitoringSupport.cpp g1RemSet.cpp g1SATBCardTableModRefBS.cpp heapRegion.cpp \ |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
90 |
heapRegionRemSet.cpp heapRegionSeq.cpp heapRegionSet.cpp heapRegionSets.cpp ptrQueue.cpp \ |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
91 |
satbQueue.cpp sparsePRT.cpp survRateGroup.cpp vm_operations_g1.cpp adjoiningGenerations.cpp \ |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
92 |
adjoiningVirtualSpaces.cpp asPSOldGen.cpp asPSYoungGen.cpp cardTableExtension.cpp \ |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
93 |
gcTaskManager.cpp gcTaskThread.cpp objectStartArray.cpp parallelScavengeHeap.cpp parMarkBitMap.cpp \ |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
94 |
pcTasks.cpp psAdaptiveSizePolicy.cpp psCompactionManager.cpp psGCAdaptivePolicyCounters.cpp \ |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
95 |
psGenerationCounters.cpp psMarkSweep.cpp psMarkSweepDecorator.cpp psOldGen.cpp psParallelCompact.cpp \ |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
96 |
psPermGen.cpp psPromotionLAB.cpp psPromotionManager.cpp psScavenge.cpp psTasks.cpp psVirtualspace.cpp \ |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
97 |
psYoungGen.cpp vmPSOperations.cpp asParNewGeneration.cpp parCardTableModRefBS.cpp \ |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
98 |
parGCAllocBuffer.cpp parNewGeneration.cpp mutableSpace.cpp gSpaceCounters.cpp allocationStats.cpp \ |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
99 |
spaceCounters.cpp gcAdaptivePolicyCounters.cpp mutableNUMASpace.cpp immutableSpace.cpp \ |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
100 |
immutableSpace.cpp g1MemoryPool.cpp psMemoryPool.cpp yieldWorkingGroup.cpp g1Log.cpp |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
101 |
endif |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
102 |
|
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
103 |
ifeq ($(INCLUDE_NMT), false) |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
104 |
CXXFLAGS += -DINCLUDE_NMT=0 |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
105 |
CFLAGS += -DINCLUDE_NMT=0 |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
106 |
|
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
107 |
Src_Files_EXCLUDE += \ |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
108 |
memBaseline.cpp memPtr.cpp memRecorder.cpp memReporter.cpp memSnapshot.cpp memTrackWorker.cpp \ |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
109 |
memTracker.cpp nmtDCmd.cpp |
2f7431485cfa
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
110 |
endif |