18 # 2 along with this work; if not, write to the Free Software Foundation,
19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 #
21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 # or visit www.oracle.com if you need additional information or have any
23 # questions.
24 #
25
26 # This must be the first rule
27 default: all
28
29 include $(SPEC)
30 include MakeBase.gmk
31
32 include JavaCompilation.gmk
33 include SetupJavaCompilers.gmk
34
35 TARGETS :=
36
37 # Hook to include the corresponding custom file, if present.
38 $(eval $(call IncludeCustomExtension, , hotspot/CompileTools.gmk))
39
40 ifeq ($(INCLUDE_GRAAL), true)
41 VM_CI_SRC_DIR := $(TOPDIR)/src/jdk.internal.vm.ci/share/classes
42
43 SRC_DIR := $(TOPDIR)/src/jdk.internal.vm.compiler/share/classes
44
45 ##############################################################################
46 # Compile the annotation processors
47 $(eval $(call SetupJavaCompilation, BUILD_VM_COMPILER_MATCH_PROCESSOR, \
48 SETUP := GENERATE_OLDBYTECODE, \
49 SRC := \
50 $(SRC_DIR)/org.graalvm.word/src \
51 $(SRC_DIR)/org.graalvm.compiler.core/src \
52 $(SRC_DIR)/org.graalvm.compiler.core.common/src \
53 $(SRC_DIR)/org.graalvm.compiler.core.match.processor/src \
54 $(SRC_DIR)/org.graalvm.compiler.api.replacements/src \
55 $(SRC_DIR)/org.graalvm.compiler.asm/src \
56 $(SRC_DIR)/org.graalvm.compiler.bytecode/src \
57 $(SRC_DIR)/org.graalvm.compiler.code/src \
58 $(SRC_DIR)/org.graalvm.compiler.debug/src \
|
18 # 2 along with this work; if not, write to the Free Software Foundation,
19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 #
21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 # or visit www.oracle.com if you need additional information or have any
23 # questions.
24 #
25
26 # This must be the first rule
27 default: all
28
29 include $(SPEC)
30 include MakeBase.gmk
31
32 include JavaCompilation.gmk
33 include SetupJavaCompilers.gmk
34
35 TARGETS :=
36
37 # Hook to include the corresponding custom file, if present.
38 $(eval $(call IncludeCustomExtension, hotspot/CompileTools.gmk))
39
40 ifeq ($(INCLUDE_GRAAL), true)
41 VM_CI_SRC_DIR := $(TOPDIR)/src/jdk.internal.vm.ci/share/classes
42
43 SRC_DIR := $(TOPDIR)/src/jdk.internal.vm.compiler/share/classes
44
45 ##############################################################################
46 # Compile the annotation processors
47 $(eval $(call SetupJavaCompilation, BUILD_VM_COMPILER_MATCH_PROCESSOR, \
48 SETUP := GENERATE_OLDBYTECODE, \
49 SRC := \
50 $(SRC_DIR)/org.graalvm.word/src \
51 $(SRC_DIR)/org.graalvm.compiler.core/src \
52 $(SRC_DIR)/org.graalvm.compiler.core.common/src \
53 $(SRC_DIR)/org.graalvm.compiler.core.match.processor/src \
54 $(SRC_DIR)/org.graalvm.compiler.api.replacements/src \
55 $(SRC_DIR)/org.graalvm.compiler.asm/src \
56 $(SRC_DIR)/org.graalvm.compiler.bytecode/src \
57 $(SRC_DIR)/org.graalvm.compiler.code/src \
58 $(SRC_DIR)/org.graalvm.compiler.debug/src \
|