Makefile revision 0
0N/A#
0N/A# Copyright 1997-2007 Sun Microsystems, Inc. All Rights Reserved.
0N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
0N/A#
0N/A# This code is free software; you can redistribute it and/or modify it
0N/A# under the terms of the GNU General Public License version 2 only, as
0N/A# published by the Free Software Foundation. Sun designates this
0N/A# particular file as subject to the "Classpath" exception as provided
0N/A# by Sun in the LICENSE file that accompanied this code.
0N/A#
0N/A# This code is distributed in the hope that it will be useful, but WITHOUT
0N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
0N/A# version 2 for more details (a copy is included in the LICENSE file that
0N/A# accompanied this code).
0N/A#
0N/A# You should have received a copy of the GNU General Public License version
0N/A# 2 along with this work; if not, write to the Free Software Foundation,
0N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
0N/A#
0N/A# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
0N/A# CA 95054 USA or visit www.sun.com if you need additional information or
0N/A# have any questions.
0N/A#
0N/A
0N/A#
0N/A# Definitions for $(DOCSDIR), $(MKDIR), $(BINDIR), etc.
0N/A#
0N/ABUILDDIR=..
0N/APRODUCT=docs
0N/Ainclude $(BUILDDIR)/common/Defs.gmk
0N/A
0N/A# We override whatever the max VM memory setting is here.
0N/A# NOTE: javadoc will not complete without these larger settings.
0N/A# WARNING: This could cause thrashing on low memory machines.
0N/Aifeq ($(ARCH_DATA_MODEL),64)
0N/A MAX_VM_MEMORY = 1024
0N/Aelse
0N/A MAX_VM_MEMORY = 512
0N/Aendif
0N/A
0N/A#
0N/A# Variables used by docs target
0N/A#
0N/ADOCSTMPDIR = $(TEMPDIR)/doctmp
0N/A
0N/ACOMMON_JAVADOCFLAGS = \
0N/A -source 1.5 \
0N/A -quiet \
0N/A -use \
0N/A -keywords \
0N/A $(JAVADOC_VM_MEMORY_FLAGS) \
0N/A $(ADDITIONAL_JAVADOCFLAGS)
0N/AADDITIONAL_JAVADOCFLAGS =
0N/A
0N/ACORE_JAVADOCFLAGS = $(COMMON_JAVADOCFLAGS) \
0N/A $(TAGS) \
0N/A -encoding ISO-8859-1 \
0N/A -splitIndex \
0N/A -doctitle $(DOCTITLE_SWITCH) \
0N/A -windowtitle $(WINDOWTITLE_SWITCH) \
0N/A -header $(HEADER_SWITCH) \
0N/A $(TOPOPTION) \
0N/A -bottom $(JAVADOCBOTTOM_SWITCH) \
0N/A $(OVERVIEW_OPTION)
0N/A
0N/ADRAFT = '<br><b>DRAFT&nbsp;'$(MILESTONE)-$(BUILD_NUMBER)'</b>'
0N/ATHIS_YEAR := $(shell $(DATE) | $(SED) -e 's/ / /g' | $(CUT) -d' ' -f6)
0N/ATRADEMARK = &\#x2122;
0N/A
0N/AIGNORED_TAGS = beaninfo revised since.unbundled spec Note ToDo
0N/A
0N/AJLS3_URL = http://java.sun.com/docs/books/jls/
0N/AJLS3_CITE = <a href="$(JLS3_URL)"> \
0N/A The Java Language Specification, Third Edition</a>
0N/ATAG_JLS3 = -tag 'jls3:a:See <cite>$(JLS3_CITE)</cite>:'
0N/A
0N/ATAGS = $(IGNORED_TAGS:%=-tag %:X) $(TAG_JLS3)
0N/A
0N/Aifeq ($(MILESTONE), fcs)
0N/A DOCTITLE_SWITCH = $(JAVADOCTITLE)
0N/A WINDOWTITLE_SWITCH = $(JAVADOCWINDOWTITLE)
0N/A HEADER_SWITCH = $(JAVADOCHEADER)
0N/A TOPOPTION=
0N/A JAVADOCBOTTOM_SWITCH= $(JAVADOCBOTTOM)
0N/A OVERVIEW_OPTION = -overview $(JAVADOCOVERVIEW)
0N/Aelse
0N/A DOCTITLE_SWITCH = $(JAVADOCTITLE_EARLYACCESS)$(DRAFT)
0N/A WINDOWTITLE_SWITCH = $(JAVADOCWINDOWTITLE)" $(BUILD_NUMBER)"
0N/A HEADER_SWITCH = $(JAVADOCHEADER)$(DRAFT)
0N/A JAVADOCBOTTOM_SWITCH= $(JAVADOCBOTTOM_EARLYACCESS)
0N/A TOPOPTION= -top $(JAVADOCTOP_EARLYACCESS)
0N/A OVERVIEW_OPTION =
0N/Aendif
0N/A
0N/AJAVADOCTITLE = 'Java$(TRADEMARK) Platform, Standard Edition $(JDK_MINOR_VERSION)<br>API Specification'
0N/AJAVADOCWINDOWTITLE = 'Java Platform SE $(JDK_MINOR_VERSION)'
0N/AJAVADOCHEADER = '<b>Java$(TRADEMARK)&nbsp;Platform<br>Standard&nbsp;Ed.&nbsp;$(JDK_MINOR_VERSION)</b>'
0N/AJAVADOCBOTTOM = '<font size="-1"><a href="http://bugs.sun.com/services/bugreport/index.jsp">Submit a bug or feature</a><br>For further API reference and developer documentation, see <a href="{@docroot}/../../webnotes/devdocs-vs-specs.html">Java SE Developer Documentation</a>. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples. <p>Copyright $(THIS_YEAR) Sun Microsystems, Inc. All Rights Reserved. Use is subject to <a href="{@docroot}/../legal/license.html">license terms</a>. Also see the <a href="http://java.sun.com/docs/redist.html">documentation redistribution policy</a>.</font>'
0N/AJAVADOCOVERVIEW = $(SHARE_SRC)/classes/overview-core.html
0N/A
0N/A#
0N/A# Early access top and bottom text (for snapshots, beta and rc)
0N/A#
0N/AJAVADOCTOP_EARLYACCESS = '<div style="background-color: \#EEEEEE"> <div style="padding: 6px; margin-top: 2px; margin-bottom: 6px; margin-left: 6px; margin-right: 6px; text-align: justify; font-size: 80%; font-family: Helvetica, Arial, sans-serif; font-weight: normal;"> Please note that this documentation is not final and is subject to change. </div> </div>'
0N/AJAVADOCBOTTOM_EARLYACCESS = '<font size="-1"><a href="http://bugs.sun.com/services/bugreport/index.jsp">Submit a bug or feature</a> <p>Copyright $(THIS_YEAR) Sun Microsystems, Inc. All Rights Reserved. Use is subject to <a href="{@docroot}/../legal/license.html">license terms</a>.</font>'
0N/AJAVADOCTITLE_EARLYACCESS = $(subst Specification,Documentation,$(JAVADOCTITLE))
0N/A
0N/A#
0N/A# Variables used by domapidocs target
0N/A#
0N/A
0N/ADOMAPI_JAVADOCFLAGS = $(COMMON_JAVADOCFLAGS) \
0N/A -encoding ascii \
0N/A -splitIndex \
0N/A -doctitle $(DOMAPI_JAVADOCTITLE) \
0N/A -windowtitle $(DOMAPI_JAVADOCWINDOWTITLE) \
0N/A -header $(DOMAPI_JAVADOCHEADER) \
0N/A -bottom $(DOMAPI_JAVADOCBOTTOM) \
0N/A -group $(DOMAPI_GROUPNAME) $(DOMAPI_REGEXP)
0N/ADOMAPI_JAVADOCTITLE = 'Common DOM API'
0N/ADOMAPI_JAVADOCWINDOWTITLE = 'Common DOM API'
0N/ADOMAPI_JAVADOCHEADER = '<b>Common DOM API</b>'
0N/ADOMAPI_JAVADOCBOTTOM = '<font size="-1"><a href="http://bugs.sun.com/services/bugreport/index.jsp">Submit a bug or feature</a><br>Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.<br>Copyright $(THIS_YEAR) Sun Microsystems, Inc. 4150 Network Circle<br>Santa Clara, California, 95054, U.S.A. All Rights Reserved.</font>'
0N/ADOMAPI_GROUPNAME = "Packages"
0N/ADOMAPI_REGEXP = "com.sun.java.browser.dom:org.w3c.dom*"
0N/A# DOMAPI_PKGS is located in NON_CORE_PKGS.gmk
0N/A
0N/A#
0N/A# Variables used by mirrordocs target
0N/A#
0N/A
0N/AMIRROR_JAVADOCFLAGS = $(COMMON_JAVADOCFLAGS) \
0N/A -encoding ascii \
0N/A -doctitle $(MIRROR_JAVADOCTITLE) \
0N/A -windowtitle $(MIRROR_JAVADOCWINDOWTITLE) \
0N/A -header $(MIRROR_JAVADOCHEADER) \
0N/A -bottom $(MIRROR_JAVADOCBOTTOM) \
0N/A -group $(MIRROR_GROUPNAME) $(MIRROR_REGEXP) \
0N/A -overview $(MIRROR_OVERVIEW)
0N/AMIRROR_JAVADOCTITLE = 'Mirror API'
0N/AMIRROR_JAVADOCWINDOWTITLE = 'Mirror API'
0N/AMIRROR_JAVADOCHEADER = '<b>Mirror API</b>'
0N/AMIRROR_JAVADOCBOTTOM = '<font size="-1"><a href="http://bugs.sun.com/services/bugreport/index.jsp">Report a bug or request a feature.</a><br>Copyright $(THIS_YEAR) Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.</font>'
0N/AMIRROR_GROUPNAME = "Packages"
0N/AMIRROR_OVERVIEW = $(IMPORTSRCDIR)/com/sun/mirror/overview.html
0N/AMIRROR_REGEXP = "com.sun.mirror.*"
0N/AMIRROR_DESTDIR = $(DOCSDIR)/jdk/api/apt/mirror
0N/AMIRROR_LINKOPT = -linkoffline ../../../../api $(DOCSDIR)/api/
0N/A# MIRROR_PKGS is located in NON_CORE_PKGS.gmk
0N/A
0N/A#
0N/A# Variables used by docletapidocs target
0N/A#
0N/A
0N/ADOCLETAPI_JAVADOCFLAGS = $(COMMON_JAVADOCFLAGS) \
0N/A -breakiterator \
0N/A -encoding ascii \
0N/A -doctitle $(DOCLETAPI_JAVADOCTITLE) \
0N/A -windowtitle $(DOCLETAPI_JAVADOCWINDOWTITLE) \
0N/A -header $(DOCLETAPI_JAVADOCHEADER) \
0N/A -bottom $(DOCLETAPI_JAVADOCBOTTOM) \
0N/A -group $(DOCLETAPI_GROUPNAME) $(DOCLETAPI_REGEXP)
0N/ADOCLETAPI_JAVADOCTITLE = 'Doclet API'
0N/ADOCLETAPI_JAVADOCWINDOWTITLE = 'Doclet API'
0N/ADOCLETAPI_JAVADOCHEADER = '<b>Doclet API</b>'
0N/ADOCLETAPI_JAVADOCBOTTOM = '<font size="-1"><a href="http://bugs.sun.com/services/bugreport/index.jsp">Submit a bug or feature</a><br>Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.<br>Copyright 1993-$(THIS_YEAR) Sun Microsystems, Inc. 4150 Network Circle<br>Santa Clara, California, 95054, U.S.A. All Rights Reserved.</font>'
0N/ADOCLETAPI_GROUPNAME = "Packages"
0N/ADOCLETAPI_REGEXP = "com.sun.javadoc"
0N/ADOCLETAPI_LINKOPT = -linkoffline ../../../../api $(DOCSDIR)/api/
0N/A# DOCLETAPI_PKGS is located in NON_CORE_PKGS.gmk
0N/A
0N/A#
0N/A# Variables used by tagletapidocs target
0N/A#
0N/A
0N/ATAGLETAPI_JAVADOCFLAGS = $(COMMON_JAVADOCFLAGS) \
0N/A -encoding ascii \
0N/A -nonavbar \
0N/A -noindex \
0N/A -bottom $(TAGLETAPI_JAVADOCBOTTOM)
0N/ATAGLETAPI_JAVADOCBOTTOM = '<font size="-1"><a href="http://bugs.sun.com/services/bugreport/index.jsp">Submit a bug or feature</a><br>Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.<br>Copyright 1993-$(THIS_YEAR) Sun Microsystems, Inc. 4150 Network Circle<br>Santa Clara, California, 95054, U.S.A. All Rights Reserved.</font>'
0N/A# TAGLETAPI_FILE is located in NON_CORE_PKGS.gmk
0N/A
0N/A#
0N/A# Variables used by jdi target
0N/A#
0N/A
0N/AJPDA_SOURCEPATH = $(TOPDIR)/src/share/classes
0N/A
0N/AJDI_JAVADOCFLAGS = $(COMMON_JAVADOCFLAGS) \
0N/A -encoding ascii \
0N/A -nodeprecatedlist \
0N/A -d $(DOCSDIR)/jdk/api/jpda/jdi \
0N/A -sourcepath $(JPDA_SOURCEPATH) \
0N/A -windowtitle $(JDI_WINDOWTITLE) \
0N/A -doctitle $(JDI_DOCTITLE) \
0N/A -header $(JDI_HEADER) \
0N/A -linkoffline ../../../../api $(DOCSDIR)/api/ \
0N/A -overview $(JPDA_SOURCEPATH)/jdi-overview.html
0N/AJDI_WINDOWTITLE = "Java Debug Interface"
0N/AJDI_DOCTITLE = "Java$(TRADEMARK) Debug Interface"
0N/AJDI_HEADER = "Java Debug Interface"
0N/A# JDI_PKGS is located in NON_CORE_PKGS.gmk
0N/A
0N/A#
0N/A# Variables used by JAAS target
0N/A#
0N/A# NOTE: Quotes are required around sourcepath argument only on Windows. Otherwise,
0N/A# you get "No packages or classes specified." due to $(CLASSPATH_SEPARATOR)
0N/A# being interpreted as an end of command (newline)
0N/A
0N/AJAAS_SOURCEPATH = "$(TOPDIR)/src/share/classes$(CLASSPATH_SEPARATOR)$(TOPDIR)/src/solaris/classes$(CLASSPATH_SEPARATOR)$(TOPDIR)/src/windows/classes$(CLASSPATH_SEPARATOR)$(TOPDIR)/src/linux/classes"
0N/AJAAS_DOCDIR = $(DOCSDIR)/jre/api/security/jaas/spec
0N/AJAAS_JAVADOCFLAGS = $(COMMON_JAVADOCFLAGS) \
0N/A -encoding ascii \
0N/A -nodeprecatedlist \
0N/A -d $(JAAS_DOCDIR) \
0N/A -sourcepath $(JAAS_SOURCEPATH) \
0N/A -windowtitle $(JAAS_WINDOWTITLE) \
0N/A -doctitle $(JAAS_DOCTITLE) \
0N/A -header $(JAAS_JAVADOCHEADER) \
0N/A -linkoffline ../../../../../api $(DOCSDIR)/api/ \
0N/A -overview $(TOPDIR)/src/share/classes/com/sun/security/auth/jaas-overview.html
0N/AJAAS_WINDOWTITLE = "Java Authentication and Authorization Service "
0N/AJAAS_DOCTITLE = "Java$(TRADEMARK) Authentication and Authorization Service"
0N/AJAAS_JAVADOCHEADER = "JAAS"
0N/A# JAAS_PKGS is located in NON_CORE_PKGS.gmk
0N/A
0N/A#
0N/A# Variables used by JGSS target
0N/A#
0N/A
0N/AJGSS_SOURCEPATH = $(TOPDIR)/src/share/classes
0N/AJGSS_DOCDIR = $(DOCSDIR)/jre/api/security/jgss/spec
0N/A
0N/AJGSS_JAVADOCFLAGS = $(COMMON_JAVADOCFLAGS) \
0N/A -encoding ascii \
0N/A -nodeprecatedlist \
0N/A -d $(JGSS_DOCDIR) \
0N/A -sourcepath $(JGSS_SOURCEPATH) \
0N/A -windowtitle $(JGSS_WINDOWTITLE) \
0N/A -doctitle $(JGSS_DOCTITLE) \
0N/A -header $(JGSS_JAVADOCHEADER) \
0N/A -linkoffline ../../../../../api $(DOCSDIR)/api/ \
0N/A -overview $(JGSS_SOURCEPATH)/com/sun/security/jgss/jgss-overview.html
0N/A
0N/AJGSS_WINDOWTITLE = "Java GSS-API Utilities "
0N/AJGSS_DOCTITLE = "Java$(TRADEMARK) GSS-API Utilities"
0N/AJGSS_JAVADOCHEADER = "Java GSS-API Utilities"
0N/A# JGSS_PKGS is located in NON_CORE_PKGS.gmk
0N/A
0N/A#
0N/A# Variables used by SMARTCARDIO target
0N/A#
0N/A
0N/ASMARTCARDIO_SOURCEPATH = $(TOPDIR)/src/share/classes
0N/ASMARTCARDIO_DOCDIR = $(DOCSDIR)/jre/api/security/smartcardio/spec
0N/A
0N/ASMARTCARDIO_JAVADOCFLAGS = $(COMMON_JAVADOCFLAGS) \
0N/A -encoding ascii \
0N/A -nodeprecatedlist \
0N/A -d $(SMARTCARDIO_DOCDIR) \
0N/A -sourcepath $(SMARTCARDIO_SOURCEPATH) \
0N/A -windowtitle $(SMARTCARDIO_WINDOWTITLE) \
0N/A -doctitle $(SMARTCARDIO_DOCTITLE) \
0N/A -header $(SMARTCARDIO_JAVADOCHEADER) \
0N/A -linkoffline ../../../../../api $(DOCSDIR)/api/
0N/A
0N/ASMARTCARDIO_WINDOWTITLE = "Java Smart Card I/O"
0N/ASMARTCARDIO_DOCTITLE = "Java$(TRADEMARK) Smart Card I/O"
0N/ASMARTCARDIO_JAVADOCHEADER = "Java Smart Card I/O"
0N/A# SMARTCARDIO_PKGS is located in NON_CORE_PKGS.gmk
0N/A
0N/A#
0N/A# Variables used by HTTPSERVER target
0N/A#
0N/A
0N/AHTTPSERVER_SOURCEPATH = $(TOPDIR)/src/share/classes
0N/AHTTPSERVER_DOCDIR = $(DOCSDIR)/jre/api/net/httpserver/spec
0N/A
0N/AHTTPSERVER_JAVADOCFLAGS = $(COMMON_JAVADOCFLAGS) \
0N/A -encoding ascii \
0N/A -nodeprecatedlist \
0N/A -d $(HTTPSERVER_DOCDIR) \
0N/A -sourcepath $(HTTPSERVER_SOURCEPATH) \
0N/A -windowtitle $(HTTPSERVER_WINDOWTITLE) \
0N/A -doctitle $(HTTPSERVER_DOCTITLE) \
0N/A -header $(HTTPSERVER_JAVADOCHEADER) \
0N/A -linkoffline ../../../../../api $(DOCSDIR)/api/
0N/A
0N/AHTTPSERVER_WINDOWTITLE = "Java HTTP Server"
0N/AHTTPSERVER_DOCTITLE = "Java$(TRADEMARK) HTTP Server"
0N/AHTTPSERVER_JAVADOCHEADER = "Java HTTP Server"
0N/A# HTTPSERVER_PKGS is located in NON_CORE_PKGS.gmk
0N/A
0N/A#
0N/A# Variables used by jvmti target
0N/A#
0N/AJVMTI_DOCS_SUBDIR = platform/jvmti
0N/AJVMTI_HTML = $(HOTSPOT_DOCS_IMPORT_PATH)/$(JVMTI_DOCS_SUBDIR)/jvmti.html
0N/A
0N/A#
0N/A# Variables used by mgmt target
0N/A#
0N/AMGMT_DOCDIR = $(DOCSDIR)/jre/api/management/
0N/AMGMT_EXT_DIR = $(MGMT_DOCDIR)/extension
0N/AMGMT_SOURCEPATH = $(TOPDIR)/src/share/classes
0N/AJVM_MIB_NAME = JVM-MANAGEMENT-MIB.mib
0N/AJVM_MIB_SRC = $(CLOSED_SRC)/share/classes/sun/management/snmp/$(JVM_MIB_NAME)
0N/A
0N/Aifdef OPENJDK
0N/A COPY-MIB-TARGET =
0N/Aelse
0N/A COPY-MIB-TARGET = copy-mib
0N/Aendif
0N/AMGMT_JAVADOCFLAGS = $(COMMON_JAVADOCFLAGS) \
0N/A -encoding ascii \
0N/A -nodeprecatedlist \
0N/A -d $(MGMT_EXT_DIR) \
0N/A -sourcepath $(MGMT_SOURCEPATH) \
0N/A -windowtitle $(MGMT_WINDOWTITLE) \
0N/A -doctitle $(MGMT_DOCTITLE) \
0N/A -header $(MGMT_HEADER) \
0N/A -linkoffline ../../../../api $(DOCSDIR)/api/ \
0N/A -overview $(MGMT_SOURCEPATH)/com/sun/management/mgmt-overview.html
0N/AMGMT_WINDOWTITLE = "Monitoring and Management Interface for the Java Platform"
0N/AMGMT_DOCTITLE = "Monitoring and Management Interface for the Java$(TRADEMARK) Platform"
0N/AMGMT_HEADER = "Monitoring and Management Interface for the Java Platform"
0N/A# MGMT_PKGS is located in NON_CORE_PKGS.gmk
0N/A
0N/A#
0N/A# Variables used by attach target
0N/A#
0N/A
0N/AATTACH_SOURCEPATH = $(TOPDIR)/src/share/classes
0N/AATTACH_DOCDIR = $(DOCSDIR)/jdk/api/attach/spec
0N/AATTACH_JAVADOCFLAGS = $(COMMON_JAVADOCFLAGS) \
0N/A -encoding ascii \
0N/A -nodeprecatedlist \
0N/A -d $(ATTACH_DOCDIR) \
0N/A -sourcepath $(ATTACH_SOURCEPATH) \
0N/A -windowtitle $(ATTACH_WINDOWTITLE) \
0N/A -doctitle $(ATTACH_DOCTITLE) \
0N/A -header $(ATTACH_HEADER) \
0N/A -linkoffline ../../../../api $(DOCSDIR)/api/
0N/AATTACH_WINDOWTITLE = "Attach API"
0N/AATTACH_DOCTITLE = "Attach API"
0N/AATTACH_HEADER = "Attach API"
0N/A# ATTACH_PKGS is located in NON_CORE_PKGS.gmk
0N/A
0N/A#
0N/A# Variables used by jconsole target
0N/A#
0N/A
0N/AJCONSOLE_SOURCEPATH = $(TOPDIR)/src/share/classes
0N/AJCONSOLE_DOCDIR = $(DOCSDIR)/jdk/api/jconsole/spec
0N/AJCONSOLE_JAVADOCFLAGS = $(COMMON_JAVADOCFLAGS) \
0N/A -encoding ascii \
0N/A -nodeprecatedlist \
0N/A -d $(JCONSOLE_DOCDIR) \
0N/A -sourcepath $(JCONSOLE_SOURCEPATH) \
0N/A -windowtitle $(JCONSOLE_WINDOWTITLE) \
0N/A -doctitle $(JCONSOLE_DOCTITLE) \
0N/A -header $(JCONSOLE_HEADER) \
0N/A -linkoffline ../../../../api $(DOCSDIR)/api/
0N/AJCONSOLE_WINDOWTITLE = "JConsole API"
0N/AJCONSOLE_DOCTITLE = "JConsole API"
0N/AJCONSOLE_HEADER = "JConsole API"
0N/A# JCONSOLE_PKGS is located in NON_CORE_PKGS.gmk
0N/A
0N/A#
0N/A# Variables used by treeapidocs target
0N/A#
0N/A
0N/ATREEAPI_JAVADOCFLAGS = $(COMMON_JAVADOCFLAGS) \
0N/A -encoding ascii \
0N/A -doctitle $(TREEAPI_JAVADOCTITLE) \
0N/A -windowtitle $(TREEAPI_JAVADOCWINDOWTITLE) \
0N/A -header $(TREEAPI_JAVADOCHEADER) \
0N/A -bottom $(TREEAPI_JAVADOCBOTTOM) \
0N/A -group $(TREEAPI_GROUPNAME) $(TREEAPI_REGEXP)
0N/A#
0N/A# -overview $(TREEAPI_OVERVIEW)
0N/A#
0N/ATREEAPI_JAVADOCTITLE = 'Compiler Tree API'
0N/ATREEAPI_JAVADOCWINDOWTITLE = 'Compiler Tree API'
0N/ATREEAPI_JAVADOCHEADER = '<b>Compiler Tree API</b>'
0N/ATREEAPI_JAVADOCBOTTOM = '<font size="-1"><a href="http://bugs.sun.com/services/bugreport/index.jsp">Report a bug or request a feature.</a><br>Copyright $(THIS_YEAR) Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.</font>'
0N/ATREEAPI_GROUPNAME = "Packages"
0N/ATREEAPI_OVERVIEW = $(SHARE_SRC)/classes/com/sun/source/overview.html
0N/ATREEAPI_REGEXP = "com.sun.source.*"
0N/ATREEAPI_DESTDIR = $(DOCSDIR)/jdk/api/javac/tree
0N/ATREEAPI_LINKOPT = -linkoffline ../../../../api $(DOCSDIR)/api/
0N/A# TREEAPI_PKGS is located in NON_CORE_PKGS.gmk
0N/A
0N/A#
0N/A# Path where javadoc should find source files for release docs
0N/A#
0N/ARELEASEDOCS_SRCPATH = "$(SHARE_SRC)/classes$(CLASSPATH_SEPARATOR)$(PLATFORM_SRC)/classes$(CLASSPATH_SEPARATOR)$(GENSRCDIR)$(CLASSPATH_SEPARATOR)$(SHARE_SRC)/doc/stub$(CLASSPATH_SEPARATOR)$(CLOSED_SRC)/share/classes$(CLASSPATH_SEPARATOR)$(IMPORTSRCDIR)"
0N/A
0N/A#
0N/A# CORE_PKGS environment variable has been moved to the following file
0N/A#
0N/Ainclude CORE_PKGS.gmk
0N/A
0N/A#
0N/A# Load environment variables for API package names that are not part of
0N/A# the Java SE platform
0N/A#
0N/Ainclude NON_CORE_PKGS.gmk
0N/A
0N/A# Targets for all APIs other than the core platform APIs
0N/AALL_OTHER_TARGETS = \
0N/A mirrordocs \
0N/A docletapidocs \
0N/A tagletapidocs \
0N/A domapidocs \
0N/A jpdadocs \
0N/A jaasdocs \
0N/A jgssdocs \
0N/A smartcardiodocs \
0N/A httpserverdocs \
0N/A mgmtdocs \
0N/A attachdocs \
0N/A jconsoledocs \
0N/A treeapidocs
0N/A
0N/A.PHONY: all docs
0N/Aall docs: coredocs otherdocs
0N/A
0N/A.PHONY: otherdocs
0N/Aotherdocs: ${ALL_OTHER_TARGETS}
0N/A
0N/A
0N/A#################################################################
0N/A# Production Targets -- USE THESE TARGETS WHEN:
0N/A# a) You're generating docs outside of release engineering's
0N/A# standard control build.
0N/A# b) The docs will be pushed to the web and/or included in
0N/A# the downloaded doc bundle.
0N/A#
0N/A# See: Notes.html#releaseTargets
0N/A# Note: Spaces preceed ifdef/ifndef indents. Tabs preceed target commands (!)
0N/A#
0N/A.PHONY: sanitycheckcoredocs
0N/Asanitycheckcoredocs:
0N/A @$(ECHO) ""
0N/A @$(ECHO) "Building core api docs with these values:"
0N/A @$(ECHO) " BUILD_NUMBER = $(BUILD_NUMBER)"
0N/A @$(ECHO) " MILESTONE = $(MILESTONE)"
0N/A @$(ECHO) ""
0N/A ifeq ($(BUILD_NUMBER), b00)
0N/A @$(ECHO) "ERROR: Build number must be defined"
0N/A @$(ECHO) "MILESTONE is set to $(MILESTONE)"
0N/A @$(ECHO) ""
0N/A exit 1
0N/A endif
0N/A
0N/A# Maximize performance and ensure that build number & milestone are set.
0N/A.PHONY: rel-coredocs
0N/Arel-coredocs: sanitycheckcoredocs
0N/A @# ######## release version of core packages ########
0N/A $(MAKE) coredocs
0N/A
0N/A.PHONY: rel-docs
0N/Arel-docs: rel-coredocs ${ALL_OTHER_TARGETS}
0N/A#
0N/A# end of production targets
0N/A#############################################################
0N/A
0N/A.PHONY: coredocs
0N/Acoredocs:
0N/A @# ######## core packages #######################
0N/A $(RM) -r $(DOCSDIR)/api
0N/A $(MKDIR) -p $(DOCSDIR)/api
0N/A $(JAVADOC_CMD) $(CORE_JAVADOCFLAGS) \
0N/A -d $(DOCSDIR)/api \
0N/A -sourcepath $(RELEASEDOCS_SRCPATH) \
0N/A $(CORE_PKGS)
0N/A
0N/A.PHONY: mirrordocs
0N/Amirrordocs:
0N/A @# ######## mirror api for apt ##################
0N/A $(RM) -r $(MIRROR_DESTDIR)
0N/A $(MKDIR) -p $(MIRROR_DESTDIR)
0N/A $(JAVADOC_CMD) $(MIRROR_JAVADOCFLAGS) \
0N/A -d $(MIRROR_DESTDIR) \
0N/A -sourcepath $(RELEASEDOCS_SRCPATH) \
0N/A $(MIRROR_LINKOPT) \
0N/A $(MIRROR_PKGS)
0N/A
0N/A.PHONY: docletapidocs
0N/Adocletapidocs:
0N/A @# ######## doclet api ############################
0N/A $(RM) -r $(DOCSDIR)/jdk/api/javadoc/doclet
0N/A $(MKDIR) -p $(DOCSDIR)/jdk/api/javadoc/doclet
0N/A $(JAVADOC_CMD) $(DOCLETAPI_JAVADOCFLAGS) \
0N/A -d $(DOCSDIR)/jdk/api/javadoc/doclet \
0N/A -sourcepath $(RELEASEDOCS_SRCPATH) \
0N/A $(DOCLETAPI_LINKOPT) \
0N/A $(DOCLETAPI_PKGS)
0N/A
0N/A.PHONY: tagletapidocs
0N/Atagletapidocs:
0N/A @# ######## taglet api ############################
0N/A $(RM) -r $(DOCSDIR)/jdk/api/javadoc/taglet
0N/A $(MKDIR) -p $(DOCSDIR)/jdk/api/javadoc/taglet
0N/A $(RM) -r $(DOCSTMPDIR)
0N/A $(MKDIR) -p $(DOCSTMPDIR)
0N/A $(JAVADOC_CMD) $(TAGLETAPI_JAVADOCFLAGS) \
0N/A -d $(DOCSTMPDIR) \
0N/A -linkoffline ../../../../api $(DOCSDIR)/api/ \
0N/A $(IMPORTSRCDIR)/$(TAGLETAPI_FILE)
0N/A cp -r $(DOCSTMPDIR)/com $(DOCSDIR)/jdk/api/javadoc/taglet
0N/A cp $(DOCSTMPDIR)/stylesheet.css $(DOCSDIR)/jdk/api/javadoc/taglet
0N/A $(RM) -r $(DOCSTMPDIR)
0N/A
0N/A.PHONY: domapidocs
0N/Adomapidocs:
0N/A @# ######## dom api ############################
0N/A $(RM) -r $(DOCSDIR)/jre/api/plugin/dom
0N/A $(MKDIR) -p $(DOCSDIR)/jre/api/plugin/dom
0N/A $(JAVADOC_CMD) $(DOMAPI_JAVADOCFLAGS) \
0N/A -d $(DOCSDIR)/jre/api/plugin/dom \
0N/A -sourcepath $(RELEASEDOCS_SRCPATH) \
0N/A -linkoffline ../../../../api $(DOCSDIR)/api/ \
0N/A $(DOMAPI_PKGS)
0N/A
0N/A.PHONY: jpdadocs
0N/Ajpdadocs: jdidocs jdwpdocs jvmtidocs
0N/A
0N/A.PHONY: jdidocs
0N/Ajdidocs:
0N/A @# ######## jdi #################################
0N/A $(RM) -r $(DOCSDIR)/jdk/api/jpda/jdi
0N/A $(MKDIR) -p $(DOCSDIR)/jdk/api/jpda/jdi
0N/A $(JAVADOC_CMD) $(JDI_JAVADOCFLAGS) \
0N/A $(JDI_PKGS)
0N/A
0N/AJDWP_SPEC = $(BUILDDIR)/jpda/jdwp/jdwp.spec
0N/AJDWP_DOC = $(DOCSDIR)/platform/jpda/jdwp/jdwp-protocol.html
0N/AJDWPGEN_JARFILE = $(BUILDTOOLJARDIR)/jdwpgen.jar
0N/A
0N/A.PHONY: jdwpdocs
0N/Ajdwpdocs: $(JDWP_DOC)
0N/A
0N/A$(JDWP_DOC): $(JDWPGEN_JARFILE) $(JDWP_SPEC)
0N/A $(prep-target)
0N/A $(BOOT_JAVA_CMD) -jar $(JDWPGEN_JARFILE) $(JDWP_SPEC) -doc $(JDWP_DOC)
0N/A
0N/A.PHONY: jvmtidocs
0N/Ajvmtidocs:
0N/A @# ######## jvmti #################################
0N/A @if [ -f $(JVMTI_HTML) ] ; then \
0N/A $(RM) -r $(DOCSDIR)/$(JVMTI_DOCS_SUBDIR); \
0N/A $(MKDIR) -p $(DOCSDIR)/$(JVMTI_DOCS_SUBDIR); \
0N/A $(ECHO) $(CP) $(JVMTI_HTML) $(DOCSDIR)/$(JVMTI_DOCS_SUBDIR); \
0N/A $(CP) $(JVMTI_HTML) $(DOCSDIR)/$(JVMTI_DOCS_SUBDIR); \
0N/A else \
0N/A $(ECHO) "WARNING: Generated jvmti file does not exist: $(JVMTI_HTML)"; \
0N/A fi
0N/A
0N/A.PHONY: jaasdocs
0N/Ajaasdocs:
0N/A @# ######## api-jaas ############################
0N/A $(RM) -r $(JAAS_DOCDIR)
0N/A $(MKDIR) -p $(JAAS_DOCDIR)
0N/A $(JAVADOC_CMD) $(JAAS_JAVADOCFLAGS) \
0N/A $(JAAS_PKGS)
0N/A
0N/A.PHONY: jgssdocs
0N/Ajgssdocs:
0N/A @# ######## api-jgss ############################
0N/A $(RM) -r $(JGSS_DOCDIR)
0N/A $(MKDIR) -p $(JGSS_DOCDIR)
0N/A $(JAVADOC_CMD) $(JGSS_JAVADOCFLAGS) \
0N/A $(JGSS_PKGS)
0N/A
0N/A.PHONY: smartcardiodocs
0N/Asmartcardiodocs:
0N/A @# ######## api-smartcardio ############################
0N/A $(RM) -r $(SMARTCARDIO_DOCDIR)
0N/A $(MKDIR) -p $(SMARTCARDIO_DOCDIR)
0N/A $(JAVADOC_CMD) $(SMARTCARDIO_JAVADOCFLAGS) \
0N/A $(SMARTCARDIO_PKGS)
0N/A
0N/A.PHONY: httpserverdocs
0N/Ahttpserverdocs:
0N/A @# ######## api-httpserver #######################
0N/A $(RM) -r $(HTTPSERVER_DOCDIR)
0N/A $(MKDIR) -p $(HTTPSERVER_DOCDIR)
0N/A $(JAVADOC_CMD) $(HTTPSERVER_JAVADOCFLAGS) \
0N/A $(HTTPSERVER_PKGS)
0N/A
0N/A.PHONY: mgmtdocs
0N/Amgmtdocs: $(COPY-MIB-TARGET)
0N/A @# ######## api-management ############################
0N/A $(RM) -r $(MGMT_EXT_DIR)
0N/A $(MKDIR) -p $(MGMT_EXT_DIR)
0N/A $(JAVADOC_CMD) $(MGMT_JAVADOCFLAGS) \
0N/A $(MGMT_PKGS)
0N/A
0N/Acopy-mib:
0N/A @# ######## copy-snmp-mib ############################
0N/A $(RM) $(MGMT_DOCDIR)/$(JVM_MIB_NAME)
0N/A $(MKDIR) -p $(MGMT_DOCDIR)
0N/A $(CP) $(JVM_MIB_SRC) $(MGMT_DOCDIR)
0N/A
0N/A.PHONY: attachdocs
0N/Aattachdocs:
0N/A @# ######## api-attach ############################
0N/A $(RM) -r $(ATTACH_DOCDIR)
0N/A $(MKDIR) -p $(ATTACH_DOCDIR)
0N/A $(JAVADOC_CMD) $(ATTACH_JAVADOCFLAGS) \
0N/A $(ATTACH_PKGS)
0N/A
0N/A.PHONY: jconsoledocs
0N/Ajconsoledocs:
0N/A @# ######## api-jconsole ############################
0N/A $(RM) -r $(JCONSOLE_DOCDIR)
0N/A $(MKDIR) -p $(JCONSOLE_DOCDIR)
0N/A $(JAVADOC_CMD) $(JCONSOLE_JAVADOCFLAGS) \
0N/A $(JCONSOLE_PKGS)
0N/A
0N/A.PHONY: treeapidocs
0N/Atreeapidocs:
0N/A @# ######## tree api for javac ##################
0N/A $(RM) -r $(TREEAPI_DESTDIR)
0N/A $(MKDIR) -p $(TREEAPI_DESTDIR)
0N/A $(JAVADOC_CMD) $(TREEAPI_JAVADOCFLAGS) \
0N/A -d $(TREEAPI_DESTDIR) \
0N/A -sourcepath $(RELEASEDOCS_SRCPATH) \
0N/A $(TREEAPI_LINKOPT) \
0N/A $(TREEAPI_PKGS)
0N/A
0N/A# DEBUG TARGET
0N/A# List the values defined in the makefile hierarchy, to make sure everything
0N/A# is set properly, and to help identify values we can use instead of making new ones.
0N/A# (Most of them come from common/shared/Defs.gmk)
0N/A#
0N/A# Notes:
0N/A# * BUILD_NUMBER defaults to b00 if not set on command line with BUILD_NUMBER=<value>
0N/A# * MILESTONE defaults to internal unless set to beta, rc, or fcs on command line
0N/A#
0N/A.PHONY: echovalues
0N/Aechovalues:
0N/A @$(ECHO) ""
0N/A @$(ECHO) --------------Shared---------------------------
0N/A @$(ECHO) BUILD_NUMBER = $(BUILD_NUMBER)
0N/A @$(ECHO) FULL_VERSION = $(FULL_VERSION)
0N/A @$(ECHO) JDK_VERSION = $(JDK_VERSION)
0N/A @$(ECHO) JDK_MAJOR_VERSION = $(JDK_MAJOR_VERSION)
0N/A @$(ECHO) JDK_MINOR_VERSION = $(JDK_MINOR_VERSION)
0N/A @$(ECHO) JDK_MICRO_VERSION = $(JDK_MICRO_VERSION)
0N/A @$(ECHO) JDK_UPDATE_VERSION = $(JDK_UPDATE_VERSION)
0N/A @$(ECHO) JDK_MKTG_VERSION = $(JDK_MKTG_VERSION)
0N/A @$(ECHO) JDK_UNDERSCORE_VERSION = $(JDK_UNDERSCORE_VERSION)
0N/A @$(ECHO) JDK_MKTG_UNDERSCORE_VERSION = $(JDK_MKTG_UNDERSCORE_VERSION)
0N/A @$(ECHO) MARKETING_NUMBER = $(MARKETING_NUMBER)
0N/A @$(ECHO) MARKET_NAME = $(MARKET_NAME)
0N/A @$(ECHO) MILESTONE = $(MILESTONE)
0N/A @$(ECHO) RELEASE = $(RELEASE)
0N/A @$(ECHO) USER_RELEASE_SUFFIX = $(USER_RELEASE_SUFFIX)
0N/A @$(ECHO) --------------Shared---------------------------
0N/A @$(ECHO) ""
0N/A @$(ECHO) --------------common/Defs---------------------------
0N/A @$(ECHO) "RELEASEDOCS_SRCPATH"
0N/A @$(ECHO) " SHARE_SRC/classes: $(SHARE_SRC)/classes"
0N/A @$(ECHO) " PLATFORM_SRC/classes: $(PLATFORM_SRC)/classes"
0N/A @$(ECHO) " GENSRCDIR: $(GENSRCDIR)"
0N/A @$(ECHO) " IMPORTSRCDIR: $(IMPORTSRCDIR)"
0N/A @$(ECHO) " SHARE_SRC/doc/stub: $(SHARE_SRC)/doc/stub"
0N/A @$(ECHO) --------------common/Defs---------------------------
0N/A @$(ECHO) ""