1 # |
1 # |
2 # Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved. |
2 # Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved. |
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 # |
4 # |
5 # This code is free software; you can redistribute it and/or modify it |
5 # This code is free software; you can redistribute it and/or modify it |
6 # under the terms of the GNU General Public License version 2 only, as |
6 # under the terms of the GNU General Public License version 2 only, as |
7 # published by the Free Software Foundation. Oracle designates this |
7 # published by the Free Software Foundation. Oracle designates this |
28 include $(SPEC) |
28 include $(SPEC) |
29 include MakeBase.gmk |
29 include MakeBase.gmk |
30 include JavaCompilation.gmk |
30 include JavaCompilation.gmk |
31 include SetupJavaCompilers.gmk |
31 include SetupJavaCompilers.gmk |
32 |
32 |
|
33 $(eval $(call IncludeCustomExtension, jdk, CompileTools.gmk)) |
|
34 |
33 ################################################################################ |
35 ################################################################################ |
|
36 |
|
37 # Use += to be able to add to this from a custom extension |
|
38 BUILD_TOOLS_SRC_DIRS += \ |
|
39 $(JDK_TOPDIR)/make/src/classes \ |
|
40 $(BUILDTOOLS_OUTPUTDIR)/interim_cldrconverter_classes \ |
|
41 # |
34 |
42 |
35 $(eval $(call SetupJavaCompilation,BUILD_TOOLS_JDK, \ |
43 $(eval $(call SetupJavaCompilation,BUILD_TOOLS_JDK, \ |
36 SETUP := GENERATE_OLDBYTECODE, \ |
44 SETUP := GENERATE_OLDBYTECODE, \ |
37 SRC := $(JDK_TOPDIR)/make/src/classes $(BUILDTOOLS_OUTPUTDIR)/interim_cldrconverter_classes, \ |
45 SRC := $(BUILD_TOOLS_SRC_DIRS), \ |
38 EXCLUDES := build/tools/deps \ |
46 EXCLUDES := build/tools/deps \ |
39 build/tools/jigsaw, \ |
47 build/tools/jigsaw, \ |
40 BIN := $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes)) |
48 BIN := $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes)) |
41 |
49 |
42 TARGETS += $(BUILD_TOOLS_JDK) |
50 TARGETS += $(BUILD_TOOLS_JDK) |