author | duke |
Wed, 05 Jul 2017 22:53:30 +0200 | |
changeset 43880 | b5015f742ba6 |
parent 42649 | 28238583a459 |
permissions | -rw-r--r-- |
42649
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
1 |
# |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
2 |
# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
3 |
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
4 |
# |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
5 |
# This code is free software; you can redistribute it and/or modify it |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
6 |
# under the terms of the GNU General Public License version 2 only, as |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
7 |
# published by the Free Software Foundation. Oracle designates this |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
8 |
# particular file as subject to the "Classpath" exception as provided |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
9 |
# by Oracle in the LICENSE file that accompanied this code. |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
10 |
# |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
11 |
# This code is distributed in the hope that it will be useful, but WITHOUT |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
12 |
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
13 |
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
14 |
# version 2 for more details (a copy is included in the LICENSE file that |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
15 |
# accompanied this code). |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
16 |
# |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
17 |
# You should have received a copy of the GNU General Public License version |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
18 |
# 2 along with this work; if not, write to the Free Software Foundation, |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
19 |
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
20 |
# |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
21 |
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
22 |
# or visit www.oracle.com if you need additional information or have any |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
23 |
# questions. |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
24 |
# |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
25 |
|
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
26 |
default: all |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
27 |
|
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
28 |
include $(SPEC) |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
29 |
include MakeBase.gmk |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
30 |
|
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
31 |
$(eval $(call IncludeCustomExtension, hotspot, gensrc/Gensrc-jdk.vm.compiler.gmk)) |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
32 |
|
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
33 |
GENSRC_DIR := $(SUPPORT_OUTPUTDIR)/gensrc/$(MODULE) |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
34 |
SRC_DIR := $(HOTSPOT_TOPDIR)/src/$(MODULE)/share/classes |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
35 |
|
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
36 |
################################################################################ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
37 |
|
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
38 |
PROC_SRC_SUBDIRS := \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
39 |
org.graalvm.compiler.code \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
40 |
org.graalvm.compiler.common \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
41 |
org.graalvm.compiler.core \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
42 |
org.graalvm.compiler.core.aarch64 \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
43 |
org.graalvm.compiler.core.amd64 \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
44 |
org.graalvm.compiler.core.common \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
45 |
org.graalvm.compiler.core.sparc \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
46 |
org.graalvm.compiler.debug \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
47 |
org.graalvm.compiler.hotspot \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
48 |
org.graalvm.compiler.hotspot.aarch64 \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
49 |
org.graalvm.compiler.hotspot.amd64 \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
50 |
org.graalvm.compiler.hotspot.sparc \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
51 |
org.graalvm.compiler.graph \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
52 |
org.graalvm.compiler.java \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
53 |
org.graalvm.compiler.lir \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
54 |
org.graalvm.compiler.lir.amd64 \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
55 |
org.graalvm.compiler.loop \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
56 |
org.graalvm.compiler.loop.phases \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
57 |
org.graalvm.compiler.nodes \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
58 |
org.graalvm.compiler.replacements \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
59 |
org.graalvm.compiler.replacements.aarch64 \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
60 |
org.graalvm.compiler.replacements.amd64 \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
61 |
org.graalvm.compiler.phases \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
62 |
org.graalvm.compiler.phases.common \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
63 |
org.graalvm.compiler.printer \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
64 |
org.graalvm.compiler.virtual \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
65 |
# |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
66 |
|
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
67 |
PROC_SRC_DIRS := $(patsubst %, $(SRC_DIR)/%/src, $(PROC_SRC_SUBDIRS)) |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
68 |
|
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
69 |
PROC_SRCS := $(filter %.java, $(call CacheFind, $(PROC_SRC_DIRS))) |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
70 |
|
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
71 |
ALL_SRC_DIRS := $(wildcard $(SRC_DIR)/*/src) |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
72 |
SOURCEPATH := $(call PathList, $(ALL_SRC_DIRS)) |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
73 |
|
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
74 |
PROCESSOR_JARS := \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
75 |
$(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.match.processor.jar \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
76 |
$(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.nodeinfo.processor.jar \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
77 |
$(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.options.processor.jar \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
78 |
$(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.replacements.verifier.jar \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
79 |
$(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.serviceprovider.processor.jar \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
80 |
# |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
81 |
PROCESSOR_PATH := $(call PathList, $(PROCESSOR_JARS)) |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
82 |
|
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
83 |
ADD_EXPORTS := \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
84 |
--add-exports jdk.vm.ci/jdk.vm.ci.aarch64=ALL-UNNAMED \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
85 |
--add-exports jdk.vm.ci/jdk.vm.ci.amd64=ALL-UNNAMED \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
86 |
--add-exports jdk.vm.ci/jdk.vm.ci.code=ALL-UNNAMED \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
87 |
--add-exports jdk.vm.ci/jdk.vm.ci.code.site=ALL-UNNAMED \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
88 |
--add-exports jdk.vm.ci/jdk.vm.ci.code.stack=ALL-UNNAMED \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
89 |
--add-exports jdk.vm.ci/jdk.vm.ci.common=ALL-UNNAMED \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
90 |
--add-exports jdk.vm.ci/jdk.vm.ci.hotspot=ALL-UNNAMED \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
91 |
--add-exports jdk.vm.ci/jdk.vm.ci.hotspot.aarch64=ALL-UNNAMED \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
92 |
--add-exports jdk.vm.ci/jdk.vm.ci.hotspot.amd64=ALL-UNNAMED \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
93 |
--add-exports jdk.vm.ci/jdk.vm.ci.hotspot.events=ALL-UNNAMED \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
94 |
--add-exports jdk.vm.ci/jdk.vm.ci.hotspot.sparc=ALL-UNNAMED \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
95 |
--add-exports jdk.vm.ci/jdk.vm.ci.hotspotvmconfig=ALL-UNNAMED \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
96 |
--add-exports jdk.vm.ci/jdk.vm.ci.inittimer=ALL-UNNAMED \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
97 |
--add-exports jdk.vm.ci/jdk.vm.ci.meta=ALL-UNNAMED \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
98 |
--add-exports jdk.vm.ci/jdk.vm.ci.runtime=ALL-UNNAMED \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
99 |
--add-exports jdk.vm.ci/jdk.vm.ci.services=ALL-UNNAMED \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
100 |
--add-exports jdk.vm.ci/jdk.vm.ci.sparc=ALL-UNNAMED \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
101 |
# |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
102 |
|
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
103 |
$(GENSRC_DIR)/_gensrc_proc_done: $(PROC_SRCS) $(PROCESSOR_JARS) |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
104 |
$(call MakeDir, $(@D)) |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
105 |
$(eval $(call ListPathsSafely,PROC_SRCS,$(@D)/_gensrc_proc_files)) |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
106 |
$(JAVA_SMALL) $(NEW_JAVAC) \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
107 |
-XDignore.symbol.file \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
108 |
--upgrade-module-path $(JDK_OUTPUTDIR)/modules --system none \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
109 |
$(ADD_EXPORTS) \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
110 |
-sourcepath $(SOURCEPATH) \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
111 |
-implicit:none \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
112 |
-proc:only \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
113 |
-processorpath $(PROCESSOR_PATH) \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
114 |
-d $(GENSRC_DIR) \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
115 |
-s $(GENSRC_DIR) \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
116 |
@$(@D)/_gensrc_proc_files |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
117 |
$(TOUCH) $@ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
118 |
|
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
119 |
TARGETS += $(GENSRC_DIR)/_gensrc_proc_done |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
120 |
|
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
121 |
################################################################################ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
122 |
|
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
123 |
$(GENSRC_DIR)/module-info.java.extra: $(GENSRC_DIR)/_gensrc_proc_done |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
124 |
($(CD) $(GENSRC_DIR)/META-INF/providers && \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
125 |
p=""; \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
126 |
for i in $$($(LS)); do \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
127 |
c=$$($(CAT) $$i | $(TR) -d '\n\r'); \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
128 |
if test x$$p != x$$c; then \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
129 |
if test x$$p != x; then \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
130 |
$(ECHO) " ;" >> $@; \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
131 |
fi; \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
132 |
$(ECHO) "provides $$c with" >> $@; \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
133 |
p=$$c; \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
134 |
fi; \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
135 |
$(ECHO) " $$i," >> $@; \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
136 |
done); \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
137 |
$(ECHO) " ;" >> $@; \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
138 |
$(ECHO) "uses org.graalvm.compiler.options.OptionDescriptors;" >> $@; \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
139 |
$(ECHO) "provides org.graalvm.compiler.options.OptionDescriptors with" >> $@; \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
140 |
for i in $$($(FIND) $(GENSRC_DIR) -name '*_OptionDescriptors.java'); do \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
141 |
c=$$($(ECHO) $$i | $(SED) 's:.*/jdk\.vm\.compiler/\(.*\)\.java:\1:' | $(TR) '/' '.'); \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
142 |
$(ECHO) " $$c," >> $@; \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
143 |
done; \ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
144 |
$(ECHO) " ;" >> $@; |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
145 |
|
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
146 |
TARGETS += $(GENSRC_DIR)/module-info.java.extra |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
147 |
|
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
148 |
################################################################################ |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
149 |
|
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
150 |
all: $(TARGETS) |
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
151 |
|
28238583a459
8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff
changeset
|
152 |
.PHONY: default all |