Makefile revision 184
fa9e4066f08beec538e775443c5be79dd423fcabahrens# Copyright 1997-2007 Sun Microsystems, Inc. All Rights Reserved.
fa9e4066f08beec538e775443c5be79dd423fcabahrens# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# This code is free software; you can redistribute it and/or modify it
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# under the terms of the GNU General Public License version 2 only, as
fa9e4066f08beec538e775443c5be79dd423fcabahrens# published by the Free Software Foundation. Sun designates this
fa9e4066f08beec538e775443c5be79dd423fcabahrens# particular file as subject to the "Classpath" exception as provided
fa9e4066f08beec538e775443c5be79dd423fcabahrens# by Sun in the LICENSE file that accompanied this code.
fa9e4066f08beec538e775443c5be79dd423fcabahrens# This code is distributed in the hope that it will be useful, but WITHOUT
fa9e4066f08beec538e775443c5be79dd423fcabahrens# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
fa9e4066f08beec538e775443c5be79dd423fcabahrens# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
fa9e4066f08beec538e775443c5be79dd423fcabahrens# version 2 for more details (a copy is included in the LICENSE file that
fa9e4066f08beec538e775443c5be79dd423fcabahrens# accompanied this code).
fa9e4066f08beec538e775443c5be79dd423fcabahrens# You should have received a copy of the GNU General Public License version
fa9e4066f08beec538e775443c5be79dd423fcabahrens# 2 along with this work; if not, write to the Free Software Foundation,
fa9e4066f08beec538e775443c5be79dd423fcabahrens# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
fa9e4066f08beec538e775443c5be79dd423fcabahrens# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
0a586cea3ceec7e5e50e7e54c745082a7a333ac2Mark Shellenbaum# CA 95054 USA or visit www.sun.com if you need additional information or
fa9e4066f08beec538e775443c5be79dd423fcabahrens# have any questions.
fa9e4066f08beec538e775443c5be79dd423fcabahrens# Definitions for $(DOCSDIR), $(MKDIR), $(BINDIR), etc.
fa9e4066f08beec538e775443c5be79dd423fcabahrens# We override whatever the max VM memory setting is here.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# NOTE: javadoc will not complete without these larger settings.
fa9e4066f08beec538e775443c5be79dd423fcabahrens# WARNING: This could cause thrashing on low memory machines.
fa9e4066f08beec538e775443c5be79dd423fcabahrens# Variables used by docs target
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw -source 1.5 \
ae480683925f95c1278b2284aa47d8c2d214be7bTim HaleyDRAFT = '<br><b>DRAFT '$(MILESTONE)-$(BUILD_NUMBER)'</b>'
ae480683925f95c1278b2284aa47d8c2d214be7bTim HaleyTHIS_YEAR := $(shell $(DATE) | $(SED) -e 's/ / /g' | $(CUT) -d' ' -f6)
ae480683925f95c1278b2284aa47d8c2d214be7bTim HaleyIGNORED_TAGS = beaninfo revised since.unbundled spec Note ToDo
ae480683925f95c1278b2284aa47d8c2d214be7bTim Haley The Java Language Specification, Third Edition</a>
ae480683925f95c1278b2284aa47d8c2d214be7bTim HaleyTAG_JLS3 = -tag 'jls3:a:See <cite>$(JLS3_CITE)</cite>:'
ae480683925f95c1278b2284aa47d8c2d214be7bTim Haley DOCTITLE_SWITCH = $(JAVADOCTITLE_EARLYACCESS)$(DRAFT)
ae480683925f95c1278b2284aa47d8c2d214be7bTim Haley WINDOWTITLE_SWITCH = $(JAVADOCWINDOWTITLE)" $(BUILD_NUMBER)"
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwJAVADOCTITLE = 'Java$(TRADEMARK) Platform, Standard Edition $(JDK_MINOR_VERSION)<br>API Specification'
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwJAVADOCWINDOWTITLE = 'Java Platform SE $(JDK_MINOR_VERSION)'
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwJAVADOCHEADER = '<b>Java$(TRADEMARK) Platform<br>Standard Ed. $(JDK_MINOR_VERSION)</b>'
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwJAVADOCBOTTOM = '<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>'
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwJAVADOCOVERVIEW = $(SHARE_SRC)/classes/overview-core.html
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Early access top and bottom text (for snapshots, beta and rc)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwJAVADOCTOP_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>'
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwJAVADOCBOTTOM_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>'
ae480683925f95c1278b2284aa47d8c2d214be7bTim HaleyJAVADOCTITLE_EARLYACCESS = $(subst Specification,Documentation,$(JAVADOCTITLE))
ae480683925f95c1278b2284aa47d8c2d214be7bTim Haley# Variables used by domapidocs target
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwDOMAPI_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>'
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# DOMAPI_PKGS is located in NON_CORE_PKGS.gmk
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Variables used by mirrordocs target
fa9e4066f08beec538e775443c5be79dd423fcabahrensMIRROR_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>'
fa9e4066f08beec538e775443c5be79dd423fcabahrensMIRROR_OVERVIEW = $(IMPORTSRCDIR)/com/sun/mirror/overview.html
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwMIRROR_LINKOPT = -linkoffline ../../../../api $(DOCSDIR)/api/
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# MIRROR_PKGS is located in NON_CORE_PKGS.gmk
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Variables used by docletapidocs target
fa9e4066f08beec538e775443c5be79dd423fcabahrensDOCLETAPI_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>'
fa9e4066f08beec538e775443c5be79dd423fcabahrensDOCLETAPI_LINKOPT = -linkoffline ../../../../api $(DOCSDIR)/api/
fa9e4066f08beec538e775443c5be79dd423fcabahrens# DOCLETAPI_PKGS is located in NON_CORE_PKGS.gmk
fa9e4066f08beec538e775443c5be79dd423fcabahrens# Variables used by tagletapidocs target
fa9e4066f08beec538e775443c5be79dd423fcabahrensTAGLETAPI_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>'
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# TAGLETAPI_FILE is located in NON_CORE_PKGS.gmk
fa9e4066f08beec538e775443c5be79dd423fcabahrens# Variables used by jdi target
# JDI_PKGS is located in NON_CORE_PKGS.gmk
JAAS_SOURCEPATH = "$(TOPDIR)/src/share/classes$(CLASSPATH_SEPARATOR)$(TOPDIR)/src/solaris/classes$(CLASSPATH_SEPARATOR)$(TOPDIR)/src/windows/classes$(CLASSPATH_SEPARATOR)$(TOPDIR)/src/linux/classes"
-d $(JAAS_DOCDIR) \
# JAAS_PKGS is located in NON_CORE_PKGS.gmk
-d $(JGSS_DOCDIR) \
# JGSS_PKGS is located in NON_CORE_PKGS.gmk
-d $(SMARTCARDIO_DOCDIR) \
# SMARTCARDIO_PKGS is located in NON_CORE_PKGS.gmk
-d $(TRACING_DOCDIR) \
# TRACING_PKGS is located in NON_CORE_PKGS.gmk
-d $(HTTPSERVER_DOCDIR) \
# HTTPSERVER_PKGS is located in NON_CORE_PKGS.gmk
-d $(MGMT_EXT_DIR) \
# MGMT_PKGS is located in NON_CORE_PKGS.gmk
-d $(ATTACH_DOCDIR) \
# ATTACH_PKGS is located in NON_CORE_PKGS.gmk
-d $(JCONSOLE_DOCDIR) \
# JCONSOLE_PKGS is located in NON_CORE_PKGS.gmk
TREEAPI_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>'
# TREEAPI_PKGS is located in NON_CORE_PKGS.gmk
RELEASEDOCS_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)"
jpdadocs \
jaasdocs \
jgssdocs \
mgmtdocs \
# See: Notes.html#releaseTargets
$(CORE_PKGS)
-d $(MIRROR_DESTDIR) \
$(MIRROR_LINKOPT) \
$(MIRROR_PKGS)
$(DOCLETAPI_LINKOPT) \
-d $(DOCSTMPDIR) \
$(DOMAPI_PKGS)
$(JDI_PKGS)
@if [ -f $(JVMTI_HTML) ] ; then \
$(JAAS_PKGS)
$(JGSS_PKGS)
$(TRACING_PKGS)
$(MGMT_PKGS)
$(ATTACH_PKGS)
-d $(TREEAPI_DESTDIR) \
$(TREEAPI_LINKOPT) \
$(TREEAPI_PKGS)