Tue, 14 Nov 2017 22:34:52 -0800
Added tag jdk8u162-b07 for changeset 0e88e7510c38
ptbrunet@1334 | 1 | # Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved. |
ohair@478 | 2 | # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
ohair@478 | 3 | # |
ohair@478 | 4 | # This code is free software; you can redistribute it and/or modify it |
ohair@478 | 5 | # under the terms of the GNU General Public License version 2 only, as |
ohair@478 | 6 | # published by the Free Software Foundation. Oracle designates this |
ohair@478 | 7 | # particular file as subject to the "Classpath" exception as provided |
ohair@478 | 8 | # by Oracle in the LICENSE file that accompanied this code. |
ohair@478 | 9 | # |
ohair@478 | 10 | # This code is distributed in the hope that it will be useful, but WITHOUT |
ohair@478 | 11 | # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
ohair@478 | 12 | # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
ohair@478 | 13 | # version 2 for more details (a copy is included in the LICENSE file that |
ohair@478 | 14 | # accompanied this code). |
ohair@478 | 15 | # |
ohair@478 | 16 | # You should have received a copy of the GNU General Public License version |
ohair@478 | 17 | # 2 along with this work; if not, write to the Free Software Foundation, |
ohair@478 | 18 | # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
ohair@478 | 19 | # |
ohair@478 | 20 | # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
ohair@478 | 21 | # or visit www.oracle.com if you need additional information or have any |
ohair@478 | 22 | # questions. |
ohair@478 | 23 | # |
ohair@478 | 24 | |
ohair@478 | 25 | include $(SPEC) |
ohair@478 | 26 | include MakeBase.gmk |
ohair@478 | 27 | |
ohair@478 | 28 | .SUFFIXES: # Delete the default suffixes |
ohair@478 | 29 | .SUFFIXES: .java |
ohair@478 | 30 | |
ohair@478 | 31 | # |
ohair@478 | 32 | # Definitions for $(DOCSDIR), $(MKDIR), $(BINDIR), etc. |
ohair@478 | 33 | # |
ohair@478 | 34 | |
ohair@478 | 35 | DOCSDIR=$(OUTPUT_ROOT)/docs |
ohair@478 | 36 | TEMPDIR=$(OUTPUT_ROOT)/docstemp |
ohair@478 | 37 | |
ohair@478 | 38 | JDK_SHARE_SRC=$(JDK_TOPDIR)/src/share |
ohair@478 | 39 | JDK_SHARE_CLASSES=$(JDK_SHARE_SRC)/classes |
ohair@478 | 40 | |
ohair@478 | 41 | JDK_IMPSRC = $(JDK_OUTPUTDIR)/impsrc |
ohair@478 | 42 | |
ohair@478 | 43 | JDK_GENSRC = $(JDK_OUTPUTDIR)/gensrc |
ohair@478 | 44 | |
ohair@478 | 45 | HOTSPOT_DOCS_IMPORT_PATH=$(HOTSPOT_OUTPUTDIR)/docs |
ohair@478 | 46 | |
ohair@478 | 47 | BUILD_NUMBER=$(JDK_BUILD_NUMBER) |
ohair@478 | 48 | |
ohrstrom@607 | 49 | JAVADOC_CMD = $(JAVA) \ |
ihse@839 | 50 | -Xmx1024m \ |
ihse@839 | 51 | -Djava.awt.headless=true \ |
ihse@839 | 52 | $(NEW_JAVADOC) \ |
ihse@839 | 53 | -bootclasspath $(JDK_OUTPUTDIR)/classes |
ohair@478 | 54 | |
ohair@478 | 55 | # Copyright year for beginning of Java and some of the apis |
ihse@839 | 56 | # (Needed when creating the javadocs) |
ihse@839 | 57 | FIRST_COPYRIGHT_YEAR = 1993 |
ihse@839 | 58 | DOMAPI_FIRST_COPYRIGHT_YEAR = 2005 |
ihse@839 | 59 | MIRROR_FIRST_COPYRIGHT_YEAR = 2004 |
ihse@839 | 60 | DOCLETAPI_FIRST_COPYRIGHT_YEAR = 1993 |
ihse@839 | 61 | TAGLETAPI_FIRST_COPYRIGHT_YEAR = 1993 |
ihse@839 | 62 | JDI_FIRST_COPYRIGHT_YEAR = 1999 |
ihse@839 | 63 | JAAS_FIRST_COPYRIGHT_YEAR = 1998 |
ihse@839 | 64 | JGSS_FIRST_COPYRIGHT_YEAR = 2000 |
ihse@839 | 65 | SMARTCARDIO_FIRST_COPYRIGHT_YEAR = 2005 |
ihse@839 | 66 | HTTPSERVER_FIRST_COPYRIGHT_YEAR = 2005 |
ihse@839 | 67 | MGMT_FIRST_COPYRIGHT_YEAR = 2003 |
ihse@839 | 68 | ATTACH_FIRST_COPYRIGHT_YEAR = 2005 |
ihse@839 | 69 | JCONSOLE_FIRST_COPYRIGHT_YEAR = 2006 |
ihse@839 | 70 | SCTPAPI_FIRST_COPYRIGHT_YEAR = 2009 |
ihse@839 | 71 | TRACING_FIRST_COPYRIGHT_YEAR = 2008 |
ihse@839 | 72 | TREEAPI_FIRST_COPYRIGHT_YEAR = 2005 |
sundar@1207 | 73 | NASHORNAPI_FIRST_COPYRIGHT_YEAR = 2014 |
ihse@839 | 74 | JNLP_FIRST_COPYRIGHT_YEAR = 1998 |
ihse@839 | 75 | PLUGIN2_FIRST_COPYRIGHT_YEAR = 2007 |
michaelm@1033 | 76 | JDKNET_FIRST_COPYRIGHT_YEAR = 2014 |
ptbrunet@1334 | 77 | JACCESSAPI_FIRST_COPYRIGHT_YEAR = 2002 |
ohair@478 | 78 | |
ohair@478 | 79 | # Oracle name |
ohair@478 | 80 | FULL_COMPANY_NAME = Oracle and/or its affiliates |
ohair@478 | 81 | |
ohair@478 | 82 | # Copyright address |
ohair@478 | 83 | COMPANY_ADDRESS = 500 Oracle Parkway<br>Redwood Shores, CA 94065 USA. |
ohair@478 | 84 | |
ohair@478 | 85 | # The trademark symbol |
ohair@478 | 86 | TRADEMARK = ™ |
ohair@478 | 87 | |
ohair@478 | 88 | # Common copyright lines used |
ihse@839 | 89 | # The word "Copyright" might optionally be a link to the file cpyr.html. |
ihse@839 | 90 | # The first year of copyright may vary or not be available. |
ihse@839 | 91 | # The address to the company might be optional. |
ohair@478 | 92 | COMMA:= , |
ohair@478 | 93 | EMPTY:= |
ohair@478 | 94 | SPACE:=$(EMPTY) $(EMPTY) |
ohair@478 | 95 | COPYRIGHT_SYMBOL = &\#x00a9; |
ohair@478 | 96 | # Macro to construct the copyright line |
ihse@839 | 97 | # (The GNU make 3.78.1 "if" conditional is broken, fixed in GNU make 3.81) |
ohair@478 | 98 | define CopyrightLine # optionalurl optionalfirstyear optionaladdress |
ohair@478 | 99 | $(if $(strip $1),<a href="$(strip $1)">Copyright</a>,Copyright) \ |
ohair@478 | 100 | $(COPYRIGHT_SYMBOL) $(if $2,$2${COMMA},) $(COPYRIGHT_YEAR),\ |
ohair@478 | 101 | $(FULL_COMPANY_NAME). $3 All rights reserved. |
ohair@478 | 102 | endef |
ohair@478 | 103 | |
ohair@478 | 104 | # Url to root of documents |
ohair@478 | 105 | DOCSDIR_URL = {@docroot}/$(GET2DOCSDIR) |
ohair@478 | 106 | |
ohair@478 | 107 | # Url to copyright html file |
erikj@1039 | 108 | COPYRIGHT_URL = $(DOCSDIR_URL)/legal/cpyr.html |
ohair@478 | 109 | |
ohair@478 | 110 | # Url to bug filing site |
ohair@478 | 111 | BUG_SUBMIT_URL = http://bugreport.sun.com/bugreport/ |
ohair@478 | 112 | |
ohair@478 | 113 | # Common line for how to submit a bug or rfe |
ohair@478 | 114 | BUG_SUBMIT_LINE = <a href="$(BUG_SUBMIT_URL)">Submit a bug or feature</a> |
ohair@478 | 115 | |
ohair@478 | 116 | # Url to devdocs page |
ihse@839 | 117 | # Was: http://java.sun.com/javase/6/webnotes/devdocs-vs-specs.html |
bpatel@1216 | 118 | DEV_DOCS_URL-7 = https://docs.oracle.com/javase/7/docs/index.html |
bpatel@1216 | 119 | DEV_DOCS_URL-8 = https://docs.oracle.com/javase/8/docs/index.html |
ohair@478 | 120 | DEV_DOCS_URL = $(DEV_DOCS_URL-$(JDK_MINOR_VERSION)) |
bpatel@1216 | 121 | DOCS_BASE_URL = https://docs.oracle.com/javase/7/docs |
ohair@478 | 122 | |
ohair@478 | 123 | # Common Java trademark line |
ohair@478 | 124 | JAVA_TRADEMARK_LINE = Java is a trademark or registered trademark of \ |
ohair@478 | 125 | $(FULL_COMPANY_NAME) in the US and other countries. |
ohair@478 | 126 | |
ohair@478 | 127 | ################################################################# |
ohair@478 | 128 | # Macros: |
ohair@478 | 129 | |
ohair@478 | 130 | |
ohair@478 | 131 | # List of all possible directories for javadoc to look for sources |
ihse@839 | 132 | # NOTE: Quotes are required around sourcepath argument only on Windows. |
ihse@839 | 133 | # Otherwise, you get "No packages or classes specified." due |
ihse@839 | 134 | # to $(PATH_SEP) being interpreted as an end of |
ihse@839 | 135 | # command (newline or shell ; character) |
erikj@518 | 136 | ALL_SOURCE_DIRS = $(JDK_SHARE_CLASSES) \ |
ihse@839 | 137 | $(JDK_IMPSRC) \ |
ihse@839 | 138 | $(JDK_GENSRC) \ |
ihse@839 | 139 | $(JDK_OUTPUTDIR)/gendocsrc_rmic \ |
ihse@839 | 140 | $(JDK_TOPDIR)/src/solaris/classes \ |
ihse@839 | 141 | $(JDK_TOPDIR)/src/windows/classes \ |
sundar@1207 | 142 | $(NASHORN_TOPDIR)/src/ \ |
ihse@839 | 143 | $(JDK_SHARE_SRC)/doc/stub |
ohair@478 | 144 | |
ohair@478 | 145 | # List of directories that actually exist |
ohair@478 | 146 | ALL_EXISTING_SOURCE_DIRS := $(wildcard $(ALL_SOURCE_DIRS)) |
ohair@478 | 147 | |
ohair@478 | 148 | # List with classpath separator between them |
ohair@478 | 149 | EMPTY:= |
ohair@478 | 150 | SPACE:= $(EMPTY) $(EMPTY) |
ohair@478 | 151 | RELEASEDOCS_SOURCEPATH = \ |
erikj@558 | 152 | $(subst $(SPACE),$(PATH_SEP),$(strip $(ALL_SOURCE_DIRS))) |
ohair@478 | 153 | |
ohair@478 | 154 | define prep-target |
ihse@839 | 155 | $(MKDIR) -p $(@D) |
ihse@839 | 156 | $(RM) $@ |
ohair@478 | 157 | endef |
ohair@478 | 158 | |
ohair@478 | 159 | # Prep for javadoc creation, assumes $@ is an index.html file |
ohair@478 | 160 | define prep-javadoc |
ihse@839 | 161 | @if [ -f "$@" -a "$?" != "" ] ; then \ |
ihse@839 | 162 | $(ECHO) "# Dependencies have changed: $?"; \ |
ihse@839 | 163 | fi |
ihse@839 | 164 | $(RM) -r $(@D) |
ihse@839 | 165 | $(MKDIR) -p $(@D) |
ohair@478 | 166 | endef |
ohair@478 | 167 | |
ohair@478 | 168 | # A cache of the directories in ALL_SOURCE_DIRS |
ohair@478 | 169 | DIRECTORY_CACHE = $(DOCSTMPDIR)/directory.cache |
ohair@478 | 170 | |
ohair@478 | 171 | # Given a list of packages, return a list of files or dirs to be dependent on |
ihse@839 | 172 | # (Currently only returning a list of directories) |
ohair@478 | 173 | define PackageDependencies # packages |
ihse@839 | 174 | $(shell \ |
ihse@839 | 175 | if [ "$1" != "" -a -f $(DIRECTORY_CACHE) ] ; then \ |
ihse@839 | 176 | for p in $1 ; do \ |
ihse@839 | 177 | pd=`$(ECHO) $${p} | $(SED) -e 's@[.]@/@g'`; \ |
ihse@839 | 178 | $(CAT) $(DIRECTORY_CACHE) | $(GREP) "/$${pd}/" ; \ |
ihse@839 | 179 | done; \ |
ihse@839 | 180 | fi \ |
ihse@839 | 181 | ) |
ohair@478 | 182 | endef |
ohair@478 | 183 | |
ohair@478 | 184 | # Given a list of packages, add packages that exist to $@, print summary |
ohair@478 | 185 | define PackageFilter # packages |
ihse@839 | 186 | @if [ "$1" != "" ] ; then \ |
ihse@839 | 187 | for p in $1 ; do \ |
ihse@839 | 188 | pd=`$(ECHO) $${p} | $(SED) -e 's@[.]@/@g'`; \ |
ihse@839 | 189 | found="false"; \ |
ihse@839 | 190 | for cp in $(ALL_SOURCE_DIRS) ; do \ |
ihse@839 | 191 | if [ -d $${cp}/$${pd} ] ; then \ |
ihse@839 | 192 | $(ECHO) "$${p}" >> $@; \ |
ihse@839 | 193 | found="true"; \ |
ihse@839 | 194 | break; \ |
ihse@839 | 195 | fi; \ |
ihse@839 | 196 | done; \ |
ihse@839 | 197 | if [ "$${found}" = "false" ] ; then \ |
ihse@839 | 198 | $(ECHO) "WARNING: Package not found: $${p}"; \ |
ihse@839 | 199 | fi; \ |
ihse@839 | 200 | done; \ |
ihse@839 | 201 | fi |
ohair@478 | 202 | endef |
ohair@478 | 203 | |
ohair@478 | 204 | # Print out a summary of the javadoc command about to be run |
ohair@478 | 205 | define JavadocSummary # optionsfile packagesfile |
ihse@839 | 206 | @$(ECHO) "# Summary for $@"; \ |
ihse@839 | 207 | $(ECHO) "# Options (`$(BASENAME) $1`):"; $(SED) -e 's@^@# @' $1; \ |
ihse@839 | 208 | $(ECHO) "# Packages (`$(BASENAME) $2`):";$(SED) -e 's@^@# @' $2 |
ohair@478 | 209 | endef |
ohair@478 | 210 | |
ohair@478 | 211 | # |
ohair@478 | 212 | # Temporary directory for javadoc creation |
ohair@478 | 213 | # |
ohair@478 | 214 | DOCSTMPDIR = $(TEMPDIR)/doctmp |
ohair@478 | 215 | |
ohair@478 | 216 | # |
ohair@478 | 217 | # Different api directories created from root directory |
ohair@478 | 218 | # |
ihse@839 | 219 | COREAPI_DOCSDIR = $(DOCSDIR)/api |
ihse@839 | 220 | JDK_API_DOCSDIR = $(DOCSDIR)/jdk/api |
ihse@839 | 221 | JRE_API_DOCSDIR = $(DOCSDIR)/jre/api |
ihse@839 | 222 | PLATFORM_DOCSDIR = $(DOCSDIR)/platform |
ohair@478 | 223 | |
ohair@478 | 224 | # The non-core api javadocs need to be able to access the root of the core |
ihse@839 | 225 | # api directory, so for jdk/api or jre/api to get to the core api/ |
ihse@839 | 226 | # directory we would use this: |
ihse@839 | 227 | JDKJRE2COREAPI = ../../api |
ohair@478 | 228 | |
ohair@478 | 229 | # Common bottom argument |
ohair@478 | 230 | define CommonBottom # year |
ohair@478 | 231 | <font size="-1"><br> $(call CopyrightLine,,$1,)</font> |
ohair@478 | 232 | endef |
ohair@478 | 233 | |
ohair@478 | 234 | # Common trademark bottom argument (Not sure why this is used sometimes) |
ohair@478 | 235 | define CommonTrademarkBottom # year |
ohair@478 | 236 | <font size="-1">\ |
ohair@478 | 237 | $(BUG_SUBMIT_LINE)<br>$(JAVA_TRADEMARK_LINE)<br>\ |
ohair@478 | 238 | $(call CopyrightLine,,$1,$(COMPANY_ADDRESS))\ |
ohair@478 | 239 | </font> |
ohair@478 | 240 | endef |
ohair@478 | 241 | |
ohair@478 | 242 | # Common echo of option |
ohair@478 | 243 | define OptionOnly # opt |
ihse@839 | 244 | $(PRINTF) "%s\n" "$1" |
ohair@478 | 245 | endef |
ohair@478 | 246 | define OptionPair # opt arg |
ihse@839 | 247 | $(PRINTF) "%s '%s'\n" "$1" '$2' |
ohair@478 | 248 | endef |
ohair@478 | 249 | define OptionTrip # opt arg arg |
ihse@839 | 250 | $(PRINTF) "%s '%s' '%s'\n" "$1" '$2' '$3' |
ohair@478 | 251 | endef |
ohair@478 | 252 | |
ohair@478 | 253 | # Core api bottom argument (with special sauce) |
ohair@478 | 254 | COREAPI_BOTTOM = <font size="-1"> $(BUG_SUBMIT_LINE)\ |
ohair@478 | 255 | <br>For further API reference and developer documentation, \ |
ohair@478 | 256 | see <a href="$(DEV_DOCS_URL)" target="_blank">Java SE Documentation</a>. \ |
ohair@478 | 257 | That documentation contains more detailed, developer-targeted descriptions, \ |
ohair@478 | 258 | with conceptual overviews, definitions of terms, workarounds, \ |
ohair@478 | 259 | and working code examples.<br>\ |
ohair@478 | 260 | $(call CopyrightLine,$(COPYRIGHT_URL),$(FIRST_COPYRIGHT_YEAR),)\ |
asaha@1633 | 261 | Use is subject to <a href="http://download.oracle.com/otndocs/jcp/java_se-8-mrel-spec/license.html">license terms</a>. \ |
asaha@1633 | 262 | Also see the <a target="_blank" href="http://www.oracle.com/technetwork/java/redist-137594.html">documentation redistribution policy</a>.\ |
ohair@478 | 263 | </font> |
ohair@478 | 264 | |
ohair@478 | 265 | # Common javadoc options used by all |
ihse@839 | 266 | COMMON_JAVADOCFLAGS = \ |
ihse@839 | 267 | -XDignore.symbol.file=true \ |
ihse@839 | 268 | -quiet \ |
ihse@839 | 269 | -use \ |
ihse@839 | 270 | -keywords \ |
ihse@839 | 271 | -Xdoclint:none \ |
ihse@912 | 272 | -Xprofilespath $(JDK_TOPDIR)/make/profile-rtjar-includes.txt \ |
ihse@839 | 273 | $(ADDITIONAL_JAVADOCFLAGS) |
ohair@478 | 274 | |
ohair@478 | 275 | ifdef OPENJDK |
ihse@839 | 276 | ADDITIONAL_JAVADOCFLAGS = \ |
ihse@839 | 277 | -Xdocrootparent $(DOCS_BASE_URL) |
ohair@478 | 278 | else |
ohair@478 | 279 | ADDITIONAL_JAVADOCFLAGS = |
ohair@478 | 280 | endif |
ohair@478 | 281 | |
ohair@478 | 282 | # Draft used for non-fcs documents |
ohair@478 | 283 | DRAFT_HEADER = |
ohair@478 | 284 | ifneq ($(MILESTONE), fcs) |
ihse@839 | 285 | DRAFT_HEADER = <br><strong>DRAFT $(MILESTONE)-$(BUILD_NUMBER)</strong> |
ihse@839 | 286 | DRAFT_BOTTOM = <br><strong>DRAFT $(MILESTONE)-$(BUILD_NUMBER)</strong> |
ihse@839 | 287 | DRAFT_WINTITLE = $(BUILD_NUMBER) |
ihse@839 | 288 | # Early access top text (not used in FCS releases) |
ihse@839 | 289 | COREAPI_TOP_EARLYACCESS = \ |
ohair@478 | 290 | <div style="background-color: \#EEEEEE"> \ |
ohair@478 | 291 | <div style="padding: 6px; margin-top: 2px; margin-bottom: 6px; \ |
ohair@478 | 292 | margin-left: 6px; margin-right: 6px; text-align: justify; \ |
ohair@478 | 293 | font-size: 80%; font-family: Helvetica, Arial, sans-serif; \ |
ohair@478 | 294 | font-weight: normal;"> \ |
ohair@478 | 295 | Please note that the specifications and other information \ |
ohair@478 | 296 | contained herein are not final and are subject to change. \ |
ohair@478 | 297 | The information is being made available to you solely for purpose of \ |
ohair@478 | 298 | evaluation. \ |
ohair@478 | 299 | </div> </div> |
ihse@839 | 300 | |
ohair@478 | 301 | endif |
ohair@478 | 302 | |
ohair@478 | 303 | ################################################################# |
ohair@478 | 304 | |
ohair@478 | 305 | # |
ohair@478 | 306 | # CORE_PKGS environment variable has been moved to the following file |
ohair@478 | 307 | # |
ohair@478 | 308 | include CORE_PKGS.gmk |
ohair@478 | 309 | |
ohair@478 | 310 | # |
ohair@478 | 311 | # Load environment variables for API package names that are not part of |
ohair@478 | 312 | # the Java SE platform |
ohair@478 | 313 | # |
ohair@478 | 314 | include NON_CORE_PKGS.gmk |
ohair@478 | 315 | |
ohair@478 | 316 | ################################################################# |
ohair@478 | 317 | |
ohair@478 | 318 | # |
rriggs@1196 | 319 | # Load custom Javadoc rules, if present |
rriggs@1196 | 320 | # |
rriggs@1196 | 321 | -include $(CUSTOM_MAKE_DIR)/Javadoc.gmk |
rriggs@1196 | 322 | |
rriggs@1196 | 323 | ################################################################# |
rriggs@1196 | 324 | |
rriggs@1196 | 325 | # |
ohair@478 | 326 | # Default target is same as docs target, create core api and all others it can |
ohair@478 | 327 | # |
ohair@478 | 328 | |
ohair@478 | 329 | all: docs |
ohair@478 | 330 | docs: coredocs otherdocs |
ohair@478 | 331 | |
ohair@478 | 332 | ################################################################# |
ohair@478 | 333 | # Production Targets -- USE THESE TARGETS WHEN: |
ihse@839 | 334 | # a) You're generating docs outside of release engineering's |
ihse@839 | 335 | # standard control build. |
ihse@839 | 336 | # b) The docs will be pushed to the web and/or included in |
ihse@839 | 337 | # the downloaded doc bundle. |
ohair@478 | 338 | # |
ihse@839 | 339 | # See: Notes.html#releaseTargets |
ohair@478 | 340 | # Note: Spaces precede ifdef/ifndef indents. Tabs precede target commands (!) |
ohair@478 | 341 | # |
ohair@478 | 342 | |
ohair@478 | 343 | sanitycheckcoredocs: |
ohair@478 | 344 | @$(ECHO) "" |
ohair@478 | 345 | @$(ECHO) "Building core api docs with these values:" |
ohair@478 | 346 | @$(ECHO) " BUILD_NUMBER = $(BUILD_NUMBER)" |
ohair@478 | 347 | @$(ECHO) " MILESTONE = $(MILESTONE)" |
ohair@478 | 348 | @$(ECHO) "" |
ihse@839 | 349 | ifeq ($(BUILD_NUMBER), b00) |
ihse@839 | 350 | @$(ECHO) "ERROR: Build number must be defined" |
ihse@839 | 351 | @$(ECHO) "MILESTONE is set to $(MILESTONE)" |
ihse@839 | 352 | @$(ECHO) "" |
ihse@839 | 353 | exit 1 |
ihse@839 | 354 | endif |
ohair@478 | 355 | |
ohair@478 | 356 | ############################################################# |
ohair@478 | 357 | # |
ohair@478 | 358 | # coredocs |
ohair@478 | 359 | # |
ihse@839 | 360 | COREAPI_DOCTITLE = Java$(TRADEMARK) Platform, Standard Edition \ |
ohair@478 | 361 | $(JDK_MINOR_VERSION)<br>API Specification |
ihse@839 | 362 | COREAPI_WINDOWTITLE = Java Platform SE $(JDK_MINOR_VERSION) |
ohair@478 | 363 | COREAPI_HEADER = \ |
ohair@478 | 364 | <strong>Java$(TRADEMARK) Platform<br>Standard Ed. $(JDK_MINOR_VERSION)</strong> |
ohair@478 | 365 | |
ohair@478 | 366 | # Java language specification cite |
ohair@478 | 367 | TAG_JLS = jls:a:See <cite> \ |
ohair@478 | 368 | The Java™ Language Specification</cite>: |
ohair@478 | 369 | |
ohair@478 | 370 | # Overview file for core apis |
ohair@478 | 371 | COREAPI_OVERVIEW = $(JDK_SHARE_CLASSES)/overview-core.html |
ohair@478 | 372 | |
ohair@478 | 373 | # The index.html, options, and packages files |
ihse@839 | 374 | COREAPI_INDEX_FILE = $(COREAPI_DOCSDIR)/index.html |
ihse@839 | 375 | COREAPI_OPTIONS_FILE = $(DOCSTMPDIR)/coredocs.options |
ohair@478 | 376 | COREAPI_PACKAGES_FILE = $(DOCSTMPDIR)/coredocs.packages |
ohair@478 | 377 | |
ohair@478 | 378 | coredocs: $(COREAPI_INDEX_FILE) |
ohair@478 | 379 | |
ohair@478 | 380 | # Set relative location to core api document root |
ohair@478 | 381 | $(COREAPI_INDEX_FILE): GET2DOCSDIR=.. |
ohair@478 | 382 | |
ohair@478 | 383 | # Run javadoc if the index file is out of date or missing |
ohair@478 | 384 | $(COREAPI_INDEX_FILE): $(COREAPI_OPTIONS_FILE) $(COREAPI_PACKAGES_FILE) |
ohair@478 | 385 | $(prep-javadoc) |
ohair@478 | 386 | $(call JavadocSummary,$(COREAPI_OPTIONS_FILE),$(COREAPI_PACKAGES_FILE)) |
ohair@478 | 387 | $(JAVADOC_CMD) -d $(@D) \ |
ihse@839 | 388 | @$(COREAPI_OPTIONS_FILE) @$(COREAPI_PACKAGES_FILE) |
ohair@478 | 389 | |
ohair@478 | 390 | # Create file with javadoc options in it |
ohair@478 | 391 | $(COREAPI_OPTIONS_FILE): $(COREAPI_OVERVIEW) |
ohair@478 | 392 | $(prep-target) |
ihse@839 | 393 | @($(call OptionOnly,$(COMMON_JAVADOCFLAGS)) ; \ |
ihse@839 | 394 | $(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \ |
ihse@839 | 395 | $(call OptionPair,-encoding,ISO-8859-1) ; \ |
ihse@839 | 396 | $(call OptionPair,-tag,beaninfo:X) ; \ |
ihse@839 | 397 | $(call OptionPair,-tag,revised:X) ; \ |
ihse@839 | 398 | $(call OptionPair,-tag,since.unbundled:X) ; \ |
ihse@839 | 399 | $(call OptionPair,-tag,spec:X) ; \ |
ihse@839 | 400 | $(call OptionPair,-tag,specdefault:X) ; \ |
ihse@839 | 401 | $(call OptionPair,-tag,Note:X) ; \ |
ihse@839 | 402 | $(call OptionPair,-tag,ToDo:X) ; \ |
ihse@839 | 403 | $(call OptionPair,-tag,apiNote:a:API Note:) ; \ |
ihse@839 | 404 | $(call OptionPair,-tag,implSpec:a:Implementation Requirements:) ; \ |
ihse@839 | 405 | $(call OptionPair,-tag,implNote:a:Implementation Note:) ; \ |
ihse@839 | 406 | $(call OptionPair,-tag,param) ; \ |
ihse@839 | 407 | $(call OptionPair,-tag,return) ; \ |
ihse@839 | 408 | $(call OptionPair,-tag,throws) ; \ |
ihse@839 | 409 | $(call OptionPair,-tag,since) ; \ |
ihse@839 | 410 | $(call OptionPair,-tag,version) ; \ |
ihse@839 | 411 | $(call OptionPair,-tag,serialData) ; \ |
ihse@839 | 412 | $(call OptionPair,-tag,factory) ; \ |
ihse@839 | 413 | $(call OptionPair,-tag,see) ; \ |
ihse@839 | 414 | $(call OptionPair,-tag,$(TAG_JLS)) ; \ |
ihse@839 | 415 | $(call OptionOnly,-splitIndex) ; \ |
ihse@839 | 416 | $(call OptionPair,-overview,$(COREAPI_OVERVIEW)) ; \ |
ihse@839 | 417 | $(call OptionPair,-doctitle,$(COREAPI_DOCTITLE)) ; \ |
ihse@839 | 418 | $(call OptionPair,-windowtitle,$(COREAPI_WINDOWTITLE) $(DRAFT_WINTITLE)) ; \ |
ihse@839 | 419 | $(call OptionPair,-header,$(COREAPI_HEADER)$(DRAFT_HEADER)) ; \ |
ihse@839 | 420 | $(call OptionPair,-bottom,$(COREAPI_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
ihse@839 | 421 | ) >> $@ |
ihse@839 | 422 | ifdef COREAPI_TOP_EARLYACCESS |
ihse@839 | 423 | @$(call OptionPair,-top,$(COREAPI_TOP_EARLYACCESS)) >> $@ |
ihse@839 | 424 | endif |
ohair@478 | 425 | |
ohair@478 | 426 | # Create a file with the package names in it |
ohair@478 | 427 | $(COREAPI_PACKAGES_FILE): $(DIRECTORY_CACHE) $(call PackageDependencies,$(CORE_PKGS)) |
ohair@478 | 428 | $(prep-target) |
ohair@478 | 429 | $(call PackageFilter,$(CORE_PKGS)) |
ohair@478 | 430 | |
ohair@478 | 431 | ############################################################# |
ohair@478 | 432 | # |
ohair@478 | 433 | # docletapidocs |
ohair@478 | 434 | # |
ohair@478 | 435 | |
ohair@478 | 436 | ALL_OTHER_TARGETS += docletapidocs |
ohair@478 | 437 | |
ihse@839 | 438 | DOCLETAPI_DOCDIR := $(JDK_API_DOCSDIR)/javadoc/doclet |
ihse@839 | 439 | DOCLETAPI2COREAPI := ../../$(JDKJRE2COREAPI) |
ihse@839 | 440 | DOCLETAPI_DOCTITLE := Doclet API |
ihse@839 | 441 | DOCLETAPI_WINDOWTITLE := Doclet API |
ihse@839 | 442 | DOCLETAPI_HEADER := <strong>Doclet API</strong> |
ihse@839 | 443 | DOCLETAPI_BOTTOM := $(call CommonTrademarkBottom,$(DOCLETAPI_FIRST_COPYRIGHT_YEAR)) |
ihse@839 | 444 | DOCLETAPI_GROUPNAME := Packages |
ihse@839 | 445 | DOCLETAPI_REGEXP := com.sun.javadoc |
ohair@478 | 446 | # DOCLETAPI_PKGS is located in NON_CORE_PKGS.gmk |
ohair@478 | 447 | |
ohair@478 | 448 | # The index.html, options, and packages files |
ihse@839 | 449 | DOCLETAPI_INDEX_FILE = $(DOCLETAPI_DOCDIR)/index.html |
ihse@839 | 450 | DOCLETAPI_OPTIONS_FILE = $(DOCSTMPDIR)/docletapi.options |
ohair@478 | 451 | DOCLETAPI_PACKAGES_FILE = $(DOCSTMPDIR)/docletapi.packages |
ohair@478 | 452 | |
ohair@478 | 453 | docletapidocs: $(DOCLETAPI_INDEX_FILE) |
ohair@478 | 454 | |
ohair@478 | 455 | # Set relative location to core api document root |
ohair@478 | 456 | $(DOCLETAPI_INDEX_FILE): GET2DOCSDIR=$(DOCLETAPI2COREAPI)/.. |
ohair@478 | 457 | |
ohair@478 | 458 | # Run javadoc if the index file is out of date or missing |
erikj@518 | 459 | $(DOCLETAPI_INDEX_FILE): $(DOCLETAPI_OPTIONS_FILE) $(DOCLETAPI_PACKAGES_FILE) coredocs |
ohair@478 | 460 | $(prep-javadoc) |
ohair@478 | 461 | $(call JavadocSummary,$(DOCLETAPI_OPTIONS_FILE),$(DOCLETAPI_PACKAGES_FILE)) |
ohair@478 | 462 | $(JAVADOC_CMD) -d $(@D) \ |
ihse@839 | 463 | @$(DOCLETAPI_OPTIONS_FILE) @$(DOCLETAPI_PACKAGES_FILE) |
ohair@478 | 464 | |
ohair@478 | 465 | # Create file with javadoc options in it |
ohair@478 | 466 | $(DOCLETAPI_OPTIONS_FILE): |
ohair@478 | 467 | $(prep-target) |
ihse@839 | 468 | @($(call OptionOnly,$(COMMON_JAVADOCFLAGS)) ; \ |
ihse@839 | 469 | $(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \ |
ihse@839 | 470 | $(call OptionPair,-encoding,ascii) ; \ |
ihse@839 | 471 | $(call OptionOnly,-breakiterator) ; \ |
ihse@839 | 472 | $(call OptionPair,-doctitle,$(DOCLETAPI_DOCTITLE)) ; \ |
ihse@839 | 473 | $(call OptionPair,-windowtitle,$(DOCLETAPI_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
ihse@839 | 474 | $(call OptionPair,-header,$(DOCLETAPI_HEADER)$(DRAFT_HEADER)) ; \ |
ihse@839 | 475 | $(call OptionPair,-bottom,$(DOCLETAPI_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
ohair@478 | 476 | $(call OptionTrip,-group,$(DOCLETAPI_GROUPNAME),$(DOCLETAPI_REGEXP)); \ |
ohair@478 | 477 | $(call OptionTrip,-linkoffline,$(DOCLETAPI2COREAPI),$(COREAPI_DOCSDIR)/); \ |
ihse@839 | 478 | ) >> $@ |
ohair@478 | 479 | |
ohair@478 | 480 | # Create a file with the package names in it |
ohair@478 | 481 | $(DOCLETAPI_PACKAGES_FILE): $(DIRECTORY_CACHE) $(call PackageDependencies,$(DOCLETAPI_PKGS)) |
ohair@478 | 482 | $(prep-target) |
ohair@478 | 483 | $(call PackageFilter,$(DOCLETAPI_PKGS)) |
ohair@478 | 484 | |
ohair@478 | 485 | ############################################################# |
ohair@478 | 486 | # |
ohair@478 | 487 | # tagletapidocs |
ohair@478 | 488 | # |
ohair@478 | 489 | |
ohair@478 | 490 | ALL_OTHER_TARGETS += tagletapidocs |
ihse@839 | 491 | TAGLETAPI_DOCDIR := $(JDK_API_DOCSDIR)/javadoc/taglet |
ihse@839 | 492 | TAGLETAPI2COREAPI := ../../$(JDKJRE2COREAPI) |
ihse@839 | 493 | TAGLETAPI_BOTTOM := $(call CommonTrademarkBottom,$(TAGLETAPI_FIRST_COPYRIGHT_YEAR)) |
ohair@478 | 494 | # TAGLETAPI_FILE is located in NON_CORE_PKGS.gmk |
ohair@478 | 495 | |
ohair@478 | 496 | # Temporary directory (special generation rules) |
ihse@839 | 497 | TAGLETAPI_TEMPDIR = $(DOCSTMPDIR)/taglets_temp |
ohair@478 | 498 | |
ohair@478 | 499 | # The index.html, options, and packages files |
ihse@839 | 500 | TAGLETAPI_INDEX_FILE = $(TAGLETAPI_DOCDIR)/index.html |
ihse@839 | 501 | TAGLETAPI_OPTIONS_FILE = $(DOCSTMPDIR)/tagletapi.options |
ohair@478 | 502 | TAGLETAPI_PACKAGES_FILE = $(DOCSTMPDIR)/tagletapi.packages |
ohair@478 | 503 | |
ohair@478 | 504 | tagletapidocs: $(TAGLETAPI_INDEX_FILE) |
ohair@478 | 505 | |
ohair@478 | 506 | # Set relative location to core api document root |
ohair@478 | 507 | $(TAGLETAPI_INDEX_FILE): GET2DOCSDIR=$(TAGLETAPI2COREAPI)/.. |
ohair@478 | 508 | |
ohair@478 | 509 | # Run javadoc if the index file is out of date or missing |
erikj@518 | 510 | $(TAGLETAPI_INDEX_FILE): $(TAGLETAPI_OPTIONS_FILE) $(TAGLETAPI_PACKAGES_FILE) coredocs |
ohair@478 | 511 | $(prep-javadoc) |
ohair@478 | 512 | $(RM) -r $(TAGLETAPI_TEMPDIR) |
ohair@478 | 513 | $(MKDIR) -p $(TAGLETAPI_TEMPDIR) |
ohair@478 | 514 | $(call JavadocSummary,$(TAGLETAPI_OPTIONS_FILE),$(TAGLETAPI_PACKAGES_FILE)) |
ohair@478 | 515 | $(JAVADOC_CMD) -d $(TAGLETAPI_TEMPDIR) \ |
ihse@839 | 516 | @$(TAGLETAPI_OPTIONS_FILE) @$(TAGLETAPI_PACKAGES_FILE) |
ohair@478 | 517 | cp -r $(TAGLETAPI_TEMPDIR)/com $(@D) |
ohair@478 | 518 | cp $(TAGLETAPI_TEMPDIR)/stylesheet.css $(@D) |
ohair@478 | 519 | $(RM) -r $(TAGLETAPI_TEMPDIR) |
ohair@478 | 520 | |
ohair@478 | 521 | # Create file with javadoc options in it |
ohair@478 | 522 | $(TAGLETAPI_OPTIONS_FILE): |
ohair@478 | 523 | $(prep-target) |
ihse@839 | 524 | @($(call OptionOnly,$(COMMON_JAVADOCFLAGS)) ; \ |
ihse@839 | 525 | $(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \ |
ihse@839 | 526 | $(call OptionPair,-encoding,ascii) ; \ |
ihse@839 | 527 | $(call OptionOnly,-nonavbar) ; \ |
ihse@839 | 528 | $(call OptionOnly,-noindex) ; \ |
ihse@839 | 529 | $(call OptionPair,-bottom,$(TAGLETAPI_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
ohair@478 | 530 | $(call OptionTrip,-linkoffline,$(TAGLETAPI2COREAPI),$(COREAPI_DOCSDIR)/); \ |
ihse@839 | 531 | ) >> $@ |
ohair@478 | 532 | |
ohair@478 | 533 | # Create a file with the package names in it |
ohair@478 | 534 | $(TAGLETAPI_PACKAGES_FILE): $(DIRECTORY_CACHE) $(call PackageDependencies,$(TAGLETAPI_PKGS)) |
ohair@478 | 535 | $(prep-target) |
erikj@518 | 536 | @($(ECHO) "$(JDK_IMPSRC)/$(TAGLETAPI_FILE)" ) > $@ |
ohair@478 | 537 | |
ohair@478 | 538 | ############################################################# |
ohair@478 | 539 | # |
ohair@478 | 540 | # domapidocs |
ohair@478 | 541 | # |
ohair@478 | 542 | |
ohair@478 | 543 | ALL_OTHER_TARGETS += domapidocs |
ohair@478 | 544 | |
ihse@839 | 545 | DOMAPI_DOCDIR := $(JRE_API_DOCSDIR)/plugin/dom |
ihse@839 | 546 | DOMAPI2COREAPI := ../../$(JDKJRE2COREAPI) |
ihse@839 | 547 | DOMAPI_DOCTITLE := Common DOM API |
ihse@839 | 548 | DOMAPI_WINDOWTITLE := Common DOM API |
ihse@839 | 549 | DOMAPI_HEADER := <strong>Common DOM API</strong> |
ihse@839 | 550 | DOMAPI_BOTTOM := $(call CommonTrademarkBottom,$(DOMAPI_FIRST_COPYRIGHT_YEAR)) |
ihse@839 | 551 | DOMAPI_GROUPNAME := Packages |
ihse@839 | 552 | DOMAPI_REGEXP := com.sun.java.browser.dom:org.w3c.dom* |
ohair@478 | 553 | # DOMAPI_PKGS is located in NON_CORE_PKGS.gmk |
ohair@478 | 554 | |
ohair@478 | 555 | # The index.html, options, and packages files |
ihse@839 | 556 | DOMAPI_INDEX_FILE = $(DOMAPI_DOCDIR)/index.html |
ihse@839 | 557 | DOMAPI_OPTIONS_FILE = $(DOCSTMPDIR)/domapi.options |
ohair@478 | 558 | DOMAPI_PACKAGES_FILE = $(DOCSTMPDIR)/domapi.packages |
ohair@478 | 559 | |
ohair@478 | 560 | domapidocs: $(DOMAPI_INDEX_FILE) |
ohair@478 | 561 | |
ohair@478 | 562 | # Set relative location to core api document root |
ohair@478 | 563 | $(DOMAPI_INDEX_FILE): GET2DOCSDIR=$(DOMAPI2COREAPI)/.. |
ohair@478 | 564 | |
ohair@478 | 565 | # Run javadoc if the index file is out of date or missing |
erikj@518 | 566 | $(DOMAPI_INDEX_FILE): $(DOMAPI_OPTIONS_FILE) $(DOMAPI_PACKAGES_FILE) coredocs |
ohair@478 | 567 | $(prep-javadoc) |
ohair@478 | 568 | $(call JavadocSummary,$(DOMAPI_OPTIONS_FILE),$(DOMAPI_PACKAGES_FILE)) |
ohair@478 | 569 | $(JAVADOC_CMD) -d $(@D) \ |
ihse@839 | 570 | @$(DOMAPI_OPTIONS_FILE) @$(DOMAPI_PACKAGES_FILE) |
ohair@478 | 571 | |
ohair@478 | 572 | # Create file with javadoc options in it |
ohair@478 | 573 | $(DOMAPI_OPTIONS_FILE): |
ohair@478 | 574 | $(prep-target) |
ihse@839 | 575 | @($(call OptionOnly,$(COMMON_JAVADOCFLAGS)) ; \ |
ihse@839 | 576 | $(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \ |
ihse@839 | 577 | $(call OptionPair,-encoding,ascii) ; \ |
ihse@839 | 578 | $(call OptionOnly,-splitIndex) ; \ |
ihse@839 | 579 | $(call OptionPair,-doctitle,$(DOMAPI_DOCTITLE)) ; \ |
ihse@839 | 580 | $(call OptionPair,-windowtitle,$(DOMAPI_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
ihse@839 | 581 | $(call OptionPair,-header,$(DOMAPI_HEADER)$(DRAFT_HEADER)) ; \ |
ihse@839 | 582 | $(call OptionPair,-bottom,$(DOMAPI_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
ohair@478 | 583 | $(call OptionTrip,-group,$(DOMAPI_GROUPNAME),$(DOMAPI_REGEXP)); \ |
ohair@478 | 584 | $(call OptionTrip,-linkoffline,$(DOMAPI2COREAPI),$(COREAPI_DOCSDIR)/); \ |
ihse@839 | 585 | ) >> $@ |
ohair@478 | 586 | |
ohair@478 | 587 | # Create a file with the package names in it |
ohair@478 | 588 | $(DOMAPI_PACKAGES_FILE): $(DIRECTORY_CACHE) $(call PackageDependencies,$(DOMAPI_PKGS)) |
ohair@478 | 589 | $(prep-target) |
ohair@478 | 590 | $(call PackageFilter,$(DOMAPI_PKGS)) |
ohair@478 | 591 | |
ohair@478 | 592 | ############################################################# |
ohair@478 | 593 | # |
ohair@478 | 594 | # jpdadocs |
ohair@478 | 595 | # |
ohair@478 | 596 | |
ohair@478 | 597 | ALL_OTHER_TARGETS += jpdadocs |
ohair@478 | 598 | |
ohair@478 | 599 | jpdadocs: jdidocs jdwpdocs jvmtidocs |
ohair@478 | 600 | |
ohair@478 | 601 | ############################################################# |
ohair@478 | 602 | # |
ohair@478 | 603 | # jdidocs |
ohair@478 | 604 | # |
ohair@478 | 605 | |
ohair@478 | 606 | ALL_OTHER_TARGETS += jdidocs |
ohair@478 | 607 | |
ihse@839 | 608 | JDI_DOCDIR := $(JDK_API_DOCSDIR)/jpda/jdi |
ihse@839 | 609 | JDI2COREAPI := ../../$(JDKJRE2COREAPI) |
ihse@839 | 610 | JDI_DOCTITLE := Java$(TRADEMARK) Debug Interface |
ohair@478 | 611 | JDI_WINDOWTITLE := Java Debug Interface |
ihse@839 | 612 | JDI_HEADER := <strong>Java Debug Interface</strong> |
ihse@839 | 613 | JDI_BOTTOM := $(call CommonBottom,$(JDI_FIRST_COPYRIGHT_YEAR)) |
ihse@839 | 614 | JDI_OVERVIEW := $(JDK_SHARE_CLASSES)/jdi-overview.html |
ohair@478 | 615 | # JDI_PKGS is located in NON_CORE_PKGS.gmk |
ohair@478 | 616 | |
ohair@478 | 617 | # The index.html, options, and packages files |
ihse@839 | 618 | JDI_INDEX_FILE = $(JDI_DOCDIR)/index.html |
ihse@839 | 619 | JDI_OPTIONS_FILE = $(DOCSTMPDIR)/jdi.options |
ohair@478 | 620 | JDI_PACKAGES_FILE = $(DOCSTMPDIR)/jdi.packages |
ohair@478 | 621 | |
ohair@478 | 622 | jdidocs: $(JDI_INDEX_FILE) |
ohair@478 | 623 | |
ohair@478 | 624 | # Set relative location to core api document root |
ohair@478 | 625 | $(JDI_INDEX_FILE): GET2DOCSDIR=$(JDI2COREAPI)/.. |
ohair@478 | 626 | |
ohair@478 | 627 | # Run javadoc if the index file is out of date or missing |
erikj@518 | 628 | $(JDI_INDEX_FILE): $(JDI_OPTIONS_FILE) $(JDI_PACKAGES_FILE) coredocs |
ohair@478 | 629 | $(prep-javadoc) |
ohair@478 | 630 | $(call JavadocSummary,$(JDI_OPTIONS_FILE),$(JDI_PACKAGES_FILE)) |
ohair@478 | 631 | $(JAVADOC_CMD) -d $(@D) \ |
ihse@839 | 632 | @$(JDI_OPTIONS_FILE) @$(JDI_PACKAGES_FILE) |
ohair@478 | 633 | |
ohair@478 | 634 | # Create file with javadoc options in it |
ohair@478 | 635 | $(JDI_OPTIONS_FILE): $(JDI_OVERVIEW) |
ohair@478 | 636 | $(prep-target) |
ihse@839 | 637 | @($(call OptionOnly,$(COMMON_JAVADOCFLAGS)) ; \ |
ihse@839 | 638 | $(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \ |
ihse@839 | 639 | $(call OptionPair,-encoding,ascii) ; \ |
ihse@839 | 640 | $(call OptionPair,-overview,$(JDI_OVERVIEW)) ; \ |
ihse@839 | 641 | $(call OptionPair,-doctitle,$(JDI_DOCTITLE)) ; \ |
ohair@478 | 642 | $(call OptionPair,-windowtitle,$(JDI_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
ihse@839 | 643 | $(call OptionPair,-header,$(JDI_HEADER)$(DRAFT_HEADER)) ; \ |
ihse@839 | 644 | $(call OptionPair,-bottom,$(JDI_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
ohair@478 | 645 | $(call OptionTrip,-linkoffline,$(JDI2COREAPI),$(COREAPI_DOCSDIR)/); \ |
ihse@839 | 646 | ) >> $@ |
ohair@478 | 647 | |
ohair@478 | 648 | # Create a file with the package names in it |
ohair@478 | 649 | $(JDI_PACKAGES_FILE): $(DIRECTORY_CACHE) $(call PackageDependencies,$(JDI_PKGS)) |
ohair@478 | 650 | $(prep-target) |
ohair@478 | 651 | $(call PackageFilter,$(JDI_PKGS)) |
ohair@478 | 652 | |
ohair@478 | 653 | ############################################################# |
ohair@478 | 654 | # |
ohair@478 | 655 | # jdwpdocs |
ohair@478 | 656 | # |
ohair@478 | 657 | |
ohair@478 | 658 | ALL_OTHER_TARGETS += jdwpdocs |
ohair@478 | 659 | |
ihse@839 | 660 | JDWP_DOCDIR = $(PLATFORM_DOCSDIR)/jpda/jdwp |
ohair@478 | 661 | |
ohair@478 | 662 | jdwpdocs: $(JDWP_DOCDIR)/jdwp-protocol.html |
ohair@478 | 663 | $(JDWP_DOCDIR)/jdwp-protocol.html : $(JDK_OUTPUTDIR)/gensrc_jdwp_doc/jdwp-protocol.html |
ohair@478 | 664 | $(MKDIR) -p $(@D) |
ohair@478 | 665 | $(RM) $@ |
ohair@478 | 666 | $(CP) $< $@ |
ohair@478 | 667 | |
ohair@478 | 668 | ############################################################# |
ohair@478 | 669 | # |
ohair@478 | 670 | # jvmtidocs |
ohair@478 | 671 | # |
ohair@478 | 672 | |
ohair@478 | 673 | ALL_OTHER_TARGETS += jvmtidocs |
ohair@478 | 674 | |
ihse@839 | 675 | JVMTI_DOCDIR = $(PLATFORM_DOCSDIR)/jvmti |
ihse@839 | 676 | JVMTI_HTML = $(HOTSPOT_DIST)/docs/platform/jvmti/jvmti.html |
ohair@478 | 677 | |
ihse@839 | 678 | jvmtidocs: $(JVMTI_DOCDIR)/jvmti.html |
ohair@478 | 679 | $(JVMTI_DOCDIR)/jvmti.html: |
ohair@478 | 680 | @$(prep-javadoc) |
ihse@839 | 681 | @if [ -f $(JVMTI_HTML) ] ; then \ |
ihse@839 | 682 | $(ECHO) "$(CP) $(JVMTI_HTML) $@"; \ |
ihse@839 | 683 | $(CP) $(JVMTI_HTML) $@; \ |
ihse@839 | 684 | else \ |
ohair@478 | 685 | $(ECHO) "WARNING: Generated file does not exist: $(JVMTI_HTML)"; \ |
ohair@478 | 686 | fi |
ohair@478 | 687 | |
ohair@478 | 688 | ############################################################# |
ohair@478 | 689 | # |
ohair@478 | 690 | # jaasdocs |
ohair@478 | 691 | # |
ohair@478 | 692 | |
ohair@478 | 693 | ALL_OTHER_TARGETS += jaasdocs |
ohair@478 | 694 | |
ihse@839 | 695 | JAAS_DOCDIR := $(JRE_API_DOCSDIR)/security/jaas/spec |
ihse@839 | 696 | JAAS2COREAPI := ../../../$(JDKJRE2COREAPI) |
ihse@839 | 697 | JAAS_DOCTITLE := Java$(TRADEMARK) Authentication and Authorization Service |
ohair@478 | 698 | JAAS_WINDOWTITLE := Java Authentication and Authorization Service |
ihse@839 | 699 | JAAS_HEADER := <strong>Java Authentication and Authorization Service</strong> |
ihse@839 | 700 | JAAS_BOTTOM := $(call CommonBottom,$(JAAS_FIRST_COPYRIGHT_YEAR)) |
ohair@478 | 701 | # JAAS_PKGS is located in NON_CORE_PKGS.gmk |
ihse@839 | 702 | JAAS_OVERVIEW := $(JDK_SHARE_CLASSES)/com/sun/security/auth/jaas-overview.html |
ohair@478 | 703 | |
ohair@478 | 704 | # The index.html, options, and packages files |
ihse@839 | 705 | JAAS_INDEX_FILE = $(JAAS_DOCDIR)/index.html |
ihse@839 | 706 | JAAS_OPTIONS_FILE = $(DOCSTMPDIR)/jaas.options |
ohair@478 | 707 | JAAS_PACKAGES_FILE = $(DOCSTMPDIR)/jaas.packages |
ohair@478 | 708 | |
ohair@478 | 709 | jaasdocs: $(JAAS_INDEX_FILE) |
ohair@478 | 710 | |
ohair@478 | 711 | # Set relative location to core api document root |
ohair@478 | 712 | $(JAAS_INDEX_FILE): GET2DOCSDIR=$(JAAS2COREAPI)/.. |
ohair@478 | 713 | |
ohair@478 | 714 | # Run javadoc if the index file is out of date or missing |
erikj@518 | 715 | $(JAAS_INDEX_FILE): $(JAAS_OPTIONS_FILE) $(JAAS_PACKAGES_FILE) coredocs |
ohair@478 | 716 | $(prep-javadoc) |
ohair@478 | 717 | $(call JavadocSummary,$(JAAS_OPTIONS_FILE),$(JAAS_PACKAGES_FILE)) |
ohair@478 | 718 | $(JAVADOC_CMD) -d $(@D) \ |
ihse@839 | 719 | @$(JAAS_OPTIONS_FILE) @$(JAAS_PACKAGES_FILE) |
ohair@478 | 720 | |
ohair@478 | 721 | # Create file with javadoc options in it |
ohair@478 | 722 | $(JAAS_OPTIONS_FILE): $(JAAS_OVERVIEW) |
ohair@478 | 723 | $(prep-target) |
ihse@839 | 724 | @($(call OptionOnly,$(COMMON_JAVADOCFLAGS)) ; \ |
ihse@839 | 725 | $(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \ |
ihse@839 | 726 | $(call OptionPair,-encoding,ascii) ; \ |
ihse@839 | 727 | $(call OptionPair,-overview,$(JAAS_OVERVIEW)) ; \ |
ihse@839 | 728 | $(call OptionPair,-doctitle,$(JAAS_DOCTITLE)) ; \ |
ohair@478 | 729 | $(call OptionPair,-windowtitle,$(JAAS_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
ihse@839 | 730 | $(call OptionPair,-header,$(JAAS_HEADER)$(DRAFT_HEADER)) ; \ |
ihse@839 | 731 | $(call OptionPair,-bottom,$(JAAS_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
ohair@478 | 732 | $(call OptionTrip,-linkoffline,$(JAAS2COREAPI),$(COREAPI_DOCSDIR)/); \ |
ihse@839 | 733 | ) >> $@ |
ohair@478 | 734 | |
ohair@478 | 735 | # Create a file with the package names in it |
ohair@478 | 736 | $(JAAS_PACKAGES_FILE): $(DIRECTORY_CACHE) $(call PackageDependencies,$(JAAS_PKGS)) |
ohair@478 | 737 | $(prep-target) |
ohair@478 | 738 | $(call PackageFilter,$(JAAS_PKGS)) |
ohair@478 | 739 | |
ohair@478 | 740 | ############################################################# |
ohair@478 | 741 | # |
ohair@478 | 742 | # jgssdocs |
ohair@478 | 743 | # |
ohair@478 | 744 | |
ohair@478 | 745 | ALL_OTHER_TARGETS += jgssdocs |
ohair@478 | 746 | |
ihse@839 | 747 | JGSS_DOCDIR := $(JRE_API_DOCSDIR)/security/jgss/spec |
ihse@839 | 748 | JGSS2COREAPI := ../../../$(JDKJRE2COREAPI) |
ihse@839 | 749 | JGSS_DOCTITLE := Java$(TRADEMARK) GSS-API Utilities |
ohair@478 | 750 | JGSS_WINDOWTITLE := Java GSS-API Utilities |
ihse@839 | 751 | JGSS_HEADER := <strong>Java GSS-API Utilities</strong> |
ihse@839 | 752 | JGSS_BOTTOM := $(call CommonBottom,$(JGSS_FIRST_COPYRIGHT_YEAR)) |
ihse@839 | 753 | JGSS_OVERVIEW := $(JDK_SHARE_CLASSES)/com/sun/security/jgss/jgss-overview.html |
ohair@478 | 754 | # JGSS_PKGS is located in NON_CORE_PKGS.gmk |
ohair@478 | 755 | |
ohair@478 | 756 | # The index.html, options, and packages files |
ihse@839 | 757 | JGSS_INDEX_FILE = $(JGSS_DOCDIR)/index.html |
ihse@839 | 758 | JGSS_OPTIONS_FILE = $(DOCSTMPDIR)/jgss.options |
ohair@478 | 759 | JGSS_PACKAGES_FILE = $(DOCSTMPDIR)/jgss.packages |
ohair@478 | 760 | |
ohair@478 | 761 | jgssdocs: $(JGSS_INDEX_FILE) |
ohair@478 | 762 | |
ohair@478 | 763 | # Set relative location to core api document root |
ohair@478 | 764 | $(JGSS_INDEX_FILE): GET2DOCSDIR=$(JGSS2COREAPI)/.. |
ohair@478 | 765 | |
ohair@478 | 766 | # Run javadoc if the index file is out of date or missing |
erikj@518 | 767 | $(JGSS_INDEX_FILE): $(JGSS_OPTIONS_FILE) $(JGSS_PACKAGES_FILE) coredocs |
ohair@478 | 768 | $(prep-javadoc) |
ohair@478 | 769 | $(call JavadocSummary,$(JGSS_OPTIONS_FILE),$(JGSS_PACKAGES_FILE)) |
ohair@478 | 770 | $(JAVADOC_CMD) -d $(@D) \ |
ihse@839 | 771 | @$(JGSS_OPTIONS_FILE) @$(JGSS_PACKAGES_FILE) |
ohair@478 | 772 | |
ohair@478 | 773 | # Create file with javadoc options in it |
ohair@478 | 774 | $(JGSS_OPTIONS_FILE): $(JGSS_OVERVIEW) |
ohair@478 | 775 | $(prep-target) |
ihse@839 | 776 | @($(call OptionOnly,$(COMMON_JAVADOCFLAGS)) ; \ |
ihse@839 | 777 | $(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \ |
ihse@839 | 778 | $(call OptionPair,-encoding,ascii) ; \ |
ihse@839 | 779 | $(call OptionOnly,-nodeprecatedlist) ; \ |
ihse@839 | 780 | $(call OptionPair,-overview,$(JGSS_OVERVIEW)) ; \ |
ihse@839 | 781 | $(call OptionPair,-doctitle,$(JGSS_DOCTITLE)) ; \ |
ohair@478 | 782 | $(call OptionPair,-windowtitle,$(JGSS_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
ihse@839 | 783 | $(call OptionPair,-header,$(JGSS_HEADER)$(DRAFT_HEADER)) ; \ |
ihse@839 | 784 | $(call OptionPair,-bottom,$(JGSS_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
ohair@478 | 785 | $(call OptionTrip,-linkoffline,$(JGSS2COREAPI),$(COREAPI_DOCSDIR)/); \ |
ihse@839 | 786 | ) >> $@ |
ohair@478 | 787 | |
ohair@478 | 788 | # Create a file with the package names in it |
ohair@478 | 789 | $(JGSS_PACKAGES_FILE): $(DIRECTORY_CACHE) $(call PackageDependencies,$(JGSS_PKGS)) |
ohair@478 | 790 | $(prep-target) |
ohair@478 | 791 | $(call PackageFilter,$(JGSS_PKGS)) |
ohair@478 | 792 | |
ohair@478 | 793 | ############################################################# |
ohair@478 | 794 | # |
ohair@478 | 795 | # smartcardiodocs |
ohair@478 | 796 | # |
ohair@478 | 797 | |
ohair@478 | 798 | ALL_OTHER_TARGETS += smartcardiodocs |
ohair@478 | 799 | |
ihse@839 | 800 | SMARTCARDIO_DOCDIR := $(JRE_API_DOCSDIR)/security/smartcardio/spec |
ihse@839 | 801 | SMARTCARDIO2COREAPI := ../../../$(JDKJRE2COREAPI) |
ihse@839 | 802 | SMARTCARDIO_DOCTITLE := Java$(TRADEMARK) Smart Card I/O |
ohair@478 | 803 | SMARTCARDIO_WINDOWTITLE := Java Smart Card I/O |
ihse@839 | 804 | SMARTCARDIO_HEADER := <strong>Java Smart Card I/O</strong> |
ihse@839 | 805 | SMARTCARDIO_BOTTOM := $(call CommonBottom,$(SMARTCARDIO_FIRST_COPYRIGHT_YEAR)) |
ohair@478 | 806 | # SMARTCARDIO_PKGS is located in NON_CORE_PKGS.gmk |
ohair@478 | 807 | |
ohair@478 | 808 | # The index.html, options, and packages files |
ihse@839 | 809 | SMARTCARDIO_INDEX_FILE = $(SMARTCARDIO_DOCDIR)/index.html |
ihse@839 | 810 | SMARTCARDIO_OPTIONS_FILE = $(DOCSTMPDIR)/smartcardio.options |
ohair@478 | 811 | SMARTCARDIO_PACKAGES_FILE = $(DOCSTMPDIR)/smartcardio.packages |
ohair@478 | 812 | |
ohair@478 | 813 | smartcardiodocs: $(SMARTCARDIO_INDEX_FILE) |
ohair@478 | 814 | |
ohair@478 | 815 | # Set relative location to core api document root |
ohair@478 | 816 | $(SMARTCARDIO_INDEX_FILE): GET2DOCSDIR=$(SMARTCARDIO2COREAPI)/.. |
ohair@478 | 817 | |
ohair@478 | 818 | # Run javadoc if the index file is out of date or missing |
erikj@518 | 819 | $(SMARTCARDIO_INDEX_FILE): $(SMARTCARDIO_OPTIONS_FILE) $(SMARTCARDIO_PACKAGES_FILE) coredocs |
ohair@478 | 820 | $(prep-javadoc) |
ohair@478 | 821 | $(call JavadocSummary,$(SMARTCARDIO_OPTIONS_FILE),$(SMARTCARDIO_PACKAGES_FILE)) |
ohair@478 | 822 | $(JAVADOC_CMD) -d $(@D) \ |
ihse@839 | 823 | @$(SMARTCARDIO_OPTIONS_FILE) @$(SMARTCARDIO_PACKAGES_FILE) |
ohair@478 | 824 | |
ohair@478 | 825 | # Create file with javadoc options in it |
ohair@478 | 826 | $(SMARTCARDIO_OPTIONS_FILE): |
ohair@478 | 827 | $(prep-target) |
ihse@839 | 828 | @($(call OptionOnly,$(COMMON_JAVADOCFLAGS)) ; \ |
ihse@839 | 829 | $(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \ |
ihse@839 | 830 | $(call OptionPair,-encoding,ascii) ; \ |
ihse@839 | 831 | $(call OptionOnly,-nodeprecatedlist) ; \ |
ihse@839 | 832 | $(call OptionPair,-doctitle,$(SMARTCARDIO_DOCTITLE)) ; \ |
ihse@839 | 833 | $(call OptionPair,-windowtitle,$(SMARTCARDIO_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
ohair@478 | 834 | $(call OptionPair,-header,$(SMARTCARDIO_HEADER)$(DRAFT_HEADER)); \ |
ohair@478 | 835 | $(call OptionPair,-bottom,$(SMARTCARDIO_BOTTOM)$(DRAFT_BOTTOM)); \ |
ohair@478 | 836 | $(call OptionTrip,-linkoffline,$(SMARTCARDIO2COREAPI),$(COREAPI_DOCSDIR)/); \ |
ihse@839 | 837 | ) >> $@ |
ohair@478 | 838 | |
ohair@478 | 839 | # Create a file with the package names in it |
ohair@478 | 840 | $(SMARTCARDIO_PACKAGES_FILE): $(DIRECTORY_CACHE) $(call PackageDependencies,$(SMARTCARDIO_PKGS)) |
ohair@478 | 841 | $(prep-target) |
ohair@478 | 842 | $(call PackageFilter,$(SMARTCARDIO_PKGS)) |
ohair@478 | 843 | |
ohair@478 | 844 | ############################################################# |
ohair@478 | 845 | # |
ohair@478 | 846 | # httpserverdocs |
ohair@478 | 847 | # |
ohair@478 | 848 | |
ohair@478 | 849 | ALL_OTHER_TARGETS += httpserverdocs |
ohair@478 | 850 | |
ihse@839 | 851 | HTTPSERVER_DOCDIR := $(JRE_API_DOCSDIR)/net/httpserver/spec |
ihse@839 | 852 | HTTPSERVER2COREAPI := ../../../$(JDKJRE2COREAPI) |
ihse@839 | 853 | HTTPSERVER_DOCTITLE := Java$(TRADEMARK) HTTP Server |
ohair@478 | 854 | HTTPSERVER_WINDOWTITLE := Java HTTP Server |
ihse@839 | 855 | HTTPSERVER_HEADER := <strong>Java HTTP Server</strong> |
ihse@839 | 856 | HTTPSERVER_BOTTOM := $(call CommonBottom,$(HTTPSERVER_FIRST_COPYRIGHT_YEAR)) |
ohair@478 | 857 | # HTTPSERVER_PKGS is located in NON_CORE_PKGS.gmk |
ohair@478 | 858 | |
ihse@839 | 859 | HTTPSERVER_INDEX_HTML = $(HTTPSERVER_DOCDIR)/index.html |
ihse@839 | 860 | HTTPSERVER_OPTIONS_FILE = $(DOCSTMPDIR)/httpserver.options |
ohair@478 | 861 | HTTPSERVER_PACKAGES_FILE = $(DOCSTMPDIR)/httpserver.packages |
ohair@478 | 862 | |
ohair@478 | 863 | httpserverdocs: $(HTTPSERVER_INDEX_HTML) |
ohair@478 | 864 | |
ohair@478 | 865 | # Set relative location to core api document root |
ohair@478 | 866 | $(HTTPSERVER_INDEX_HTML): GET2DOCSDIR=$(HTTPSERVER2COREAPI)/.. |
ohair@478 | 867 | |
ohair@478 | 868 | # Run javadoc if the index file is out of date or missing |
erikj@518 | 869 | $(HTTPSERVER_INDEX_HTML): $(HTTPSERVER_OPTIONS_FILE) $(HTTPSERVER_PACKAGES_FILE) coredocs |
ohair@478 | 870 | $(prep-javadoc) |
ohair@478 | 871 | $(call JavadocSummary,$(HTTPSERVER_OPTIONS_FILE),$(HTTPSERVER_PACKAGES_FILE)) |
ohair@478 | 872 | $(JAVADOC_CMD) -d $(@D) \ |
ihse@839 | 873 | @$(HTTPSERVER_OPTIONS_FILE) @$(HTTPSERVER_PACKAGES_FILE) |
ohair@478 | 874 | |
ohair@478 | 875 | # Create file with javadoc options in it |
ohair@478 | 876 | $(HTTPSERVER_OPTIONS_FILE): |
ohair@478 | 877 | $(prep-target) |
ihse@839 | 878 | @($(call OptionOnly,$(COMMON_JAVADOCFLAGS)) ; \ |
ihse@839 | 879 | $(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \ |
ihse@839 | 880 | $(call OptionPair,-encoding,ascii) ; \ |
ihse@839 | 881 | $(call OptionOnly,-nodeprecatedlist) ; \ |
ihse@839 | 882 | $(call OptionPair,-doctitle,$(HTTPSERVER_DOCTITLE)) ; \ |
ihse@839 | 883 | $(call OptionPair,-windowtitle,$(HTTPSERVER_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
ohair@478 | 884 | $(call OptionPair,-header,$(HTTPSERVER_HEADER)$(DRAFT_HEADER)); \ |
ohair@478 | 885 | $(call OptionPair,-bottom,$(HTTPSERVER_BOTTOM)$(DRAFT_BOTTOM)); \ |
ohair@478 | 886 | $(call OptionTrip,-linkoffline,$(HTTPSERVER2COREAPI),$(COREAPI_DOCSDIR)/); \ |
ihse@839 | 887 | ) >> $@ |
ohair@478 | 888 | |
ohair@478 | 889 | # Create a file with the package names in it |
ohair@478 | 890 | $(HTTPSERVER_PACKAGES_FILE): $(DIRECTORY_CACHE) $(call PackageDependencies,$(HTTPSERVER_PKGS)) |
ohair@478 | 891 | $(prep-target) |
ohair@478 | 892 | $(call PackageFilter,$(HTTPSERVER_PKGS)) |
ohair@478 | 893 | |
ohair@478 | 894 | ############################################################# |
ohair@478 | 895 | # |
ohair@478 | 896 | # mgmtdocs |
ohair@478 | 897 | # |
ohair@478 | 898 | |
ohair@478 | 899 | ALL_OTHER_TARGETS += mgmtdocs |
ohair@478 | 900 | |
ihse@839 | 901 | MGMT_DOCDIR := $(JRE_API_DOCSDIR)/management/extension |
ihse@839 | 902 | MGMT2COREAPI := ../../$(JDKJRE2COREAPI) |
ihse@839 | 903 | JVM_MIB_NAME := JVM-MANAGEMENT-MIB.mib |
ihse@839 | 904 | JVM_MIB_SRC := $(JDK_TOPDIR)/src/closed/share/classes/sun/management/snmp/$(JVM_MIB_NAME) |
ihse@839 | 905 | MGMT_DOCTITLE := Monitoring and Management Interface for the Java$(TRADEMARK) Platform |
ohair@478 | 906 | MGMT_WINDOWTITLE := Monitoring and Management Interface for the Java Platform |
ihse@839 | 907 | MGMT_HEADER := <strong>Monitoring and Management Interface for the Java Platform</strong> |
ihse@839 | 908 | MGMT_BOTTOM := $(call CommonBottom,$(MGMT_FIRST_COPYRIGHT_YEAR)) |
ihse@839 | 909 | MGMT_OVERVIEW := $(JDK_SHARE_CLASSES)/com/sun/management/mgmt-overview.html |
ohair@478 | 910 | # MGMT_PKGS is located in NON_CORE_PKGS.gmk |
ohair@478 | 911 | |
ohair@478 | 912 | # The index.html, options, and packages files |
ihse@839 | 913 | MGMT_INDEX_FILE = $(MGMT_DOCDIR)/index.html |
ihse@839 | 914 | MGMT_OPTIONS_FILE = $(DOCSTMPDIR)/mgmt.options |
ohair@478 | 915 | MGMT_PACKAGES_FILE = $(DOCSTMPDIR)/mgmt.packages |
ohair@478 | 916 | |
ohair@478 | 917 | mgmtdocs: $(MGMT_INDEX_FILE) |
ohair@478 | 918 | |
ohair@478 | 919 | # Set relative location to core api document root |
ohair@478 | 920 | $(MGMT_INDEX_FILE): GET2DOCSDIR=$(MGMT2COREAPI)/.. |
ohair@478 | 921 | |
ohair@478 | 922 | # Run javadoc if the index file is out of date or missing |
erikj@518 | 923 | $(MGMT_INDEX_FILE): $(MGMT_OPTIONS_FILE) $(MGMT_PACKAGES_FILE) coredocs |
ohair@478 | 924 | $(prep-javadoc) |
ihse@839 | 925 | @if [ -f $(JVM_MIB_SRC) ] ; then \ |
ihse@839 | 926 | $(ECHO) "$(CP) $(JVM_MIB_SRC) $(@D)/.."; \ |
ihse@839 | 927 | $(CP) $(JVM_MIB_SRC) $(@D)/.. ; \ |
ihse@839 | 928 | else \ |
ihse@839 | 929 | $(ECHO) "WARNING: File $(JVM_MIB_NAME) not available."; \ |
ohair@478 | 930 | fi |
ohair@478 | 931 | $(call JavadocSummary,$(MGMT_OPTIONS_FILE),$(MGMT_PACKAGES_FILE)) |
ohair@478 | 932 | $(JAVADOC_CMD) -d $(@D) \ |
ihse@839 | 933 | @$(MGMT_OPTIONS_FILE) @$(MGMT_PACKAGES_FILE) |
ohair@478 | 934 | |
ohair@478 | 935 | # Create file with javadoc options in it |
ohair@478 | 936 | $(MGMT_OPTIONS_FILE): $(MGMT_OVERVIEW) |
ohair@478 | 937 | $(prep-target) |
ihse@839 | 938 | @($(call OptionOnly,$(COMMON_JAVADOCFLAGS)) ; \ |
ihse@839 | 939 | $(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \ |
ihse@839 | 940 | $(call OptionPair,-encoding,ascii) ; \ |
ihse@839 | 941 | $(call OptionOnly,-nodeprecatedlist) ; \ |
ihse@839 | 942 | $(call OptionPair,-overview,$(MGMT_OVERVIEW)) ; \ |
ihse@839 | 943 | $(call OptionPair,-doctitle,$(MGMT_DOCTITLE)) ; \ |
ohair@478 | 944 | $(call OptionPair,-windowtitle,$(MGMT_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
ihse@839 | 945 | $(call OptionPair,-header,$(MGMT_HEADER)$(DRAFT_HEADER)) ; \ |
ihse@839 | 946 | $(call OptionPair,-bottom,$(MGMT_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
ohair@478 | 947 | $(call OptionTrip,-linkoffline,$(MGMT2COREAPI),$(COREAPI_DOCSDIR)/); \ |
ihse@839 | 948 | ) >> $@ |
ohair@478 | 949 | |
ohair@478 | 950 | # Create a file with the package names in it |
ohair@478 | 951 | $(MGMT_PACKAGES_FILE): $(DIRECTORY_CACHE) $(call PackageDependencies,$(MGMT_PKGS)) |
ohair@478 | 952 | $(prep-target) |
ohair@478 | 953 | $(call PackageFilter,$(MGMT_PKGS)) |
ohair@478 | 954 | |
ohair@478 | 955 | ############################################################# |
ohair@478 | 956 | # |
ohair@478 | 957 | # attachdocs |
ohair@478 | 958 | # |
ohair@478 | 959 | |
ohair@478 | 960 | ALL_OTHER_TARGETS += attachdocs |
ohair@478 | 961 | |
ihse@839 | 962 | ATTACH_DOCDIR := $(JDK_API_DOCSDIR)/attach/spec |
ihse@839 | 963 | ATTACH2COREAPI := ../../$(JDKJRE2COREAPI) |
ihse@839 | 964 | ATTACH_DOCTITLE := Attach API |
ohair@478 | 965 | ATTACH_WINDOWTITLE := Attach API |
ihse@839 | 966 | ATTACH_HEADER := <strong>Attach API</strong> |
ihse@839 | 967 | ATTACH_BOTTOM := $(call CommonBottom,$(ATTACH_FIRST_COPYRIGHT_YEAR)) |
ohair@478 | 968 | # ATTACH_PKGS is located in NON_CORE_PKGS.gmk |
ohair@478 | 969 | |
ihse@839 | 970 | ATTACH_INDEX_HTML = $(ATTACH_DOCDIR)/index.html |
ihse@839 | 971 | ATTACH_OPTIONS_FILE = $(DOCSTMPDIR)/attach.options |
ohair@478 | 972 | ATTACH_PACKAGES_FILE = $(DOCSTMPDIR)/attach.packages |
ohair@478 | 973 | |
ohair@478 | 974 | attachdocs: $(ATTACH_INDEX_HTML) |
ohair@478 | 975 | |
ohair@478 | 976 | # Set relative location to core api document root |
ohair@478 | 977 | $(ATTACH_INDEX_HTML): GET2DOCSDIR=$(ATTACH2COREAPI)/.. |
ohair@478 | 978 | |
ohair@478 | 979 | # Run javadoc if the index file is out of date or missing |
erikj@518 | 980 | $(ATTACH_INDEX_HTML): $(ATTACH_OPTIONS_FILE) $(ATTACH_PACKAGES_FILE) coredocs |
ohair@478 | 981 | $(prep-javadoc) |
ohair@478 | 982 | $(call JavadocSummary,$(ATTACH_OPTIONS_FILE),$(ATTACH_PACKAGES_FILE)) |
ohair@478 | 983 | $(JAVADOC_CMD) -d $(@D) \ |
ihse@839 | 984 | @$(ATTACH_OPTIONS_FILE) @$(ATTACH_PACKAGES_FILE) |
ohair@478 | 985 | |
ohair@478 | 986 | # Create file with javadoc options in it |
ohair@478 | 987 | $(ATTACH_OPTIONS_FILE): |
ohair@478 | 988 | $(prep-target) |
ihse@839 | 989 | @($(call OptionOnly,$(COMMON_JAVADOCFLAGS)) ; \ |
ihse@839 | 990 | $(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \ |
ihse@839 | 991 | $(call OptionPair,-encoding,ascii) ; \ |
ihse@839 | 992 | $(call OptionOnly,-nodeprecatedlist) ; \ |
ihse@839 | 993 | $(call OptionPair,-doctitle,$(ATTACH_DOCTITLE)) ; \ |
ihse@839 | 994 | $(call OptionPair,-windowtitle,$(ATTACH_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
ihse@839 | 995 | $(call OptionPair,-header,$(ATTACH_HEADER)$(DRAFT_HEADER)) ; \ |
ihse@839 | 996 | $(call OptionPair,-bottom,$(ATTACH_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
ohair@478 | 997 | $(call OptionTrip,-linkoffline,$(ATTACH2COREAPI),$(COREAPI_DOCSDIR)/); \ |
ihse@839 | 998 | ) >> $@ |
ohair@478 | 999 | |
ohair@478 | 1000 | # Create a file with the package names in it |
ohair@478 | 1001 | $(ATTACH_PACKAGES_FILE): $(DIRECTORY_CACHE) $(call PackageDependencies,$(ATTACH_PKGS)) |
ohair@478 | 1002 | $(prep-target) |
ohair@478 | 1003 | $(call PackageFilter,$(ATTACH_PKGS)) |
ohair@478 | 1004 | |
ohair@478 | 1005 | ############################################################# |
ohair@478 | 1006 | # |
ohair@478 | 1007 | # jconsoledocs |
ohair@478 | 1008 | # |
ohair@478 | 1009 | |
ohair@478 | 1010 | ALL_OTHER_TARGETS += jconsoledocs |
ohair@478 | 1011 | |
ihse@839 | 1012 | JCONSOLE_DOCDIR := $(JDK_API_DOCSDIR)/jconsole/spec |
ihse@839 | 1013 | JCONSOLE2COREAPI := ../../$(JDKJRE2COREAPI) |
ihse@839 | 1014 | JCONSOLE_DOCTITLE := JConsole API |
ohair@478 | 1015 | JCONSOLE_WINDOWTITLE := JConsole API |
ihse@839 | 1016 | JCONSOLE_HEADER := <strong>JConsole API</strong> |
ihse@839 | 1017 | JCONSOLE_BOTTOM := $(call CommonBottom,$(JCONSOLE_FIRST_COPYRIGHT_YEAR)) |
ohair@478 | 1018 | # JCONSOLE_PKGS is located in NON_CORE_PKGS.gmk |
ohair@478 | 1019 | |
ihse@839 | 1020 | JCONSOLE_INDEX_HTML = $(JCONSOLE_DOCDIR)/index.html |
ihse@839 | 1021 | JCONSOLE_OPTIONS_FILE = $(DOCSTMPDIR)/jconsole.options |
ohair@478 | 1022 | JCONSOLE_PACKAGES_FILE = $(DOCSTMPDIR)/jconsole.packages |
ohair@478 | 1023 | |
ohair@478 | 1024 | jconsoledocs: $(JCONSOLE_INDEX_HTML) |
ohair@478 | 1025 | |
ohair@478 | 1026 | # Set relative location to core api document root |
ohair@478 | 1027 | $(JCONSOLE_INDEX_HTML): GET2DOCSDIR=$(JCONSOLE2COREAPI)/.. |
ohair@478 | 1028 | |
ohair@478 | 1029 | # Run javadoc if the index file is out of date or missing |
erikj@518 | 1030 | $(JCONSOLE_INDEX_HTML): $(JCONSOLE_OPTIONS_FILE) $(JCONSOLE_PACKAGES_FILE) coredocs |
ohair@478 | 1031 | $(prep-javadoc) |
ohair@478 | 1032 | $(call JavadocSummary,$(JCONSOLE_OPTIONS_FILE),$(JCONSOLE_PACKAGES_FILE)) |
ohair@478 | 1033 | $(JAVADOC_CMD) -d $(@D) \ |
ihse@839 | 1034 | @$(JCONSOLE_OPTIONS_FILE) @$(JCONSOLE_PACKAGES_FILE) |
ohair@478 | 1035 | |
ohair@478 | 1036 | # Create file with javadoc options in it |
ohair@478 | 1037 | $(JCONSOLE_OPTIONS_FILE): |
ohair@478 | 1038 | $(prep-target) |
ihse@839 | 1039 | @($(call OptionOnly,$(COMMON_JAVADOCFLAGS)) ; \ |
ihse@839 | 1040 | $(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \ |
ihse@839 | 1041 | $(call OptionPair,-encoding,ascii) ; \ |
ihse@839 | 1042 | $(call OptionOnly,-nodeprecatedlist) ; \ |
ihse@839 | 1043 | $(call OptionPair,-doctitle,$(JCONSOLE_DOCTITLE)) ; \ |
ihse@839 | 1044 | $(call OptionPair,-windowtitle,$(JCONSOLE_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
ihse@839 | 1045 | $(call OptionPair,-header,$(JCONSOLE_HEADER)$(DRAFT_HEADER)) ; \ |
ihse@839 | 1046 | $(call OptionPair,-bottom,$(JCONSOLE_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
ohair@478 | 1047 | $(call OptionTrip,-linkoffline,$(JCONSOLE2COREAPI),$(COREAPI_DOCSDIR)/); \ |
ihse@839 | 1048 | ) >> $@ |
ohair@478 | 1049 | |
ohair@478 | 1050 | # Create a file with the package names in it |
ohair@478 | 1051 | $(JCONSOLE_PACKAGES_FILE): $(DIRECTORY_CACHE) $(call PackageDependencies,$(JCONSOLE_PKGS)) |
ohair@478 | 1052 | $(prep-target) |
ohair@478 | 1053 | $(call PackageFilter,$(JCONSOLE_PKGS)) |
ohair@478 | 1054 | |
ohair@478 | 1055 | ############################################################# |
ohair@478 | 1056 | # |
ohair@478 | 1057 | # treeapidocs |
ohair@478 | 1058 | # |
ohair@478 | 1059 | |
ohair@478 | 1060 | ALL_OTHER_TARGETS += treeapidocs |
ohair@478 | 1061 | |
ihse@839 | 1062 | TREEAPI_DOCDIR := $(JDK_API_DOCSDIR)/javac/tree |
ihse@839 | 1063 | TREEAPI2COREAPI := ../../$(JDKJRE2COREAPI) |
ihse@839 | 1064 | TREEAPI_DOCTITLE := Compiler Tree API |
ihse@839 | 1065 | TREEAPI_WINDOWTITLE := Compiler Tree API |
ihse@839 | 1066 | TREEAPI_HEADER := <strong>Compiler Tree API</strong> |
ihse@839 | 1067 | TREEAPI_BOTTOM := $(call CommonBottom,$(TREEAPI_FIRST_COPYRIGHT_YEAR)) |
ihse@839 | 1068 | TREEAPI_GROUPNAME := Packages |
ihse@839 | 1069 | TREEAPI_REGEXP := com.sun.source.* |
ohair@478 | 1070 | # TREEAPI_PKGS is located in NON_CORE_PKGS.gmk |
ohair@478 | 1071 | |
ihse@839 | 1072 | TREEAPI_INDEX_HTML = $(TREEAPI_DOCDIR)/index.html |
ihse@839 | 1073 | TREEAPI_OPTIONS_FILE = $(DOCSTMPDIR)/treeapi.options |
ohair@478 | 1074 | TREEAPI_PACKAGES_FILE = $(DOCSTMPDIR)/treeapi.packages |
ohair@478 | 1075 | |
ohair@478 | 1076 | treeapidocs: $(TREEAPI_INDEX_HTML) |
ohair@478 | 1077 | |
ohair@478 | 1078 | # Set relative location to core api document root |
ohair@478 | 1079 | $(TREEAPI_INDEX_HTML): GET2DOCSDIR=$(TREEAPI2COREAPI)/.. |
ohair@478 | 1080 | |
ohair@478 | 1081 | # Run javadoc if the index file is out of date or missing |
erikj@518 | 1082 | $(TREEAPI_INDEX_HTML): $(TREEAPI_OPTIONS_FILE) $(TREEAPI_PACKAGES_FILE) coredocs |
ohair@478 | 1083 | $(prep-javadoc) |
ohair@478 | 1084 | $(call JavadocSummary,$(TREEAPI_OPTIONS_FILE),$(TREEAPI_PACKAGES_FILE)) |
ohair@478 | 1085 | $(JAVADOC_CMD) -d $(@D) \ |
ihse@839 | 1086 | @$(TREEAPI_OPTIONS_FILE) @$(TREEAPI_PACKAGES_FILE) |
ohair@478 | 1087 | |
ohair@478 | 1088 | # Create file with javadoc options in it |
ohair@478 | 1089 | $(TREEAPI_OPTIONS_FILE): |
ohair@478 | 1090 | $(prep-target) |
ihse@839 | 1091 | @($(call OptionOnly,$(COMMON_JAVADOCFLAGS)) ; \ |
ihse@839 | 1092 | $(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \ |
ihse@839 | 1093 | $(call OptionPair,-encoding,ascii) ; \ |
ihse@839 | 1094 | $(call OptionPair,-doctitle,$(TREEAPI_DOCTITLE)) ; \ |
ihse@839 | 1095 | $(call OptionPair,-windowtitle,$(TREEAPI_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
ihse@839 | 1096 | $(call OptionPair,-header,$(TREEAPI_HEADER)$(DRAFT_HEADER)) ; \ |
ihse@839 | 1097 | $(call OptionPair,-tag,$(TAG_JLS)) ; \ |
ihse@839 | 1098 | $(call OptionPair,-bottom,$(TREEAPI_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
ohair@478 | 1099 | $(call OptionTrip,-group,$(TREEAPI_GROUPNAME),$(TREEAPI_REGEXP)); \ |
ohair@478 | 1100 | $(call OptionTrip,-linkoffline,$(TREEAPI2COREAPI),$(COREAPI_DOCSDIR)/); \ |
ihse@839 | 1101 | ) >> $@ |
ohair@478 | 1102 | |
ohair@478 | 1103 | # Create a file with the package names in it |
ohair@478 | 1104 | $(TREEAPI_PACKAGES_FILE): $(DIRECTORY_CACHE) $(call PackageDependencies,$(TREEAPI_PKGS)) |
ohair@478 | 1105 | $(prep-target) |
ohair@478 | 1106 | $(call PackageFilter,$(TREEAPI_PKGS)) |
ohair@478 | 1107 | |
ohair@478 | 1108 | ############################################################# |
ohair@478 | 1109 | # |
sundar@1207 | 1110 | # nashornapidocs |
sundar@1207 | 1111 | # |
sundar@1207 | 1112 | |
sundar@1207 | 1113 | ALL_OTHER_TARGETS += nashornapidocs |
sundar@1207 | 1114 | |
sundar@1207 | 1115 | NASHORNAPI_DOCDIR := $(JDK_API_DOCSDIR)/nashorn |
sundar@1207 | 1116 | NASHORNAPI2COREAPI := ../$(JDKJRE2COREAPI) |
sundar@1207 | 1117 | NASHORNAPI_DOCTITLE := Nashorn API |
sundar@1207 | 1118 | NASHORNAPI_WINDOWTITLE := Nashorn API |
sundar@1207 | 1119 | NASHORNAPI_HEADER := <strong>Nashorn API</strong> |
sundar@1207 | 1120 | NASHORNAPI_BOTTOM := $(call CommonBottom,$(NASHORNAPI_FIRST_COPYRIGHT_YEAR)) |
sundar@1207 | 1121 | NASHORNAPI_GROUPNAME := Packages |
sundar@1214 | 1122 | NASHORNAPI_REGEXP := jdk.nashorn.api.scripting.* |
sundar@1214 | 1123 | |
sundar@1207 | 1124 | # NASHORNAPI_PKGS is located in NON_CORE_PKGS.gmk |
sundar@1207 | 1125 | |
sundar@1207 | 1126 | NASHORNAPI_INDEX_HTML = $(NASHORNAPI_DOCDIR)/index.html |
sundar@1214 | 1127 | NASHORNAPI_OPTIONS_FILE = $(DOCSTMPDIR)/nashornapi.options |
sundar@1214 | 1128 | NASHORNAPI_PACKAGES_FILE = $(DOCSTMPDIR)/nashornapi.packages |
sundar@1207 | 1129 | |
sundar@1214 | 1130 | nashornapidocs: $(NASHORNAPI_INDEX_HTML) |
sundar@1207 | 1131 | |
sundar@1207 | 1132 | # Set relative location to core api document root |
sundar@1207 | 1133 | $(NASHORNAPI_INDEX_HTML): GET2DOCSDIR=$(NASHORNAPI2COREAPI)/.. |
sundar@1207 | 1134 | |
sundar@1207 | 1135 | # Run javadoc if the index file is out of date or missing |
sundar@1207 | 1136 | $(NASHORNAPI_INDEX_HTML): $(NASHORNAPI_OPTIONS_FILE) $(NASHORNAPI_PACKAGES_FILE) coredocs |
sundar@1207 | 1137 | $(prep-javadoc) |
sundar@1207 | 1138 | $(call JavadocSummary,$(NASHORNAPI_OPTIONS_FILE),$(NASHORNAPI_PACKAGES_FILE)) |
sundar@1207 | 1139 | $(JAVADOC_CMD) -d $(@D) \ |
sundar@1207 | 1140 | @$(NASHORNAPI_OPTIONS_FILE) @$(NASHORNAPI_PACKAGES_FILE) |
sundar@1207 | 1141 | |
sundar@1207 | 1142 | # Create file with javadoc options in it |
sundar@1207 | 1143 | $(NASHORNAPI_OPTIONS_FILE): |
sundar@1207 | 1144 | $(prep-target) |
sundar@1207 | 1145 | @($(call OptionOnly,$(COMMON_JAVADOCFLAGS)) ; \ |
sundar@1207 | 1146 | $(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \ |
sundar@1207 | 1147 | $(call OptionPair,-encoding,ascii) ; \ |
sundar@1207 | 1148 | $(call OptionPair,-doctitle,$(NASHORNAPI_DOCTITLE)) ; \ |
sundar@1207 | 1149 | $(call OptionPair,-windowtitle,$(NASHORNAPI_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
sundar@1207 | 1150 | $(call OptionPair,-header,$(NASHORNAPI_HEADER)$(DRAFT_HEADER)) ; \ |
sundar@1207 | 1151 | $(call OptionPair,-tag,$(TAG_JLS)) ; \ |
sundar@1207 | 1152 | $(call OptionPair,-bottom,$(NASHORNAPI_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
sundar@1207 | 1153 | $(call OptionTrip,-group,$(NASHORNAPI_GROUPNAME),$(NASHORNAPI_REGEXP)); \ |
sundar@1207 | 1154 | $(call OptionTrip,-linkoffline,$(NASHORNAPI2COREAPI),$(COREAPI_DOCSDIR)/); \ |
sundar@1207 | 1155 | ) >> $@ |
sundar@1207 | 1156 | |
sundar@1207 | 1157 | # Create a file with the package names in it |
sundar@1207 | 1158 | $(NASHORNAPI_PACKAGES_FILE): $(DIRECTORY_CACHE) $(call PackageDependencies,$(NASHORNAPI_PKGS)) |
sundar@1207 | 1159 | $(prep-target) |
sundar@1207 | 1160 | $(call PackageFilter,$(NASHORNAPI_PKGS)) |
sundar@1207 | 1161 | |
sundar@1207 | 1162 | ############################################################# |
sundar@1207 | 1163 | # |
ohair@478 | 1164 | # sctpdocs |
ohair@478 | 1165 | # |
ohair@478 | 1166 | |
ohair@478 | 1167 | ALL_OTHER_TARGETS += sctpdocs |
ohair@478 | 1168 | |
ihse@839 | 1169 | SCTPAPI_DOCDIR := $(JRE_API_DOCSDIR)/nio/sctp/spec |
ihse@839 | 1170 | SCTPAPI2COREAPI := ../../../$(JDKJRE2COREAPI) |
ihse@839 | 1171 | SCTPAPI_DOCTITLE := SCTP API |
ohair@478 | 1172 | SCTPAPI_WINDOWTITLE := SCTP API |
ihse@839 | 1173 | SCTPAPI_HEADER := <strong>SCTP API</strong> |
ihse@839 | 1174 | SCTPAPI_BOTTOM := $(call CommonBottom,$(SCTPAPI_FIRST_COPYRIGHT_YEAR)) |
ohair@478 | 1175 | # SCTPAPI_PKGS is located in NON_CORE_PKGS.gmk |
ohair@478 | 1176 | |
ihse@839 | 1177 | SCTPAPI_INDEX_HTML = $(SCTPAPI_DOCDIR)/index.html |
ihse@839 | 1178 | SCTPAPI_OPTIONS_FILE = $(DOCSTMPDIR)/sctp.options |
ohair@478 | 1179 | SCTPAPI_PACKAGES_FILE = $(DOCSTMPDIR)/sctp.packages |
ohair@478 | 1180 | |
ohair@478 | 1181 | sctpdocs: $(SCTPAPI_INDEX_HTML) |
ohair@478 | 1182 | |
ohair@478 | 1183 | # Set relative location to core api document root |
ohair@478 | 1184 | $(SCTPAPI_INDEX_HTML): GET2DOCSDIR=$(SCTPAPI2COREAPI)/.. |
ohair@478 | 1185 | |
ohair@478 | 1186 | # Run javadoc if the index file is out of date or missing |
erikj@518 | 1187 | $(SCTPAPI_INDEX_HTML): $(SCTPAPI_OPTIONS_FILE) $(SCTPAPI_PACKAGES_FILE) coredocs |
ohair@478 | 1188 | $(prep-javadoc) |
ohair@478 | 1189 | $(call JavadocSummary,$(SCTPAPI_OPTIONS_FILE),$(SCTPAPI_PACKAGES_FILE)) |
ohair@478 | 1190 | $(JAVADOC_CMD) -d $(@D) \ |
ihse@839 | 1191 | @$(SCTPAPI_OPTIONS_FILE) @$(SCTPAPI_PACKAGES_FILE) |
ohair@478 | 1192 | |
ohair@478 | 1193 | # Create file with javadoc options in it |
ohair@478 | 1194 | $(SCTPAPI_OPTIONS_FILE): |
ohair@478 | 1195 | $(prep-target) |
ihse@839 | 1196 | @($(call OptionOnly,$(COMMON_JAVADOCFLAGS)) ; \ |
ihse@839 | 1197 | $(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \ |
ihse@839 | 1198 | $(call OptionPair,-encoding,ascii) ; \ |
ihse@839 | 1199 | $(call OptionOnly,-nodeprecatedlist) ; \ |
ihse@839 | 1200 | $(call OptionPair,-doctitle,$(SCTPAPI_DOCTITLE)) ; \ |
ihse@839 | 1201 | $(call OptionPair,-windowtitle,$(SCTPAPI_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
ihse@839 | 1202 | $(call OptionPair,-header,$(SCTPAPI_HEADER)$(DRAFT_HEADER)) ; \ |
ihse@839 | 1203 | $(call OptionPair,-bottom,$(SCTPAPI_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
ohair@478 | 1204 | $(call OptionTrip,-linkoffline,$(SCTPAPI2COREAPI),$(COREAPI_DOCSDIR)/); \ |
ihse@839 | 1205 | ) >> $@ |
ohair@478 | 1206 | |
ohair@478 | 1207 | # Create a file with the package names in it |
ohair@478 | 1208 | $(SCTPAPI_PACKAGES_FILE): $(DIRECTORY_CACHE) $(call PackageDependencies,$(SCTPAPI_PKGS)) |
ohair@478 | 1209 | $(prep-target) |
ohair@478 | 1210 | $(call PackageFilter,$(SCTPAPI_PKGS)) |
ohair@478 | 1211 | |
ohair@478 | 1212 | ############################################################# |
ohair@478 | 1213 | # |
ptbrunet@1334 | 1214 | # jaccessdocs - Java Accessibility Utilities |
ptbrunet@1334 | 1215 | # |
ptbrunet@1334 | 1216 | |
ptbrunet@1400 | 1217 | ALL_OTHER_TARGETS += jaccessdocs |
ptbrunet@1334 | 1218 | |
ptbrunet@1334 | 1219 | JACCESSAPI_DOCDIR := $(JRE_API_DOCSDIR)/accessibility/jaccess/spec |
ptbrunet@1334 | 1220 | JACCESSAPI2COREAPI := ../../../$(JDKJRE2COREAPI) |
ptbrunet@1334 | 1221 | JACCESSAPI_DOCTITLE := JACCESS API |
ptbrunet@1334 | 1222 | JACCESSAPI_WINDOWTITLE := JACCESS API |
ptbrunet@1334 | 1223 | JACCESSAPI_HEADER := <strong>JACCESS API</strong> |
ptbrunet@1334 | 1224 | JACCESSAPI_BOTTOM := $(call CommonBottom,$(JACCESSAPI_FIRST_COPYRIGHT_YEAR)) |
ptbrunet@1334 | 1225 | # JACCESSAPI_PKGS is located in NON_CORE_PKGS.gmk |
ptbrunet@1334 | 1226 | |
ptbrunet@1334 | 1227 | JACCESSAPI_INDEX_HTML = $(JACCESSAPI_DOCDIR)/index.html |
ptbrunet@1334 | 1228 | JACCESSAPI_OPTIONS_FILE = $(DOCSTMPDIR)/jaccess.options |
ptbrunet@1334 | 1229 | JACCESSAPI_PACKAGES_FILE = $(DOCSTMPDIR)/jaccess.packages |
ptbrunet@1334 | 1230 | |
ptbrunet@1334 | 1231 | jaccessdocs: $(JACCESSAPI_INDEX_HTML) |
ptbrunet@1334 | 1232 | |
ptbrunet@1334 | 1233 | # Set relative location to core api document root |
ptbrunet@1334 | 1234 | $(JACCESSAPI_INDEX_HTML): GET2DOCSDIR=$(JACCESSAPI2COREAPI)/.. |
ptbrunet@1334 | 1235 | |
ptbrunet@1334 | 1236 | # Run javadoc if the index file is out of date or missing |
ptbrunet@1334 | 1237 | $(JACCESSAPI_INDEX_HTML): $(JACCESSAPI_OPTIONS_FILE) $(JACCESSAPI_PACKAGES_FILE) coredocs |
ptbrunet@1334 | 1238 | $(prep-javadoc) |
ptbrunet@1334 | 1239 | $(call JavadocSummary,$(JACCESSAPI_OPTIONS_FILE),$(JACCESSAPI_PACKAGES_FILE)) |
ptbrunet@1334 | 1240 | $(JAVADOC_CMD) -d $(@D) \ |
ptbrunet@1334 | 1241 | @$(JACCESSAPI_OPTIONS_FILE) @$(JACCESSAPI_PACKAGES_FILE) |
ptbrunet@1334 | 1242 | |
ptbrunet@1334 | 1243 | # Create file with javadoc options in it |
ptbrunet@1334 | 1244 | $(JACCESSAPI_OPTIONS_FILE): |
ptbrunet@1334 | 1245 | $(prep-target) |
ptbrunet@1334 | 1246 | @($(call OptionOnly,$(COMMON_JAVADOCFLAGS)) ; \ |
ptbrunet@1334 | 1247 | $(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \ |
ptbrunet@1334 | 1248 | $(call OptionPair,-encoding,ascii) ; \ |
ptbrunet@1334 | 1249 | $(call OptionOnly,-nodeprecatedlist) ; \ |
ptbrunet@1334 | 1250 | $(call OptionPair,-doctitle,$(JACCESSAPI_DOCTITLE)) ; \ |
ptbrunet@1334 | 1251 | $(call OptionPair,-windowtitle,$(JACCESSAPI_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
ptbrunet@1334 | 1252 | $(call OptionPair,-header,$(JACCESSAPI_HEADER)$(DRAFT_HEADER)) ; \ |
ptbrunet@1334 | 1253 | $(call OptionPair,-bottom,$(JACCESSAPI_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
ptbrunet@1334 | 1254 | $(call OptionTrip,-linkoffline,$(JACCESSAPI2COREAPI),$(COREAPI_DOCSDIR)/); \ |
ptbrunet@1334 | 1255 | ) >> $@ |
ptbrunet@1334 | 1256 | |
ptbrunet@1334 | 1257 | # Create a file with the package names in it |
ptbrunet@1334 | 1258 | $(JACCESSAPI_PACKAGES_FILE): $(DIRECTORY_CACHE) $(call PackageDependencies,$(JACCESSAPI_PKGS)) |
ptbrunet@1334 | 1259 | $(prep-target) |
ptbrunet@1334 | 1260 | $(call PackageFilter,$(JACCESSAPI_PKGS)) |
ptbrunet@1334 | 1261 | |
ptbrunet@1334 | 1262 | ############################################################# |
ptbrunet@1334 | 1263 | # |
michaelm@1033 | 1264 | # jdk.net docs |
michaelm@1033 | 1265 | # |
michaelm@1033 | 1266 | |
michaelm@1033 | 1267 | ALL_OTHER_TARGETS += jdknetdocs |
michaelm@1033 | 1268 | |
michaelm@1033 | 1269 | JDKNET_DOCDIR := $(JRE_API_DOCSDIR)/net/socketoptions/spec |
michaelm@1033 | 1270 | JDKNET2COREAPI := ../../../$(JDKJRE2COREAPI) |
michaelm@1033 | 1271 | JDKNET_DOCTITLE := jdk.net API |
michaelm@1033 | 1272 | JDKNET_WINDOWTITLE := jdk.net API |
michaelm@1033 | 1273 | JDKNET_HEADER := <strong>jdk.net API</strong> |
michaelm@1033 | 1274 | JDKNET_BOTTOM := $(call CommonBottom,$(JDKNET_FIRST_COPYRIGHT_YEAR)) |
michaelm@1033 | 1275 | JDKNET_PKGS := jdk.net |
michaelm@1033 | 1276 | |
michaelm@1033 | 1277 | JDKNET_INDEX_HTML = $(JDKNET_DOCDIR)/index.html |
michaelm@1033 | 1278 | JDKNET_OPTIONS_FILE = $(DOCSTMPDIR)/jdknet.options |
michaelm@1033 | 1279 | JDKNET_PACKAGES_FILE = $(DOCSTMPDIR)/jdknet.packages |
michaelm@1033 | 1280 | |
michaelm@1033 | 1281 | jdknetdocs: $(JDKNET_INDEX_HTML) |
michaelm@1033 | 1282 | |
michaelm@1033 | 1283 | # Set relative location to core api document root |
michaelm@1033 | 1284 | $(JDKNET_INDEX_HTML): GET2DOCSDIR=$(JDKNET2COREAPI)/.. |
michaelm@1033 | 1285 | |
michaelm@1033 | 1286 | # Run javadoc if the index file is out of date or missing |
michaelm@1033 | 1287 | $(JDKNET_INDEX_HTML): $(JDKNET_OPTIONS_FILE) $(JDKNET_PACKAGES_FILE) coredocs |
michaelm@1033 | 1288 | $(prep-javadoc) |
michaelm@1033 | 1289 | $(call JavadocSummary,$(JDKNET_OPTIONS_FILE),$(JDKNET_PACKAGES_FILE)) |
michaelm@1033 | 1290 | $(JAVADOC_CMD) -d $(@D) \ |
michaelm@1033 | 1291 | @$(JDKNET_OPTIONS_FILE) @$(JDKNET_PACKAGES_FILE) |
michaelm@1033 | 1292 | |
michaelm@1033 | 1293 | # Create file with javadoc options in it |
michaelm@1033 | 1294 | $(JDKNET_OPTIONS_FILE): |
michaelm@1033 | 1295 | $(prep-target) |
michaelm@1033 | 1296 | @($(call OptionOnly,$(COMMON_JAVADOCFLAGS)) ; \ |
michaelm@1033 | 1297 | $(call OptionOnly,-Xdoclint:none) ; \ |
michaelm@1033 | 1298 | $(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \ |
michaelm@1033 | 1299 | $(call OptionPair,-encoding,ascii) ; \ |
michaelm@1033 | 1300 | $(call OptionOnly,-nodeprecatedlist) ; \ |
michaelm@1033 | 1301 | $(call OptionPair,-doctitle,$(JDKNET_DOCTITLE)) ; \ |
michaelm@1033 | 1302 | $(call OptionPair,-windowtitle,$(JDKNET_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
michaelm@1033 | 1303 | $(call OptionPair,-header,$(JDKNET_HEADER)$(DRAFT_HEADER)); \ |
michaelm@1033 | 1304 | $(call OptionPair,-bottom,$(JDKNET_BOTTOM)$(DRAFT_BOTTOM)); \ |
michaelm@1033 | 1305 | $(call OptionTrip,-linkoffline,$(JDKNET2COREAPI),$(COREAPI_DOCSDIR)/); \ |
michaelm@1033 | 1306 | ) >> $@ |
michaelm@1033 | 1307 | |
michaelm@1033 | 1308 | # Create a file with the package names in it |
michaelm@1033 | 1309 | $(JDKNET_PACKAGES_FILE): $(DIRECTORY_CACHE) $(call PackageDependencies,$(JDKNET_PKGS)) |
michaelm@1033 | 1310 | $(prep-target) |
michaelm@1033 | 1311 | $(call PackageFilter,$(JDKNET_PKGS)) |
michaelm@1033 | 1312 | |
michaelm@1033 | 1313 | ############################################################# |
michaelm@1033 | 1314 | # |
ohair@478 | 1315 | # Get a cache of all the directories |
ohair@478 | 1316 | |
ohair@478 | 1317 | $(DIRECTORY_CACHE): $(ALL_EXISTING_SOURCE_DIRS) |
ohair@478 | 1318 | $(prep-target) |
ihse@839 | 1319 | @for cp in $(ALL_EXISTING_SOURCE_DIRS) ; do \ |
ihse@839 | 1320 | $(ECHO) "$(FIND) $${cp} -type f >> $@"; \ |
ihse@839 | 1321 | $(FIND) $${cp} -type f >> $@; \ |
ohair@478 | 1322 | done |
ohair@478 | 1323 | |
ohair@478 | 1324 | ############################################################# |
ohair@478 | 1325 | #release version of core packages ######## |
ihse@912 | 1326 | |
ihse@912 | 1327 | # The rel-coredocs and rel-docs targets were added by Eric Armstrong. rel-coredocs |
ihse@912 | 1328 | # assumes the kind of large, 32-bit machine used in the javapubs group's docs-release |
ihse@912 | 1329 | # process. It specifies memory settings accordingly to maximize performance. |
ihse@912 | 1330 | # |
ihse@912 | 1331 | # The performance settings, like the sanity check, are most important for the core |
ihse@912 | 1332 | # docs--the platform APIs. Running javadoc on those APIs takes a significant amount |
ihse@912 | 1333 | # of time and memory. Setting the initial heap size as large as possible is important |
ihse@912 | 1334 | # to prevent thrashing as the heap grows. Setting the maximum as large as necessary |
ihse@912 | 1335 | # is also important to keep the job from failing. |
ihse@912 | 1336 | # |
ihse@912 | 1337 | # -J-Xmx512 sets a maximum of 512, which became necessary in 6.0 |
ihse@912 | 1338 | # -J-Xms256 sets starting size to 256 (default is 8) |
ihse@912 | 1339 | # |
ihse@912 | 1340 | # rel-coredocs also includes a sanity check to help ensure that BUILD_NUMBER and |
ihse@912 | 1341 | # MILESTONE are specified properly when docs are built outside of the normal release |
ihse@912 | 1342 | # engineering process, with the intention of releasing them on the web or in a downloaded |
ihse@912 | 1343 | # docs bundle. (When invoked in release engineering's control build, the values are always |
ihse@912 | 1344 | # set properly. But when the targets are run by themselves, they default to b00 and |
ihse@912 | 1345 | # "internal"--which silently sabotage the result of a build that can take many hours |
ihse@912 | 1346 | # to complete. |
ihse@912 | 1347 | |
ohair@478 | 1348 | # Maximize performance and ensure that build number & milestone are set. |
ohair@478 | 1349 | |
ohair@478 | 1350 | rel-coredocs: sanitycheckcoredocs |
ohair@478 | 1351 | $(MAKE) coredocs |
ohair@478 | 1352 | |
ohair@478 | 1353 | rel-docs: rel-coredocs $(ALL_OTHER_TARGETS) |
ohair@478 | 1354 | # |
ohair@478 | 1355 | # end of production targets |
ohair@478 | 1356 | |
ohair@478 | 1357 | otherdocs: $(ALL_OTHER_TARGETS) |
ohair@478 | 1358 | |
ohair@478 | 1359 | clean: |
ohair@478 | 1360 | $(RM) -r $(DOCSDIR) $(DOCSTMPDIR) |
ohair@478 | 1361 | |
ohair@478 | 1362 | ############################################################# |
ohair@478 | 1363 | # DEBUG TARGET |
ohair@478 | 1364 | # List the values defined in the makefile hierarchy, to make sure everything |
ohair@478 | 1365 | # is set properly, and to help identify values we can use instead of making new ones. |
ohair@478 | 1366 | # (Most of them come from common/shared/Defs.gmk) |
ohair@478 | 1367 | # |
ihse@839 | 1368 | # Notes: |
ihse@839 | 1369 | # * BUILD_NUMBER defaults to b00 if not set on command line with BUILD_NUMBER=<value> |
ihse@839 | 1370 | # * MILESTONE defaults to internal unless set to beta, rc, or fcs on command line |
ohair@478 | 1371 | # |
ohair@478 | 1372 | |
ohair@478 | 1373 | ############################################################# |
ohair@478 | 1374 | .PHONY: all docs coredocs rel-docs otherdocs rel-coredocs \ |
ihse@839 | 1375 | sanitycheckcoredocs $(ALL_OTHER_TARGETS) |