annotate make/CompileToolsHotspot.gmk @ 51872:0ce279d8c9cd

8207941: javax/swing/plaf/basic/BasicGraphicsUtils/8132119/bug8132119.java fails on machines without Arial font [testbug] Reviewed-by: goetz, psadhukhan
author mbaesken
date Tue, 24 Jul 2018 09:27:42 +0200
parents 26ebfe8ce852
children 28094715ae71
rev   line source
thomaswue@42649 1 #
thomaswue@42649 2 # Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
thomaswue@42649 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
thomaswue@42649 4 #
thomaswue@42649 5 # This code is free software; you can redistribute it and/or modify it
thomaswue@42649 6 # under the terms of the GNU General Public License version 2 only, as
thomaswue@42649 7 # published by the Free Software Foundation. Oracle designates this
thomaswue@42649 8 # particular file as subject to the "Classpath" exception as provided
thomaswue@42649 9 # by Oracle in the LICENSE file that accompanied this code.
thomaswue@42649 10 #
thomaswue@42649 11 # This code is distributed in the hope that it will be useful, but WITHOUT
thomaswue@42649 12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
thomaswue@42649 13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
thomaswue@42649 14 # version 2 for more details (a copy is included in the LICENSE file that
thomaswue@42649 15 # accompanied this code).
thomaswue@42649 16 #
thomaswue@42649 17 # You should have received a copy of the GNU General Public License version
thomaswue@42649 18 # 2 along with this work; if not, write to the Free Software Foundation,
thomaswue@42649 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
thomaswue@42649 20 #
thomaswue@42649 21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
thomaswue@42649 22 # or visit www.oracle.com if you need additional information or have any
thomaswue@42649 23 # questions.
thomaswue@42649 24 #
thomaswue@42649 25
thomaswue@42649 26 # This must be the first rule
thomaswue@42649 27 default: all
thomaswue@42649 28
thomaswue@42649 29 include $(SPEC)
thomaswue@42649 30 include MakeBase.gmk
thomaswue@42649 31
thomaswue@42649 32 include JavaCompilation.gmk
thomaswue@42649 33 include SetupJavaCompilers.gmk
thomaswue@42649 34
thomaswue@42649 35 TARGETS :=
thomaswue@42649 36
thomaswue@42649 37 # Hook to include the corresponding custom file, if present.
ihse@47396 38 $(eval $(call IncludeCustomExtension, hotspot/CompileTools.gmk))
thomaswue@42649 39
thomaswue@42649 40 ifeq ($(INCLUDE_GRAAL), true)
erikj@47217 41 VM_CI_SRC_DIR := $(TOPDIR)/src/jdk.internal.vm.ci/share/classes
thomaswue@42649 42
erikj@47217 43 SRC_DIR := $(TOPDIR)/src/jdk.internal.vm.compiler/share/classes
thomaswue@42649 44
thomaswue@42649 45 ##############################################################################
thomaswue@42649 46 # Compile the annotation processors
thomaswue@42649 47 $(eval $(call SetupJavaCompilation, BUILD_VM_COMPILER_MATCH_PROCESSOR, \
thomaswue@42649 48 SETUP := GENERATE_OLDBYTECODE, \
thomaswue@42649 49 SRC := \
dlong@50918 50 $(SRC_DIR)/org.graalvm.compiler.processor/src \
thomaswue@42649 51 $(SRC_DIR)/org.graalvm.compiler.core.match.processor/src \
thomaswue@42649 52 , \
thomaswue@42649 53 EXCLUDE_FILES := $(EXCLUDE_FILES), \
thomaswue@42649 54 BIN := $(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.match.processor, \
thomaswue@42649 55 JAR := $(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.match.processor.jar, \
thomaswue@42649 56 ))
thomaswue@42649 57
thomaswue@42649 58 TARGETS += $(BUILD_VM_COMPILER_MATCH_PROCESSOR)
thomaswue@42649 59
thomaswue@42649 60 ##############################################################################
thomaswue@42649 61
thomaswue@42649 62 $(eval $(call SetupJavaCompilation, BUILD_VM_COMPILER_NODEINFO_PROCESSOR, \
thomaswue@42649 63 SETUP := GENERATE_OLDBYTECODE, \
thomaswue@42649 64 SRC := \
dlong@50918 65 $(SRC_DIR)/org.graalvm.compiler.processor/src \
thomaswue@42649 66 $(SRC_DIR)/org.graalvm.compiler.nodeinfo.processor/src \
thomaswue@42649 67 , \
thomaswue@42649 68 BIN := $(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.nodeinfo.processor, \
thomaswue@42649 69 JAR := $(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.nodeinfo.processor.jar, \
thomaswue@42649 70 ))
thomaswue@42649 71
thomaswue@42649 72 TARGETS += $(BUILD_VM_COMPILER_NODEINFO_PROCESSOR)
thomaswue@42649 73
thomaswue@42649 74 ##############################################################################
thomaswue@42649 75
thomaswue@42649 76 $(eval $(call SetupJavaCompilation, BUILD_VM_COMPILER_OPTIONS_PROCESSOR, \
thomaswue@42649 77 SETUP := GENERATE_OLDBYTECODE, \
thomaswue@42649 78 SRC := \
dlong@50918 79 $(SRC_DIR)/org.graalvm.compiler.processor/src \
thomaswue@42649 80 $(SRC_DIR)/org.graalvm.compiler.options.processor/src \
thomaswue@42649 81 , \
thomaswue@42649 82 BIN := $(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.options.processor, \
thomaswue@42649 83 JAR := $(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.options.processor.jar, \
thomaswue@42649 84 ))
thomaswue@42649 85
thomaswue@42649 86 TARGETS += $(BUILD_VM_COMPILER_OPTIONS_PROCESSOR)
thomaswue@42649 87
thomaswue@42649 88 ##############################################################################
thomaswue@42649 89
dlong@50918 90 $(eval $(call SetupJavaCompilation, BUILD_VM_COMPILER_REPLACEMENTS_PROCESSOR, \
thomaswue@42649 91 SETUP := GENERATE_OLDBYTECODE, \
thomaswue@42649 92 SRC := \
dlong@50918 93 $(SRC_DIR)/org.graalvm.compiler.processor/src \
dlong@50918 94 $(SRC_DIR)/org.graalvm.compiler.replacements.processor/src \
thomaswue@42649 95 , \
thomaswue@42649 96 EXCLUDE_FILES := $(EXCLUDE_FILES), \
thomaswue@42649 97 BIN := $(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.replacements.verifier, \
thomaswue@42649 98 JAR := $(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.replacements.verifier.jar, \
thomaswue@42649 99 ))
thomaswue@42649 100
dlong@50918 101 TARGETS += $(BUILD_VM_COMPILER_REPLACEMENTS_PROCESSOR)
thomaswue@42649 102
thomaswue@42649 103 ##############################################################################
thomaswue@42649 104
thomaswue@42649 105 $(eval $(call SetupJavaCompilation, BUILD_VM_COMPILER_SERVICEPROVIDER_PROCESSOR, \
thomaswue@42649 106 SETUP := GENERATE_OLDBYTECODE, \
thomaswue@42649 107 SRC := \
dlong@50918 108 $(SRC_DIR)/org.graalvm.compiler.processor/src \
thomaswue@42649 109 $(SRC_DIR)/org.graalvm.compiler.serviceprovider.processor/src \
thomaswue@42649 110 , \
thomaswue@42649 111 EXCLUDE_FILES := $(EXCLUDE_FILES), \
thomaswue@42649 112 BIN := $(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.serviceprovider.processor, \
thomaswue@42649 113 JAR := $(BUILDTOOLS_OUTPUTDIR)/jdk.vm.compiler.serviceprovider.processor.jar, \
thomaswue@42649 114 ))
thomaswue@42649 115
thomaswue@42649 116 TARGETS += $(BUILD_VM_COMPILER_SERVICEPROVIDER_PROCESSOR)
thomaswue@42649 117
thomaswue@42649 118 ##############################################################################
thomaswue@42649 119 endif
thomaswue@42649 120
thomaswue@42649 121 all: $(TARGETS)
thomaswue@42649 122
thomaswue@42649 123 .PHONY: all