annotate make/CompileModuleTools.gmk @ 17467:f8e75da258cd

8205124: aarch32: make build work again with jvm-variant=core Reviewed-by: duke
author enevill
date Fri, 15 Jun 2018 21:24:39 +0100
parents 3534a97c9244
children
rev   line source
alanb@13901 1 #
erikj@15734 2 # Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
alanb@13901 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
alanb@13901 4 #
alanb@13901 5 # This code is free software; you can redistribute it and/or modify it
alanb@13901 6 # under the terms of the GNU General Public License version 2 only, as
alanb@13901 7 # published by the Free Software Foundation. Oracle designates this
alanb@13901 8 # particular file as subject to the "Classpath" exception as provided
alanb@13901 9 # by Oracle in the LICENSE file that accompanied this code.
alanb@13901 10 #
alanb@13901 11 # This code is distributed in the hope that it will be useful, but WITHOUT
alanb@13901 12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
alanb@13901 13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
alanb@13901 14 # version 2 for more details (a copy is included in the LICENSE file that
alanb@13901 15 # accompanied this code).
alanb@13901 16 #
alanb@13901 17 # You should have received a copy of the GNU General Public License version
alanb@13901 18 # 2 along with this work; if not, write to the Free Software Foundation,
alanb@13901 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
alanb@13901 20 #
alanb@13901 21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
alanb@13901 22 # or visit www.oracle.com if you need additional information or have any
alanb@13901 23 # questions.
alanb@13901 24 #
alanb@13901 25
mchung@17140 26 default: all
mchung@17140 27
alanb@13901 28 include $(SPEC)
alanb@13901 29 include MakeBase.gmk
alanb@13901 30 include JavaCompilation.gmk
alanb@13901 31 include SetupJavaCompilers.gmk
alanb@13901 32
mchung@17140 33 ################################################################################
mchung@17140 34
alanb@13901 35 TOOLS_CLASSES_DIR := $(BUILDTOOLS_OUTPUTDIR)/tools_jigsaw_classes
alanb@13901 36
alanb@13901 37 $(eval $(call SetupJavaCompilation,BUILD_JIGSAW_TOOLS, \
alanb@13901 38 SETUP := GENERATE_USINGJDKBYTECODE, \
alanb@13901 39 SRC := $(JDK_TOPDIR)/make/src/classes, \
alanb@13901 40 INCLUDES := build/tools/deps \
mchung@17140 41 build/tools/docs \
alanb@13901 42 build/tools/jigsaw, \
mchung@17140 43 COPY := .properties .html, \
alanb@13901 44 BIN := $(TOOLS_CLASSES_DIR), \
erikj@15734 45 ADD_JAVAC_FLAGS := \
mchung@16717 46 --add-modules jdk.jdeps \
erikj@15734 47 --add-exports java.base/jdk.internal.module=ALL-UNNAMED \
mchung@16717 48 --add-exports jdk.jdeps/com.sun.tools.jdeps=ALL-UNNAMED \
erikj@15734 49 ))
mchung@17140 50
mchung@17140 51 TARGETS += $(BUILD_JIGSAW_TOOLS)
mchung@17140 52
mchung@17140 53 ################################################################################
mchung@17140 54
mchung@17140 55 all: $(TARGETS)