Mercurial > hg > graal-compiler
annotate make/excludeSrc.make @ 20869:aff67777d2ea
Better verification in assertSnippetKills.
author | Roland Schatz <roland.schatz@oracle.com> |
---|---|
date | Thu, 09 Apr 2015 15:04:09 +0200 |
parents | 7848fc12602b |
children | c28cb37b2e1d |
rev | line source |
---|---|
6854
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
1 # |
17753
191174b49bec
8035406: Improve data structure for Code Cache remembered sets
tschatzl
parents:
14485
diff
changeset
|
2 # Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. |
6854
fb19af007ffc
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. |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
4 # |
fb19af007ffc
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 |
fb19af007ffc
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 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
7 # published by the Free Software Foundation. |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
8 # |
fb19af007ffc
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 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
10 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
fb19af007ffc
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 |
fb19af007ffc
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 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
13 # accompanied this code). |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
14 # |
fb19af007ffc
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 |
fb19af007ffc
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, |
fb19af007ffc
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. |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
18 # |
fb19af007ffc
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 |
fb19af007ffc
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 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
21 # questions. |
10405 | 22 # |
6854
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
23 # |
20402
1202792c966e
8054970: gc src file exclusion should exclude alternative sources
jcoomes
parents:
20375
diff
changeset
|
24 |
1202792c966e
8054970: gc src file exclusion should exclude alternative sources
jcoomes
parents:
20375
diff
changeset
|
25 include $(GAMMADIR)/make/altsrc.make |
1202792c966e
8054970: gc src file exclusion should exclude alternative sources
jcoomes
parents:
20375
diff
changeset
|
26 |
6854
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
27 ifeq ($(INCLUDE_JVMTI), false) |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
28 CXXFLAGS += -DINCLUDE_JVMTI=0 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
29 CFLAGS += -DINCLUDE_JVMTI=0 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
30 |
10354
dcb062bea05b
8013461: There is a symbol AsyncGetCallTrace in libjvm.symbols that does not exist in minimal/libjvm.a when DEBUG_LEVEL == release
jprovino
parents:
10246
diff
changeset
|
31 Src_Files_EXCLUDE += jvmtiGetLoadedClasses.cpp jvmtiThreadState.cpp jvmtiExtensions.cpp \ |
6854
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
32 jvmtiImpl.cpp jvmtiManageCapabilities.cpp jvmtiRawMonitor.cpp jvmtiUtil.cpp jvmtiTrace.cpp \ |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
33 jvmtiCodeBlobEvents.cpp jvmtiEnv.cpp jvmtiRedefineClasses.cpp jvmtiEnvBase.cpp jvmtiEnvThreadState.cpp \ |
8829
728b89404e34
8009904: jvmtiClassFileReconstituter.cpp needs to be excluded from the minimal jvm
jprovino
parents:
8720
diff
changeset
|
34 jvmtiTagMap.cpp jvmtiEventController.cpp evmCompat.cpp jvmtiEnter.xsl jvmtiExport.cpp \ |
728b89404e34
8009904: jvmtiClassFileReconstituter.cpp needs to be excluded from the minimal jvm
jprovino
parents:
8720
diff
changeset
|
35 jvmtiClassFileReconstituter.cpp |
6854
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
36 endif |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
37 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
38 ifeq ($(INCLUDE_FPROF), false) |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
39 CXXFLAGS += -DINCLUDE_FPROF=0 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
40 CFLAGS += -DINCLUDE_FPROF=0 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
41 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
42 Src_Files_EXCLUDE += fprofiler.cpp |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
43 endif |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
44 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
45 ifeq ($(INCLUDE_VM_STRUCTS), false) |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
46 CXXFLAGS += -DINCLUDE_VM_STRUCTS=0 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
47 CFLAGS += -DINCLUDE_VM_STRUCTS=0 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
48 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
49 Src_Files_EXCLUDE += vmStructs.cpp |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
50 endif |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
51 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
52 ifeq ($(INCLUDE_JNI_CHECK), false) |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
53 CXXFLAGS += -DINCLUDE_JNI_CHECK=0 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
54 CFLAGS += -DINCLUDE_JNI_CHECK=0 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
55 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
56 Src_Files_EXCLUDE += jniCheck.cpp |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
57 endif |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
58 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
59 ifeq ($(INCLUDE_SERVICES), false) |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
60 CXXFLAGS += -DINCLUDE_SERVICES=0 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
61 CFLAGS += -DINCLUDE_SERVICES=0 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
62 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
63 Src_Files_EXCLUDE += heapDumper.cpp heapInspection.cpp \ |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
64 attachListener_linux.cpp attachListener.cpp |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
65 endif |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
66 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
67 ifeq ($(INCLUDE_MANAGEMENT), false) |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
68 CXXFLAGS += -DINCLUDE_MANAGEMENT=0 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
69 CFLAGS += -DINCLUDE_MANAGEMENT=0 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
70 endif |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
71 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
72 ifeq ($(INCLUDE_CDS), false) |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
73 CXXFLAGS += -DINCLUDE_CDS=0 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
74 CFLAGS += -DINCLUDE_CDS=0 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
75 |
20375
6e0cb14ce59b
8046070: Class Data Sharing clean up and refactoring
iklam
parents:
20360
diff
changeset
|
76 Src_Files_EXCLUDE += filemap.cpp metaspaceShared*.cpp sharedPathsMiscInfo.cpp \ |
6e0cb14ce59b
8046070: Class Data Sharing clean up and refactoring
iklam
parents:
20360
diff
changeset
|
77 systemDictionaryShared.cpp classLoaderExt.cpp sharedClassUtil.cpp |
6854
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
78 endif |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
79 |
8001
db9981fd3124
8005915: Unify SERIALGC and INCLUDE_ALTERNATE_GCS
jprovino
parents:
6885
diff
changeset
|
80 ifeq ($(INCLUDE_ALL_GCS), false) |
db9981fd3124
8005915: Unify SERIALGC and INCLUDE_ALTERNATE_GCS
jprovino
parents:
6885
diff
changeset
|
81 CXXFLAGS += -DINCLUDE_ALL_GCS=0 |
db9981fd3124
8005915: Unify SERIALGC and INCLUDE_ALTERNATE_GCS
jprovino
parents:
6885
diff
changeset
|
82 CFLAGS += -DINCLUDE_ALL_GCS=0 |
6854
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
83 |
20402
1202792c966e
8054970: gc src file exclusion should exclude alternative sources
jcoomes
parents:
20375
diff
changeset
|
84 gc_impl := $(HS_COMMON_SRC)/share/vm/gc_implementation |
1202792c966e
8054970: gc src file exclusion should exclude alternative sources
jcoomes
parents:
20375
diff
changeset
|
85 gc_impl_alt := $(HS_ALT_SRC)/share/vm/gc_implementation |
1202792c966e
8054970: gc src file exclusion should exclude alternative sources
jcoomes
parents:
20375
diff
changeset
|
86 gc_subdirs := concurrentMarkSweep g1 parallelScavenge parNew |
1202792c966e
8054970: gc src file exclusion should exclude alternative sources
jcoomes
parents:
20375
diff
changeset
|
87 gc_exclude := $(foreach gc,$(gc_subdirs), \ |
1202792c966e
8054970: gc src file exclusion should exclude alternative sources
jcoomes
parents:
20375
diff
changeset
|
88 $(notdir $(wildcard $(gc_impl)/$(gc)/*.cpp)) \ |
1202792c966e
8054970: gc src file exclusion should exclude alternative sources
jcoomes
parents:
20375
diff
changeset
|
89 $(notdir $(wildcard $(gc_impl_alt)/$(gc)/*.cpp))) |
20210
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
90 Src_Files_EXCLUDE += $(gc_exclude) |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
91 |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
92 # Exclude everything in $(gc_impl)/shared except the files listed |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
93 # in $(gc_shared_keep). |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
94 gc_shared_all := $(notdir $(wildcard $(gc_impl)/shared/*.cpp)) |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
95 gc_shared_keep := \ |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
96 adaptiveSizePolicy.cpp \ |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
97 ageTable.cpp \ |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
98 collectorCounters.cpp \ |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
99 cSpaceCounters.cpp \ |
20558
9609f24cecee
8049411: Minimal VM build broken after gcId.cpp was added
stefank
parents:
20402
diff
changeset
|
100 gcId.cpp \ |
20210
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
101 gcPolicyCounters.cpp \ |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
102 gcStats.cpp \ |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
103 gcTimer.cpp \ |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
104 gcTrace.cpp \ |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
105 gcTraceSend.cpp \ |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
106 gcTraceTime.cpp \ |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
107 gcUtil.cpp \ |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
108 generationCounters.cpp \ |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
109 markSweep.cpp \ |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
110 objectCountEventSender.cpp \ |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
111 spaceDecorator.cpp \ |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
112 vmGCOperations.cpp |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
113 Src_Files_EXCLUDE += $(filter-out $(gc_shared_keep),$(gc_shared_all)) |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
114 |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
115 # src/share/vm/services |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
116 Src_Files_EXCLUDE += \ |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
117 g1MemoryPool.cpp \ |
3a62cd59c8d8
8042255: make gc src file exclusion more automatic
jcoomes
parents:
17764
diff
changeset
|
118 psMemoryPool.cpp |
10405 | 119 endif |
6854
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
120 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
121 ifeq ($(INCLUDE_NMT), false) |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
122 CXXFLAGS += -DINCLUDE_NMT=0 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
123 CFLAGS += -DINCLUDE_NMT=0 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
124 |
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
125 Src_Files_EXCLUDE += \ |
20360 | 126 memBaseline.cpp memReporter.cpp mallocTracker.cpp virtualMemoryTracker.cpp nmtCommon.cpp \ |
127 memTracker.cpp nmtDCmd.cpp mallocSiteTable.cpp | |
6854
fb19af007ffc
7189254: Change makefiles for more flexibility to override defaults
jprovino
parents:
diff
changeset
|
128 endif |
10405 | 129 |
130 -include $(HS_ALT_MAKE)/excludeSrc.make | |
11035 | 131 |
132 .PHONY: $(HS_ALT_MAKE)/excludeSrc.make |