2012-04-10 15:22:03 +00:00
|
|
|
#
|
2023-11-28 21:40:20 +00:00
|
|
|
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
|
2012-04-10 15:22:03 +00:00
|
|
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
#
|
|
|
|
# This code is free software; you can redistribute it and/or modify it
|
|
|
|
# under the terms of the GNU General Public License version 2 only, as
|
|
|
|
# published by the Free Software Foundation. Oracle designates this
|
|
|
|
# particular file as subject to the "Classpath" exception as provided
|
|
|
|
# by Oracle in the LICENSE file that accompanied this code.
|
|
|
|
#
|
|
|
|
# This code is distributed in the hope that it will be useful, but WITHOUT
|
|
|
|
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
|
|
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
|
|
# version 2 for more details (a copy is included in the LICENSE file that
|
|
|
|
# accompanied this code).
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License version
|
|
|
|
# 2 along with this work; if not, write to the Free Software Foundation,
|
|
|
|
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
#
|
|
|
|
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
|
|
|
# or visit www.oracle.com if you need additional information or have any
|
|
|
|
# questions.
|
|
|
|
#
|
|
|
|
|
2014-08-17 14:54:13 +00:00
|
|
|
ifndef _TOOLS_GMK
|
|
|
|
_TOOLS_GMK := 1
|
|
|
|
|
|
|
|
include JavaCompilation.gmk
|
|
|
|
|
2017-03-20 11:38:52 +00:00
|
|
|
# Hook to include the corresponding custom file, if present.
|
2017-10-05 10:41:06 +00:00
|
|
|
$(eval $(call IncludeCustomExtension, Tools.gmk))
|
2017-03-20 11:38:52 +00:00
|
|
|
|
2015-01-26 09:24:25 +00:00
|
|
|
################################################################################
|
2016-01-16 12:01:44 +00:00
|
|
|
# To avoid reevaluating the compilation setup for the tools each time this file
|
|
|
|
# is included, the actual compilation is handled by CompileTools.gmk. The
|
|
|
|
# following trick is used to be able to declare a dependency on the built tools.
|
|
|
|
BUILD_TOOLS_JDK := $(call SetupJavaCompilationCompileTarget, \
|
|
|
|
BUILD_TOOLS_JDK, $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes)
|
2013-02-19 11:08:43 +00:00
|
|
|
|
2015-01-26 09:24:25 +00:00
|
|
|
################################################################################
|
2013-02-19 11:08:43 +00:00
|
|
|
|
2014-12-03 14:22:58 +00:00
|
|
|
TOOL_COMPILEFONTCONFIG = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
|
2017-10-19 12:16:45 +00:00
|
|
|
--add-exports java.desktop/sun.awt=ALL-UNNAMED \
|
2013-10-10 13:06:21 +00:00
|
|
|
build.tools.compilefontconfig.CompileFontConfig
|
2012-04-10 15:22:03 +00:00
|
|
|
|
2014-12-03 14:22:58 +00:00
|
|
|
TOOL_GENERATECHARACTER = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
|
2013-10-10 13:06:21 +00:00
|
|
|
build.tools.generatecharacter.GenerateCharacter
|
2012-04-10 15:22:03 +00:00
|
|
|
|
2014-12-03 14:22:58 +00:00
|
|
|
TOOL_CHARACTERNAME = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
|
2013-10-10 13:06:21 +00:00
|
|
|
build.tools.generatecharacter.CharacterName
|
2012-04-10 15:22:03 +00:00
|
|
|
|
2022-03-21 21:34:09 +00:00
|
|
|
TOOL_DTDBUILDER = $(JAVA_SMALL) -Ddtd_home=$(TOPDIR)/src/java.desktop/share/data/dtdbuilder \
|
2014-03-24 09:40:19 +00:00
|
|
|
-Djava.awt.headless=true \
|
2014-12-03 14:22:58 +00:00
|
|
|
-cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes build.tools.dtdbuilder.DTDBuilder
|
2012-04-10 15:22:03 +00:00
|
|
|
|
2014-03-14 12:17:23 +00:00
|
|
|
TOOL_GENERATEBREAKITERATORDATA = $(JAVA_SMALL) \
|
2014-12-03 14:22:58 +00:00
|
|
|
-cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
|
2013-10-10 13:06:21 +00:00
|
|
|
build.tools.generatebreakiteratordata.GenerateBreakIteratorData
|
2012-04-10 15:22:03 +00:00
|
|
|
|
2014-12-03 14:22:58 +00:00
|
|
|
TOOL_GENERATECURRENCYDATA = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
|
2013-10-10 13:06:21 +00:00
|
|
|
build.tools.generatecurrencydata.GenerateCurrencyData
|
2012-04-10 15:22:03 +00:00
|
|
|
|
2014-12-03 14:22:58 +00:00
|
|
|
TOOL_TZDB = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
|
2013-10-10 13:06:21 +00:00
|
|
|
build.tools.tzdb.TzdbZoneRulesCompiler
|
2013-01-23 04:59:21 +00:00
|
|
|
|
2021-01-14 16:36:51 +00:00
|
|
|
TOOL_BLOCKED_CERTS = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
|
2020-05-06 11:25:59 +00:00
|
|
|
--add-exports java.base/sun.security.util=ALL-UNNAMED \
|
2021-01-14 16:36:51 +00:00
|
|
|
build.tools.blockedcertsconverter.BlockedCertsConverter
|
2014-07-09 08:34:31 +00:00
|
|
|
|
2014-12-03 14:22:58 +00:00
|
|
|
TOOL_MAKEJAVASECURITY = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
|
2014-08-11 03:11:55 +00:00
|
|
|
build.tools.makejavasecurity.MakeJavaSecurity
|
|
|
|
|
2019-06-05 01:58:05 +00:00
|
|
|
TOOL_GENERATECACERTS = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
|
2021-10-19 20:48:17 +00:00
|
|
|
-Dkeystore.pkcs12.certProtectionAlgorithm=NONE \
|
|
|
|
-Dkeystore.pkcs12.macAlgorithm=NONE \
|
2019-06-05 01:58:05 +00:00
|
|
|
build.tools.generatecacerts.GenerateCacerts
|
|
|
|
|
2023-09-20 17:39:57 +00:00
|
|
|
TOOL_GENERATEEXTRAPROPERTIES = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
|
|
|
|
build.tools.generateextraproperties.GenerateExtraProperties
|
2019-05-23 19:21:21 +00:00
|
|
|
|
2021-12-02 21:31:13 +00:00
|
|
|
TOOL_MAKEZIPREPRODUCIBLE = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
|
|
|
|
build.tools.makezipreproducible.MakeZipReproducible
|
2013-01-23 04:59:21 +00:00
|
|
|
|
2013-10-10 13:06:21 +00:00
|
|
|
# TODO: There are references to the jdwpgen.jar in jdk/make/netbeans/jdwpgen/build.xml
|
2012-04-10 15:22:03 +00:00
|
|
|
# and nbproject/project.properties in the same dir. Needs to be looked at.
|
2014-12-03 14:22:58 +00:00
|
|
|
TOOL_JDWPGEN = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes build.tools.jdwpgen.Main
|
2012-04-10 15:22:03 +00:00
|
|
|
|
|
|
|
# TODO: Lots of files in jdk/make/tools/CharsetMapping dir
|
2014-12-03 14:22:58 +00:00
|
|
|
TOOL_CHARSETMAPPING = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
|
2014-02-04 09:00:24 +00:00
|
|
|
build.tools.charsetmapping.Main $(LOG_INFO)
|
2012-04-10 15:22:03 +00:00
|
|
|
|
2014-12-03 14:22:58 +00:00
|
|
|
TOOL_SPP = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes build.tools.spp.Spp
|
2012-04-10 15:22:03 +00:00
|
|
|
|
|
|
|
# Nimbus is used somewhere in the swing build.
|
2014-12-03 14:22:58 +00:00
|
|
|
TOOL_GENERATENIMBUS = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
|
2013-10-10 13:06:21 +00:00
|
|
|
build.tools.generatenimbus.Generator
|
2012-06-08 03:40:50 +00:00
|
|
|
|
2014-12-03 14:22:58 +00:00
|
|
|
TOOL_WRAPPERGENERATOR = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
|
2014-02-13 16:40:43 +00:00
|
|
|
build.tools.x11wrappergen.WrapperGenerator
|
2012-06-08 03:40:50 +00:00
|
|
|
|
2014-12-03 14:22:58 +00:00
|
|
|
TOOL_AWT_TOBIN = $(JAVA_SMALL) -Djava.awt.headless=true -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
|
2013-11-14 10:19:32 +00:00
|
|
|
build.tools.icondata.awt.ToBin
|
2012-07-03 23:10:44 +00:00
|
|
|
|
2014-12-03 14:22:58 +00:00
|
|
|
TOOL_OSX_TOBIN = $(JAVA_SMALL) -Djava.awt.headless=true -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
|
2013-11-14 10:19:32 +00:00
|
|
|
build.tools.icondata.osxapp.ToBin
|
2012-10-26 21:23:29 +00:00
|
|
|
|
2014-12-03 14:22:58 +00:00
|
|
|
TOOL_CLDRCONVERTER = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
|
2013-10-10 13:06:21 +00:00
|
|
|
build.tools.cldrconverter.CLDRConverter
|
2012-08-21 18:00:30 +00:00
|
|
|
|
2019-12-14 05:50:34 +00:00
|
|
|
TOOL_INTPOLY = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
|
|
|
|
build.tools.intpoly.FieldGen
|
|
|
|
|
2017-07-27 06:08:55 +00:00
|
|
|
TOOL_GENERATELSREQUIVMAPS = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
|
|
|
|
build.tools.generatelsrequivmaps.EquivMapsGenerator
|
|
|
|
|
8142968: Module System implementation
Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Alexandr Scherbatiy <alexandr.scherbatiy@oracle.com>
Co-authored-by: Amy Lu <amy.lu@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Jaroslav Bachorik <jaroslav.bachorik@oracle.com>
Co-authored-by: Jean-Francois Denise <jean-francois.denise@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: Miroslav Kos <miroslav.kos@oracle.com>
Co-authored-by: Huaming Li <huaming.li@oracle.com>
Co-authored-by: Sean Mullan <sean.mullan@oracle.com>
Co-authored-by: Naoto Sato <naoto.sato@oracle.com>
Co-authored-by: Masayoshi Okutsu <masayoshi.okutsu@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Co-authored-by: Philip Race <philip.race@oracle.com>
Co-authored-by: Claes Redestad <claes.redestad@oracle.com>
Co-authored-by: Sergey Bylokhov <sergey.bylokhov@oracle.com>
Co-authored-by: Alexandre Iline <alexandre.iline@oracle.com>
Co-authored-by: Volker Simonis <volker.simonis@gmail.com>
Co-authored-by: Staffan Larsen <staffan.larsen@oracle.com>
Co-authored-by: Stuart Marks <stuart.marks@oracle.com>
Co-authored-by: Semyon Sadetsky <semyon.sadetsky@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Co-authored-by: Valerie Peng <valerie.peng@oracle.com>
Co-authored-by: Vincent Ryan <vincent.x.ryan@oracle.com>
Co-authored-by: Weijun Wang <weijun.wang@oracle.com>
Co-authored-by: Yuri Nesterenko <yuri.nesterenko@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Co-authored-by: Alexander Kulyakthin <alexander.kulyakhtin@oracle.com>
Co-authored-by: Felix Yang <felix.yang@oracle.com>
Co-authored-by: Andrei Eremeev <andrei.eremeev@oracle.com>
Co-authored-by: Frank Yuan <frank.yuan@oracle.com>
Co-authored-by: Sergei Pikalev <sergei.pikalev@oracle.com>
Co-authored-by: Sibabrata Sahoo <sibabrata.sahoo@oracle.com>
Co-authored-by: Tiantian Du <tiantian.du@oracle.com>
Co-authored-by: Sha Jiang <sha.jiang@oracle.com>
Reviewed-by: alanb, mchung, naoto, rriggs, psandoz, plevart, mullan, ascarpino, vinnie, prr, sherman, dfuchs, mhaupt
2016-03-17 19:04:16 +00:00
|
|
|
TOOL_GENMODULEINFOSOURCE = $(JAVA_SMALL) $(INTERIM_LANGTOOLS_BOOTCLASSPATH) \
|
|
|
|
-cp $(call PathList, $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes) \
|
|
|
|
build.tools.module.GenModuleInfoSource
|
|
|
|
|
|
|
|
TOOL_GENCLASSLOADERMAP = $(JAVA_SMALL) $(INTERIM_LANGTOOLS_BOOTCLASSPATH) \
|
|
|
|
-cp $(call PathList, $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes) \
|
|
|
|
build.tools.module.GenModuleLoaderMap
|
|
|
|
|
2018-06-26 10:55:48 +00:00
|
|
|
TOOL_PUBLICSUFFIXLIST = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
|
|
|
|
build.tools.publicsuffixlist.GeneratePublicSuffixList
|
|
|
|
|
2019-05-30 17:37:48 +00:00
|
|
|
TOOL_FIXUPPANDOC = $(JAVA_SMALL) -cp $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \
|
|
|
|
build.tools.fixuppandoc.Main
|
|
|
|
|
2024-09-03 15:31:09 +00:00
|
|
|
################################################################################
|
2014-12-03 14:22:58 +00:00
|
|
|
|
2018-11-28 09:00:41 +00:00
|
|
|
# Executable javascript filter for man page generation using pandoc.
|
|
|
|
|
2018-12-11 14:18:57 +00:00
|
|
|
PANDOC_TROFF_MANPAGE_FILTER := $(BUILDTOOLS_OUTPUTDIR)/manpages/pandoc-troff-manpage-filter
|
|
|
|
PANDOC_HTML_MANPAGE_FILTER := $(BUILDTOOLS_OUTPUTDIR)/manpages/pandoc-html-manpage-filter
|
2018-11-28 09:00:41 +00:00
|
|
|
|
2024-09-03 15:31:09 +00:00
|
|
|
################################################################################
|
2018-11-28 09:00:41 +00:00
|
|
|
|
2023-08-25 20:42:14 +00:00
|
|
|
# Hook to include the corresponding custom post file, if present.
|
|
|
|
$(eval $(call IncludeCustomExtension, ToolsJdk-post.gmk))
|
|
|
|
|
2014-08-17 14:54:13 +00:00
|
|
|
endif # _TOOLS_GMK
|