make/CompileToolsHotspot.gmk
author prr
Tue, 14 Nov 2017 12:07:55 -0800
changeset 47839 314ac2e2db63
parent 47314 743814386712
child 47798 9fe9292f5931
permissions -rw-r--r--
Merge
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
# This must be the first rule
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    27
default: all
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    28
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    29
include $(SPEC)
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    30
include MakeBase.gmk
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    31
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    32
include JavaCompilation.gmk
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    33
include SetupJavaCompilers.gmk
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    34
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    35
TARGETS :=
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
# Hook to include the corresponding custom file, if present.
47314
743814386712 8188814: Simplify IncludeCustomExtension
ihse
parents: 47217
diff changeset
    38
$(eval $(call IncludeCustomExtension, hotspot/CompileTools.gmk))
42649
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    39
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    40
ifeq ($(INCLUDE_GRAAL), true)
47217
72e3ae9a25eb 8187444: Forest Consolidation: Make build work
erikj
parents: 47216
diff changeset
    41
  VM_CI_SRC_DIR := $(TOPDIR)/src/jdk.internal.vm.ci/share/classes
42649
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    42
47217
72e3ae9a25eb 8187444: Forest Consolidation: Make build work
erikj
parents: 47216
diff changeset
    43
  SRC_DIR := $(TOPDIR)/src/jdk.internal.vm.compiler/share/classes
42649
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    44
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    45
  ##############################################################################
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    46
  # Compile the annotation processors
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    47
  $(eval $(call SetupJavaCompilation, BUILD_VM_COMPILER_MATCH_PROCESSOR, \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    48
      SETUP := GENERATE_OLDBYTECODE, \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    49
      SRC := \
46551
d01034a83ab2 8182557: Update Graal
iveresov
parents: 46459
diff changeset
    50
          $(SRC_DIR)/org.graalvm.word/src \
42649
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    51
          $(SRC_DIR)/org.graalvm.compiler.core/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    52
          $(SRC_DIR)/org.graalvm.compiler.core.common/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    53
          $(SRC_DIR)/org.graalvm.compiler.core.match.processor/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    54
          $(SRC_DIR)/org.graalvm.compiler.api.replacements/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    55
          $(SRC_DIR)/org.graalvm.compiler.asm/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    56
          $(SRC_DIR)/org.graalvm.compiler.bytecode/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    57
          $(SRC_DIR)/org.graalvm.compiler.code/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    58
          $(SRC_DIR)/org.graalvm.compiler.debug/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    59
          $(SRC_DIR)/org.graalvm.compiler.graph/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    60
          $(SRC_DIR)/org.graalvm.compiler.lir/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    61
          $(SRC_DIR)/org.graalvm.compiler.loop/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    62
          $(SRC_DIR)/org.graalvm.compiler.loop.phases/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    63
          $(SRC_DIR)/org.graalvm.compiler.nodeinfo/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    64
          $(SRC_DIR)/org.graalvm.compiler.nodes/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    65
          $(SRC_DIR)/org.graalvm.compiler.options/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    66
          $(SRC_DIR)/org.graalvm.compiler.phases/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    67
          $(SRC_DIR)/org.graalvm.compiler.phases.common/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    68
          $(SRC_DIR)/org.graalvm.compiler.serviceprovider/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    69
          $(SRC_DIR)/org.graalvm.compiler.virtual/src \
46344
694c102fd8ed 8177046: Update Graal
iveresov
parents: 43972
diff changeset
    70
          $(SRC_DIR)/org.graalvm.util/src \
42649
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    71
          $(VM_CI_SRC_DIR)/jdk.vm.ci.code/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    72
          $(VM_CI_SRC_DIR)/jdk.vm.ci.common/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    73
          $(VM_CI_SRC_DIR)/jdk.vm.ci.meta/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    74
          $(VM_CI_SRC_DIR)/jdk.vm.ci.runtime/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    75
          $(VM_CI_SRC_DIR)/jdk.vm.ci.services/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    76
          , \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    77
      EXCLUDE_FILES := $(EXCLUDE_FILES), \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    78
      BIN := $(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.match.processor, \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    79
      JAR := $(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.match.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
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    82
  TARGETS += $(BUILD_VM_COMPILER_MATCH_PROCESSOR)
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    83
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    84
  ##############################################################################
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    85
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    86
  $(eval $(call SetupJavaCompilation, BUILD_VM_COMPILER_NODEINFO_PROCESSOR, \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    87
      SETUP := GENERATE_OLDBYTECODE, \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    88
      SRC := \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    89
          $(SRC_DIR)/org.graalvm.compiler.nodeinfo/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    90
          $(SRC_DIR)/org.graalvm.compiler.nodeinfo.processor/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    91
          , \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    92
      BIN := $(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.nodeinfo.processor, \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    93
      JAR := $(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.nodeinfo.processor.jar, \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    94
  ))
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    95
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    96
  TARGETS += $(BUILD_VM_COMPILER_NODEINFO_PROCESSOR)
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    97
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    98
  ##############################################################################
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    99
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   100
  $(eval $(call SetupJavaCompilation, BUILD_VM_COMPILER_OPTIONS_PROCESSOR, \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   101
      SETUP := GENERATE_OLDBYTECODE, \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   102
      SRC := \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   103
          $(SRC_DIR)/org.graalvm.compiler.options/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   104
          $(SRC_DIR)/org.graalvm.compiler.options.processor/src \
46344
694c102fd8ed 8177046: Update Graal
iveresov
parents: 43972
diff changeset
   105
          $(SRC_DIR)/org.graalvm.util/src \
42649
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   106
          , \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   107
      BIN := $(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.options.processor, \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   108
      JAR := $(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.options.processor.jar, \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   109
  ))
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   110
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   111
  TARGETS += $(BUILD_VM_COMPILER_OPTIONS_PROCESSOR)
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   112
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   113
  ##############################################################################
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   114
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   115
  $(eval $(call SetupJavaCompilation, BUILD_VM_COMPILER_REPLACEMENTS_VERIFIER, \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   116
      SETUP := GENERATE_OLDBYTECODE, \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   117
      SRC := \
46551
d01034a83ab2 8182557: Update Graal
iveresov
parents: 46459
diff changeset
   118
          $(SRC_DIR)/org.graalvm.word/src \
42649
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   119
          $(SRC_DIR)/org.graalvm.compiler.replacements.verifier/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   120
          $(SRC_DIR)/org.graalvm.compiler.api.replacements/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   121
          $(SRC_DIR)/org.graalvm.compiler.code/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   122
          $(SRC_DIR)/org.graalvm.compiler.core.common/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   123
          $(SRC_DIR)/org.graalvm.compiler.debug/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   124
          $(SRC_DIR)/org.graalvm.compiler.graph/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   125
          $(SRC_DIR)/org.graalvm.compiler.nodeinfo/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   126
          $(SRC_DIR)/org.graalvm.compiler.options/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   127
          $(SRC_DIR)/org.graalvm.compiler.serviceprovider/src \
46344
694c102fd8ed 8177046: Update Graal
iveresov
parents: 43972
diff changeset
   128
          $(SRC_DIR)/org.graalvm.util/src \
42649
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   129
          $(VM_CI_SRC_DIR)/jdk.vm.ci.code/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   130
          $(VM_CI_SRC_DIR)/jdk.vm.ci.common/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   131
          $(VM_CI_SRC_DIR)/jdk.vm.ci.meta/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   132
          $(VM_CI_SRC_DIR)/jdk.vm.ci.runtime/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   133
          $(VM_CI_SRC_DIR)/jdk.vm.ci.services/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   134
          , \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   135
      EXCLUDE_FILES := $(EXCLUDE_FILES), \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   136
      BIN := $(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.replacements.verifier, \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   137
      JAR := $(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.replacements.verifier.jar, \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   138
  ))
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   139
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   140
  TARGETS += $(BUILD_VM_COMPILER_REPLACEMENTS_VERIFIER)
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   141
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   142
  ##############################################################################
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   143
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   144
  $(eval $(call SetupJavaCompilation, BUILD_VM_COMPILER_SERVICEPROVIDER_PROCESSOR, \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   145
      SETUP := GENERATE_OLDBYTECODE, \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   146
      SRC := \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   147
          $(SRC_DIR)/org.graalvm.compiler.serviceprovider/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   148
          $(SRC_DIR)/org.graalvm.compiler.serviceprovider.processor/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   149
          $(VM_CI_SRC_DIR)/jdk.vm.ci.services/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   150
          , \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   151
      EXCLUDE_FILES := $(EXCLUDE_FILES), \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   152
      BIN := $(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.serviceprovider.processor, \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   153
      JAR := $(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.serviceprovider.processor.jar, \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   154
  ))
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   155
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   156
  TARGETS += $(BUILD_VM_COMPILER_SERVICEPROVIDER_PROCESSOR)
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   157
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   158
  ##############################################################################
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   159
endif
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   160
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   161
all: $(TARGETS)
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   162
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   163
.PHONY: all