hotspot/make/CompileTools.gmk
author mikael
Thu, 11 May 2017 17:55:03 -0700
changeset 46454 f090a0a198cd
parent 46344 694c102fd8ed
child 46459 7d4e637d3f21
permissions -rw-r--r--
8180003: Remove sys/ prefix from poll.h and signal.h includes Reviewed-by: dholmes, bpb
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.
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    38
$(eval $(call IncludeCustomExtension, hotspot, CompileTools.gmk))
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)
43972
1ade39b8381b 8174879: Rename jdk.vm.ci to jdk.internal.vm.ci
kvn
parents: 42649
diff changeset
    41
  VM_CI_SRC_DIR := $(HOTSPOT_TOPDIR)/src/jdk.internal.vm.ci/share/classes
42649
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    42
43972
1ade39b8381b 8174879: Rename jdk.vm.ci to jdk.internal.vm.ci
kvn
parents: 42649
diff changeset
    43
  SRC_DIR := $(HOTSPOT_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 := \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    50
          $(SRC_DIR)/org.graalvm.compiler.core/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    51
          $(SRC_DIR)/org.graalvm.compiler.core.common/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    52
          $(SRC_DIR)/org.graalvm.compiler.core.match.processor/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    53
          $(SRC_DIR)/org.graalvm.compiler.api.replacements/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    54
          $(SRC_DIR)/org.graalvm.compiler.asm/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    55
          $(SRC_DIR)/org.graalvm.compiler.bytecode/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    56
          $(SRC_DIR)/org.graalvm.compiler.code/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    57
          $(SRC_DIR)/org.graalvm.compiler.debug/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    58
          $(SRC_DIR)/org.graalvm.compiler.graph/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    59
          $(SRC_DIR)/org.graalvm.compiler.lir/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    60
          $(SRC_DIR)/org.graalvm.compiler.loop/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    61
          $(SRC_DIR)/org.graalvm.compiler.loop.phases/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    62
          $(SRC_DIR)/org.graalvm.compiler.nodeinfo/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    63
          $(SRC_DIR)/org.graalvm.compiler.nodes/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    64
          $(SRC_DIR)/org.graalvm.compiler.options/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    65
          $(SRC_DIR)/org.graalvm.compiler.phases/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    66
          $(SRC_DIR)/org.graalvm.compiler.phases.common/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    67
          $(SRC_DIR)/org.graalvm.compiler.serviceprovider/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    68
          $(SRC_DIR)/org.graalvm.compiler.virtual/src \
46344
694c102fd8ed 8177046: Update Graal
iveresov
parents: 43972
diff changeset
    69
          $(SRC_DIR)/org.graalvm.util/src \
42649
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    70
          $(VM_CI_SRC_DIR)/jdk.vm.ci.code/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    71
          $(VM_CI_SRC_DIR)/jdk.vm.ci.common/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    72
          $(VM_CI_SRC_DIR)/jdk.vm.ci.meta/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    73
          $(VM_CI_SRC_DIR)/jdk.vm.ci.runtime/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    74
          $(VM_CI_SRC_DIR)/jdk.vm.ci.services/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    75
          , \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    76
      EXCLUDE_FILES := $(EXCLUDE_FILES), \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    77
      BIN := $(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.match.processor, \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    78
      JAR := $(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.match.processor.jar, \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    79
  ))
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
  TARGETS += $(BUILD_VM_COMPILER_MATCH_PROCESSOR)
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
  ##############################################################################
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
  $(eval $(call SetupJavaCompilation, BUILD_VM_COMPILER_NODEINFO_PROCESSOR, \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    86
      SETUP := GENERATE_OLDBYTECODE, \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    87
      SRC := \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    88
          $(SRC_DIR)/org.graalvm.compiler.nodeinfo/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    89
          $(SRC_DIR)/org.graalvm.compiler.nodeinfo.processor/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    90
          , \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    91
      BIN := $(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.nodeinfo.processor, \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    92
      JAR := $(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.nodeinfo.processor.jar, \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    93
  ))
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
  TARGETS += $(BUILD_VM_COMPILER_NODEINFO_PROCESSOR)
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
    96
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
  $(eval $(call SetupJavaCompilation, BUILD_VM_COMPILER_OPTIONS_PROCESSOR, \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   100
      SETUP := GENERATE_OLDBYTECODE, \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   101
      SRC := \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   102
          $(SRC_DIR)/org.graalvm.compiler.options/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   103
          $(SRC_DIR)/org.graalvm.compiler.options.processor/src \
46344
694c102fd8ed 8177046: Update Graal
iveresov
parents: 43972
diff changeset
   104
          $(SRC_DIR)/org.graalvm.util/src \
42649
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   105
          , \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   106
      BIN := $(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.options.processor, \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   107
      JAR := $(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.options.processor.jar, \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   108
  ))
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
  TARGETS += $(BUILD_VM_COMPILER_OPTIONS_PROCESSOR)
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   111
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
  $(eval $(call SetupJavaCompilation, BUILD_VM_COMPILER_REPLACEMENTS_VERIFIER, \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   115
      SETUP := GENERATE_OLDBYTECODE, \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   116
      SRC := \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   117
          $(SRC_DIR)/org.graalvm.compiler.replacements.verifier/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   118
          $(SRC_DIR)/org.graalvm.compiler.api.replacements/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   119
          $(SRC_DIR)/org.graalvm.compiler.code/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   120
          $(SRC_DIR)/org.graalvm.compiler.core.common/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   121
          $(SRC_DIR)/org.graalvm.compiler.debug/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   122
          $(SRC_DIR)/org.graalvm.compiler.graph/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   123
          $(SRC_DIR)/org.graalvm.compiler.nodeinfo/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   124
          $(SRC_DIR)/org.graalvm.compiler.options/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   125
          $(SRC_DIR)/org.graalvm.compiler.serviceprovider/src \
46344
694c102fd8ed 8177046: Update Graal
iveresov
parents: 43972
diff changeset
   126
          $(SRC_DIR)/org.graalvm.util/src \
42649
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   127
          $(VM_CI_SRC_DIR)/jdk.vm.ci.code/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   128
          $(VM_CI_SRC_DIR)/jdk.vm.ci.common/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   129
          $(VM_CI_SRC_DIR)/jdk.vm.ci.meta/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   130
          $(VM_CI_SRC_DIR)/jdk.vm.ci.runtime/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   131
          $(VM_CI_SRC_DIR)/jdk.vm.ci.services/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   132
          , \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   133
      EXCLUDE_FILES := $(EXCLUDE_FILES), \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   134
      BIN := $(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.replacements.verifier, \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   135
      JAR := $(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.replacements.verifier.jar, \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   136
  ))
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   137
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   138
  TARGETS += $(BUILD_VM_COMPILER_REPLACEMENTS_VERIFIER)
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
  ##############################################################################
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
  $(eval $(call SetupJavaCompilation, BUILD_VM_COMPILER_SERVICEPROVIDER_PROCESSOR, \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   143
      SETUP := GENERATE_OLDBYTECODE, \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   144
      SRC := \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   145
          $(SRC_DIR)/org.graalvm.compiler.serviceprovider/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   146
          $(SRC_DIR)/org.graalvm.compiler.serviceprovider.processor/src \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   147
          $(VM_CI_SRC_DIR)/jdk.vm.ci.services/src \
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
      EXCLUDE_FILES := $(EXCLUDE_FILES), \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   150
      BIN := $(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.serviceprovider.processor, \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   151
      JAR := $(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.serviceprovider.processor.jar, \
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   152
  ))
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   153
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   154
  TARGETS += $(BUILD_VM_COMPILER_SERVICEPROVIDER_PROCESSOR)
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
  ##############################################################################
28238583a459 8166417: Integrate Graal-core into JDK for AOT compiler
thomaswue
parents:
diff changeset
   157
endif
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
all: $(TARGETS)
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
.PHONY: all