12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 # version 2 for more details (a copy is included in the LICENSE file that
15 # accompanied this code).
16 #
17 # You should have received a copy of the GNU General Public License version
18 # 2 along with this work; if not, write to the Free Software Foundation,
19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 #
21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 # or visit www.oracle.com if you need additional information or have any
23 # questions.
24 #
25
26 ifndef _TOOLS_GMK
27 _TOOLS_GMK := 1
28
29 include JavaCompilation.gmk
30
31 # Hook to include the corresponding custom file, if present.
32 $(eval $(call IncludeCustomExtension, , Tools.gmk))
33
34 ################################################################################
35 # To avoid reevaluating the compilation setup for the tools each time this file
36 # is included, the actual compilation is handled by CompileTools.gmk. The
37 # following trick is used to be able to declare a dependency on the built tools.
38 BUILD_TOOLS_JDK := $(call SetupJavaCompilationCompileTarget, \
39 BUILD_TOOLS_JDK, $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes)
40
41 ################################################################################
42
43 ifeq ($(BOOT_JDK_MODULAR), true)
44 COMPILEFONTCONFIG_ADD_EXPORTS := --add-exports java.desktop/sun.awt=ALL-UNNAMED
45 endif
46
47 TOOL_COMPILEFONTCONFIG = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
48 $(COMPILEFONTCONFIG_ADD_EXPORTS) \
49 build.tools.compilefontconfig.CompileFontConfig
50
51 TOOL_COMPILEPROPERTIES = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
52 build.tools.compileproperties.CompileProperties
|
12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 # version 2 for more details (a copy is included in the LICENSE file that
15 # accompanied this code).
16 #
17 # You should have received a copy of the GNU General Public License version
18 # 2 along with this work; if not, write to the Free Software Foundation,
19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 #
21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 # or visit www.oracle.com if you need additional information or have any
23 # questions.
24 #
25
26 ifndef _TOOLS_GMK
27 _TOOLS_GMK := 1
28
29 include JavaCompilation.gmk
30
31 # Hook to include the corresponding custom file, if present.
32 $(eval $(call IncludeCustomExtension, Tools.gmk))
33
34 ################################################################################
35 # To avoid reevaluating the compilation setup for the tools each time this file
36 # is included, the actual compilation is handled by CompileTools.gmk. The
37 # following trick is used to be able to declare a dependency on the built tools.
38 BUILD_TOOLS_JDK := $(call SetupJavaCompilationCompileTarget, \
39 BUILD_TOOLS_JDK, $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes)
40
41 ################################################################################
42
43 ifeq ($(BOOT_JDK_MODULAR), true)
44 COMPILEFONTCONFIG_ADD_EXPORTS := --add-exports java.desktop/sun.awt=ALL-UNNAMED
45 endif
46
47 TOOL_COMPILEFONTCONFIG = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
48 $(COMPILEFONTCONFIG_ADD_EXPORTS) \
49 build.tools.compilefontconfig.CompileFontConfig
50
51 TOOL_COMPILEPROPERTIES = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
52 build.tools.compileproperties.CompileProperties
|