author | vlivanov |
Tue, 29 Mar 2016 21:33:16 +0300 | |
changeset 36838 | d3f78fa679e2 |
parent 36506 | 17612cee3530 |
child 36792 | 09d2e1165981 |
permissions | -rw-r--r-- |
36506 | 1 |
# Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved. |
13697 | 2 |
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 |
# |
|
4 |
# This code is free software; you can redistribute it and/or modify it |
|
5 |
# under the terms of the GNU General Public License version 2 only, as |
|
6 |
# published by the Free Software Foundation. Oracle designates this |
|
7 |
# particular file as subject to the "Classpath" exception as provided |
|
8 |
# by Oracle in the LICENSE file that accompanied this code. |
|
9 |
# |
|
10 |
# This code is distributed in the hope that it will be useful, but WITHOUT |
|
11 |
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
12 |
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
13 |
# version 2 for more details (a copy is included in the LICENSE file that |
|
14 |
# accompanied this code). |
|
15 |
# |
|
16 |
# You should have received a copy of the GNU General Public License version |
|
17 |
# 2 along with this work; if not, write to the Free Software Foundation, |
|
18 |
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
|
19 |
# |
|
20 |
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
|
21 |
# or visit www.oracle.com if you need additional information or have any |
|
22 |
# questions. |
|
23 |
# |
|
24 |
||
25 |
include $(SPEC) |
|
26 |
include MakeBase.gmk |
|
27 |
||
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
28 |
################################################################# |
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
29 |
# |
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
30 |
# CORE_PKGS environment variable has been moved to the following file |
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
31 |
# |
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
32 |
include CORE_PKGS.gmk |
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
33 |
# |
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
34 |
# Load environment variables for API package names that are not part of |
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
35 |
# the Java SE platform |
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
36 |
# |
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
37 |
include NON_CORE_PKGS.gmk |
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
38 |
|
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
39 |
|
13697 | 40 |
.SUFFIXES: # Delete the default suffixes |
41 |
.SUFFIXES: .java |
|
42 |
||
43 |
# |
|
25854 | 44 |
# Definitions for directories |
13697 | 45 |
# |
46 |
||
27560 | 47 |
DOCSDIR := $(IMAGES_OUTPUTDIR)/docs |
48 |
DOCSTMPDIR = $(SUPPORT_OUTPUTDIR)/docs |
|
13697 | 49 |
|
50 |
HOTSPOT_DOCS_IMPORT_PATH=$(HOTSPOT_OUTPUTDIR)/docs |
|
51 |
||
15393
e3761cf4e010
8006872: Stop creating four jars with identical content in the new build system.
ohrstrom
parents:
15172
diff
changeset
|
52 |
JAVADOC_CMD = $(JAVA) \ |
20363 | 53 |
-Djava.awt.headless=true \ |
28010
2d111f17cbb4
8067829: Remove setting -bootclasspath $(JDK_OUTPUTDIR)/classes from Javadoc.gmk
mchung
parents:
28007
diff
changeset
|
54 |
$(NEW_JAVADOC) |
13697 | 55 |
|
29176
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
56 |
JAVADOC_CMD_SMALL = $(JAVA_SMALL) \ |
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
57 |
-Djava.awt.headless=true \ |
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
58 |
$(NEW_JAVADOC) |
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
59 |
|
13697 | 60 |
# Copyright year for beginning of Java and some of the apis |
20363 | 61 |
# (Needed when creating the javadocs) |
62 |
FIRST_COPYRIGHT_YEAR = 1993 |
|
63 |
DOMAPI_FIRST_COPYRIGHT_YEAR = 2005 |
|
64 |
MIRROR_FIRST_COPYRIGHT_YEAR = 2004 |
|
65 |
DOCLETAPI_FIRST_COPYRIGHT_YEAR = 1993 |
|
66 |
TAGLETAPI_FIRST_COPYRIGHT_YEAR = 1993 |
|
67 |
JDI_FIRST_COPYRIGHT_YEAR = 1999 |
|
68 |
JAAS_FIRST_COPYRIGHT_YEAR = 1998 |
|
69 |
JGSS_FIRST_COPYRIGHT_YEAR = 2000 |
|
70 |
SMARTCARDIO_FIRST_COPYRIGHT_YEAR = 2005 |
|
71 |
HTTPSERVER_FIRST_COPYRIGHT_YEAR = 2005 |
|
72 |
MGMT_FIRST_COPYRIGHT_YEAR = 2003 |
|
73 |
ATTACH_FIRST_COPYRIGHT_YEAR = 2005 |
|
74 |
JCONSOLE_FIRST_COPYRIGHT_YEAR = 2006 |
|
75 |
SCTPAPI_FIRST_COPYRIGHT_YEAR = 2009 |
|
76 |
TRACING_FIRST_COPYRIGHT_YEAR = 2008 |
|
77 |
TREEAPI_FIRST_COPYRIGHT_YEAR = 2005 |
|
27596
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
78 |
NASHORNAPI_FIRST_COPYRIGHT_YEAR = 2014 |
35369
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
79 |
DYNALINKAPI_FIRST_COPYRIGHT_YEAR = 2015 |
20363 | 80 |
JNLP_FIRST_COPYRIGHT_YEAR = 1998 |
81 |
PLUGIN2_FIRST_COPYRIGHT_YEAR = 2007 |
|
23836
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
82 |
JDKNET_FIRST_COPYRIGHT_YEAR = 2014 |
29851
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
83 |
JACCESSAPI_FIRST_COPYRIGHT_YEAR = 2002 |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
84 |
|
13697 | 85 |
|
86 |
# Oracle name |
|
87 |
FULL_COMPANY_NAME = Oracle and/or its affiliates |
|
88 |
||
89 |
# Copyright address |
|
90 |
COMPANY_ADDRESS = 500 Oracle Parkway<br>Redwood Shores, CA 94065 USA. |
|
91 |
||
92 |
# The trademark symbol |
|
93 |
TRADEMARK = ™ |
|
94 |
||
95 |
# Common copyright lines used |
|
20363 | 96 |
# The word "Copyright" might optionally be a link to the file cpyr.html. |
97 |
# The first year of copyright may vary or not be available. |
|
98 |
# The address to the company might be optional. |
|
13697 | 99 |
COMMA:= , |
100 |
EMPTY:= |
|
101 |
SPACE:=$(EMPTY) $(EMPTY) |
|
102 |
COPYRIGHT_SYMBOL = &\#x00a9; |
|
103 |
# Macro to construct the copyright line |
|
20363 | 104 |
# (The GNU make 3.78.1 "if" conditional is broken, fixed in GNU make 3.81) |
13697 | 105 |
define CopyrightLine # optionalurl optionalfirstyear optionaladdress |
106 |
$(if $(strip $1),<a href="$(strip $1)">Copyright</a>,Copyright) \ |
|
107 |
$(COPYRIGHT_SYMBOL) $(if $2,$2${COMMA},) $(COPYRIGHT_YEAR),\ |
|
108 |
$(FULL_COMPANY_NAME). $3 All rights reserved. |
|
109 |
endef |
|
110 |
||
111 |
# Url to root of documents |
|
112 |
DOCSDIR_URL = {@docroot}/$(GET2DOCSDIR) |
|
113 |
||
114 |
# Url to copyright html file |
|
24232
ddfae175a8d2
8042348: Copyright link in Javadoc page for Java SE 8
erikj
parents:
23986
diff
changeset
|
115 |
COPYRIGHT_URL = $(DOCSDIR_URL)/legal/cpyr.html |
13697 | 116 |
|
117 |
# Url to bug filing site |
|
25043
b5598c2ddf6f
8048302: Update bug reporting URL in make/Javadoc.gmk
darcy
parents:
24232
diff
changeset
|
118 |
BUG_SUBMIT_URL = http://bugreport.java.com/bugreport/ |
13697 | 119 |
|
120 |
# Common line for how to submit a bug or rfe |
|
121 |
BUG_SUBMIT_LINE = <a href="$(BUG_SUBMIT_URL)">Submit a bug or feature</a> |
|
122 |
||
123 |
# Url to devdocs page |
|
33926
3a19edba4808
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30416
diff
changeset
|
124 |
DOCS_BASE_URL = http://docs.oracle.com/javase/$(VERSION_SPECIFICATION)/docs |
3a19edba4808
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30416
diff
changeset
|
125 |
DEV_DOCS_URL = $(DOCS_BASE_URL)/index.html |
13697 | 126 |
|
127 |
# Common Java trademark line |
|
128 |
JAVA_TRADEMARK_LINE = Java is a trademark or registered trademark of \ |
|
129 |
$(FULL_COMPANY_NAME) in the US and other countries. |
|
130 |
||
131 |
################################################################# |
|
132 |
# Macros: |
|
133 |
||
134 |
||
135 |
# List of all possible directories for javadoc to look for sources |
|
20363 | 136 |
# NOTE: Quotes are required around sourcepath argument only on Windows. |
137 |
# Otherwise, you get "No packages or classes specified." due |
|
138 |
# to $(PATH_SEP) being interpreted as an end of |
|
139 |
# command (newline or shell ; character) |
|
25854 | 140 |
ALL_SOURCE_DIRS := $(wildcard \ |
36506 | 141 |
$(SUPPORT_OUTPUTDIR)/gensrc/j* \ |
142 |
$(if $(IMPORT_MODULES_SRC), $(IMPORT_MODULES_SRC)/*) \ |
|
27586
e7cfdc266a70
8058631: Rename posix to unix in build system to match file name changes
ihse
parents:
27328
diff
changeset
|
143 |
$(JDK_TOPDIR)/src/*/$(OPENJDK_TARGET_OS)/classes \ |
e7cfdc266a70
8058631: Rename posix to unix in build system to match file name changes
ihse
parents:
27328
diff
changeset
|
144 |
$(JDK_TOPDIR)/src/*/$(OPENJDK_TARGET_OS_TYPE)/classes \ |
36506 | 145 |
$(JDK_TOPDIR)/src/*/share/classes \ |
146 |
$(HOTSPOT_TOPDIR)/src/*/share/classes \ |
|
25854 | 147 |
$(LANGTOOLS_TOPDIR)/src/*/share/classes \ |
27596
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
148 |
$(NASHORN_TOPDIR)/src/*/share/classes \ |
25854 | 149 |
$(CORBA_TOPDIR)/src/*/share/classes \ |
150 |
$(JAXP_TOPDIR)/src/*/share/classes \ |
|
151 |
$(JAXWS_TOPDIR)/src/*/share/classes \ |
|
27560 | 152 |
$(SUPPORT_OUTPUTDIR)/rmic/j* \ |
25854 | 153 |
$(JDK_TOPDIR)/src/*/share/doc/stub \ |
154 |
) \ |
|
155 |
# |
|
13697 | 156 |
|
36506 | 157 |
ALL_MODULE_SOURCE_DIRS := \ |
158 |
$(SUPPORT_OUTPUTDIR)/gensrc/* \ |
|
159 |
$(if $(IMPORT_MODULES_SRC), $(IMPORT_MODULES_SRC)/*) \ |
|
160 |
$(JDK_TOPDIR)/src/*/$(OPENJDK_TARGET_OS)/classes \ |
|
161 |
$(JDK_TOPDIR)/src/*/$(OPENJDK_TARGET_OS_TYPE)/classes \ |
|
162 |
$(JDK_TOPDIR)/src/*/share/classes \ |
|
163 |
$(HOTSPOT_TOPDIR)/src/*/share/classes \ |
|
164 |
$(LANGTOOLS_TOPDIR)/src/*/share/classes \ |
|
165 |
$(NASHORN_TOPDIR)/src/*/share/classes \ |
|
166 |
$(CORBA_TOPDIR)/src/*/share/classes \ |
|
167 |
$(JAXP_TOPDIR)/src/*/share/classes \ |
|
168 |
$(JAXWS_TOPDIR)/src/*/share/classes \ |
|
169 |
$(SUPPORT_OUTPUTDIR)/rmic/* \ |
|
170 |
$(JDK_TOPDIR)/src/*/share/doc/stub \ |
|
171 |
# |
|
172 |
||
173 |
||
13697 | 174 |
# List with classpath separator between them |
175 |
EMPTY:= |
|
176 |
SPACE:= $(EMPTY) $(EMPTY) |
|
177 |
RELEASEDOCS_SOURCEPATH = \ |
|
15052 | 178 |
$(subst $(SPACE),$(PATH_SEP),$(strip $(ALL_SOURCE_DIRS))) |
13697 | 179 |
|
36506 | 180 |
RELEASEDOCS_MODULESOURCEPATH = \ |
181 |
$(subst $(SPACE),$(PATH_SEP),$(strip $(ALL_MODULE_SOURCE_DIRS))) |
|
182 |
||
13697 | 183 |
define prep-target |
20363 | 184 |
$(MKDIR) -p $(@D) |
185 |
$(RM) $@ |
|
13697 | 186 |
endef |
187 |
||
188 |
# Prep for javadoc creation, assumes $@ is an index.html file |
|
189 |
define prep-javadoc |
|
20363 | 190 |
@if [ -f "$@" -a "$?" != "" ] ; then \ |
191 |
$(ECHO) "# Dependencies have changed: $?"; \ |
|
192 |
fi |
|
193 |
$(RM) -r $(@D) |
|
194 |
$(MKDIR) -p $(@D) |
|
13697 | 195 |
endef |
196 |
||
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
197 |
$(eval $(call FillCacheFind, $(ALL_SOURCE_DIRS))) |
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
198 |
define PackageDependencies |
25854 | 199 |
$(call CacheFind, $(wildcard $(foreach p, $(subst .,/,$1), $(addsuffix /$p, $(ALL_SOURCE_DIRS))))) |
13697 | 200 |
endef |
201 |
||
202 |
# Given a list of packages, add packages that exist to $@, print summary |
|
203 |
define PackageFilter # packages |
|
20363 | 204 |
@if [ "$1" != "" ] ; then \ |
205 |
for p in $1 ; do \ |
|
206 |
pd=`$(ECHO) $${p} | $(SED) -e 's@[.]@/@g'`; \ |
|
207 |
found="false"; \ |
|
208 |
for cp in $(ALL_SOURCE_DIRS) ; do \ |
|
209 |
if [ -d $${cp}/$${pd} ] ; then \ |
|
210 |
$(ECHO) "$${p}" >> $@; \ |
|
211 |
found="true"; \ |
|
212 |
break; \ |
|
213 |
fi; \ |
|
214 |
done; \ |
|
215 |
if [ "$${found}" = "false" ] ; then \ |
|
216 |
$(ECHO) "WARNING: Package not found: $${p}"; \ |
|
217 |
fi; \ |
|
218 |
done; \ |
|
219 |
fi |
|
13697 | 220 |
endef |
221 |
||
222 |
# Print out a summary of the javadoc command about to be run |
|
223 |
define JavadocSummary # optionsfile packagesfile |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
224 |
@$(ECHO) "# Running javadoc for $(patsubst $(OUTPUT_ROOT)/%,%,$@)" $(LOG_WARN) |
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
225 |
@($(ECHO) "# Options (`$(BASENAME) $1`):"; $(SED) -e 's@^@# @' $1) $(LOG_DEBUG) |
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
226 |
@($(ECHO) "# Packages (`$(BASENAME) $2`):";$(SED) -e 's@^@# @' $2) $(LOG_DEBUG) |
13697 | 227 |
endef |
228 |
||
229 |
# |
|
230 |
# Different api directories created from root directory |
|
231 |
# |
|
20363 | 232 |
COREAPI_DOCSDIR = $(DOCSDIR)/api |
233 |
JDK_API_DOCSDIR = $(DOCSDIR)/jdk/api |
|
234 |
JRE_API_DOCSDIR = $(DOCSDIR)/jre/api |
|
235 |
PLATFORM_DOCSDIR = $(DOCSDIR)/platform |
|
13697 | 236 |
|
35817 | 237 |
# The core api index file is the target for the core api javadocs rule |
238 |
# and needs to be defined early so that all other javadoc rules may |
|
239 |
# depend on it. |
|
240 |
COREAPI_INDEX_FILE = $(COREAPI_DOCSDIR)/index.html |
|
241 |
||
13697 | 242 |
# The non-core api javadocs need to be able to access the root of the core |
20363 | 243 |
# api directory, so for jdk/api or jre/api to get to the core api/ |
244 |
# directory we would use this: |
|
245 |
JDKJRE2COREAPI = ../../api |
|
13697 | 246 |
|
247 |
# Common bottom argument |
|
248 |
define CommonBottom # year |
|
249 |
<font size="-1"><br> $(call CopyrightLine,,$1,)</font> |
|
250 |
endef |
|
251 |
||
252 |
# Common trademark bottom argument (Not sure why this is used sometimes) |
|
253 |
define CommonTrademarkBottom # year |
|
254 |
<font size="-1">\ |
|
255 |
$(BUG_SUBMIT_LINE)<br>$(JAVA_TRADEMARK_LINE)<br>\ |
|
256 |
$(call CopyrightLine,,$1,$(COMPANY_ADDRESS))\ |
|
257 |
</font> |
|
258 |
endef |
|
259 |
||
260 |
# Common echo of option |
|
261 |
define OptionOnly # opt |
|
28007
877ab0d032b8
8066138: Trailing whitespace in title of javadoc: Overview (Java Platform SE 7 )
alundblad
parents:
27602
diff
changeset
|
262 |
if [ "$(strip $1)" != "" ] ; then \ |
877ab0d032b8
8066138: Trailing whitespace in title of javadoc: Overview (Java Platform SE 7 )
alundblad
parents:
27602
diff
changeset
|
263 |
$(PRINTF) "%s\n" "$(strip $1)"; \ |
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
264 |
fi |
13697 | 265 |
endef |
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
266 |
|
13697 | 267 |
define OptionPair # opt arg |
28007
877ab0d032b8
8066138: Trailing whitespace in title of javadoc: Overview (Java Platform SE 7 )
alundblad
parents:
27602
diff
changeset
|
268 |
$(PRINTF) "%s '%s'\n" "$(strip $1)" '$(strip $2)' |
13697 | 269 |
endef |
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
270 |
|
13697 | 271 |
define OptionTrip # opt arg arg |
28007
877ab0d032b8
8066138: Trailing whitespace in title of javadoc: Overview (Java Platform SE 7 )
alundblad
parents:
27602
diff
changeset
|
272 |
$(PRINTF) "%s '%s' '%s'\n" "$(strip $1)" '$(strip $2)' '$(strip $3)' |
13697 | 273 |
endef |
274 |
||
275 |
# Core api bottom argument (with special sauce) |
|
276 |
COREAPI_BOTTOM = <font size="-1"> $(BUG_SUBMIT_LINE)\ |
|
277 |
<br>For further API reference and developer documentation, \ |
|
278 |
see <a href="$(DEV_DOCS_URL)" target="_blank">Java SE Documentation</a>. \ |
|
279 |
That documentation contains more detailed, developer-targeted descriptions, \ |
|
280 |
with conceptual overviews, definitions of terms, workarounds, \ |
|
281 |
and working code examples.<br>\ |
|
282 |
$(call CopyrightLine,$(COPYRIGHT_URL),$(FIRST_COPYRIGHT_YEAR),)\ |
|
283 |
</font> |
|
284 |
||
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
285 |
# Common javadoc options used by all bundles |
13697 | 286 |
|
287 |
ifdef OPENJDK |
|
20363 | 288 |
ADDITIONAL_JAVADOCFLAGS = \ |
289 |
-Xdocrootparent $(DOCS_BASE_URL) |
|
13697 | 290 |
else |
291 |
ADDITIONAL_JAVADOCFLAGS = |
|
292 |
endif |
|
293 |
||
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
294 |
define COMMON_JAVADOCFLAGS |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
295 |
$(call OptionOnly,-XDignore.symbol.file=true) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
296 |
$(call OptionOnly,-quiet) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
297 |
$(call OptionOnly,-use) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
298 |
$(call OptionOnly,-keywords) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
299 |
$(call OptionOnly,$(ADDITIONAL_JAVADOCFLAGS)) |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
300 |
endef |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
301 |
|
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
302 |
# Common javadoc tags used by all bundles |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
303 |
|
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
304 |
# Java language specification cite |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
305 |
TAG_JLS = jls:a:See <cite> \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
306 |
The Java™ Language Specification</cite>: |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
307 |
|
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
308 |
# Java virtual machine specification cite |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
309 |
TAG_JVMS = jvms:a:See <cite> \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
310 |
The Java™ Virtual Machine Specification</cite>: |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
311 |
|
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
312 |
# In order to get a specific ordering it's necessary to specify the total |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
313 |
# ordering of tags as the tags are otherwise ordered in order of definition. |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
314 |
define COMMON_JAVADOCTAGS |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
315 |
$(call OptionPair,-tag,beaninfo:X) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
316 |
$(call OptionPair,-tag,revised:X) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
317 |
$(call OptionPair,-tag,since.unbundled:X) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
318 |
$(call OptionPair,-tag,spec:X) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
319 |
$(call OptionPair,-tag,specdefault:X) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
320 |
$(call OptionPair,-tag,Note:X) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
321 |
$(call OptionPair,-tag,ToDo:X) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
322 |
$(call OptionPair,-tag,apiNote:a:API Note:) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
323 |
$(call OptionPair,-tag,implSpec:a:Implementation Requirements:) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
324 |
$(call OptionPair,-tag,implNote:a:Implementation Note:) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
325 |
$(call OptionPair,-tag,param) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
326 |
$(call OptionPair,-tag,return) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
327 |
$(call OptionPair,-tag,throws) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
328 |
$(call OptionPair,-tag,since) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
329 |
$(call OptionPair,-tag,version) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
330 |
$(call OptionPair,-tag,serialData) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
331 |
$(call OptionPair,-tag,factory) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
332 |
$(call OptionPair,-tag,see) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
333 |
$(call OptionPair,-tag,$(TAG_JVMS)) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
334 |
$(call OptionPair,-tag,$(TAG_JLS)) |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
335 |
endef |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
336 |
|
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
337 |
|
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
338 |
|
33929 | 339 |
# Assume we need a draft format when the version string is not a GA version. |
340 |
ifeq ($(VERSION_IS_GA), false) |
|
33926
3a19edba4808
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30416
diff
changeset
|
341 |
DRAFT_HEADER := <br><strong>DRAFT $(VERSION_STRING)</strong> |
3a19edba4808
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30416
diff
changeset
|
342 |
DRAFT_BOTTOM := <br><strong>DRAFT $(VERSION_STRING)</strong> |
3a19edba4808
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30416
diff
changeset
|
343 |
DRAFT_WINTITLE := $(VERSION_BUILD) |
20363 | 344 |
# Early access top text (not used in FCS releases) |
33926
3a19edba4808
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30416
diff
changeset
|
345 |
COREAPI_TOP_EARLYACCESS := \ |
13697 | 346 |
<div style="background-color: \#EEEEEE"> \ |
347 |
<div style="padding: 6px; margin-top: 2px; margin-bottom: 6px; \ |
|
348 |
margin-left: 6px; margin-right: 6px; text-align: justify; \ |
|
349 |
font-size: 80%; font-family: Helvetica, Arial, sans-serif; \ |
|
350 |
font-weight: normal;"> \ |
|
351 |
Please note that the specifications and other information \ |
|
352 |
contained herein are not final and are subject to change. \ |
|
353 |
The information is being made available to you solely for purpose of \ |
|
354 |
evaluation. \ |
|
355 |
</div> </div> |
|
33926
3a19edba4808
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30416
diff
changeset
|
356 |
else |
3a19edba4808
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30416
diff
changeset
|
357 |
DRAFT_HEADER := |
3a19edba4808
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30416
diff
changeset
|
358 |
DRAFT_BOTTOM := |
3a19edba4808
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30416
diff
changeset
|
359 |
DRAFT_WINTITLE := |
3a19edba4808
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30416
diff
changeset
|
360 |
COREAPI_TOP_EARLYACCESS := |
13697 | 361 |
endif |
362 |
||
363 |
################################################################# |
|
364 |
||
365 |
# |
|
27328 | 366 |
# Load custom Javadoc rules |
367 |
# |
|
368 |
||
369 |
$(eval $(call IncludeCustomExtension, , Javadoc.gmk)) |
|
370 |
||
371 |
################################################################# |
|
372 |
||
373 |
# |
|
13697 | 374 |
# Default target is same as docs target, create core api and all others it can |
375 |
# |
|
376 |
||
377 |
all: docs |
|
378 |
docs: coredocs otherdocs |
|
379 |
||
380 |
############################################################# |
|
381 |
# |
|
382 |
# coredocs |
|
383 |
# |
|
20363 | 384 |
COREAPI_DOCTITLE = Java$(TRADEMARK) Platform, Standard Edition \ |
33926
3a19edba4808
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30416
diff
changeset
|
385 |
$(VERSION_SPECIFICATION)<br>API Specification |
3a19edba4808
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30416
diff
changeset
|
386 |
COREAPI_WINDOWTITLE = Java Platform SE $(VERSION_SPECIFICATION) |
13697 | 387 |
COREAPI_HEADER = \ |
33926
3a19edba4808
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30416
diff
changeset
|
388 |
<strong>Java$(TRADEMARK) Platform<br>Standard Ed. $(VERSION_SPECIFICATION)</strong> |
13697 | 389 |
|
390 |
# Overview file for core apis |
|
25854 | 391 |
COREAPI_OVERVIEW = $(JDK_TOPDIR)/src/java.base/share/classes/overview-core.html |
13697 | 392 |
|
35817 | 393 |
# The options and packages files |
20363 | 394 |
COREAPI_OPTIONS_FILE = $(DOCSTMPDIR)/coredocs.options |
13697 | 395 |
COREAPI_PACKAGES_FILE = $(DOCSTMPDIR)/coredocs.packages |
396 |
||
36506 | 397 |
# The modules required to be documented |
398 |
COREAPI_MODULES = java.se.ee |
|
399 |
||
13697 | 400 |
coredocs: $(COREAPI_INDEX_FILE) |
401 |
||
402 |
# Set relative location to core api document root |
|
403 |
$(COREAPI_INDEX_FILE): GET2DOCSDIR=.. |
|
404 |
||
405 |
# Run javadoc if the index file is out of date or missing |
|
406 |
$(COREAPI_INDEX_FILE): $(COREAPI_OPTIONS_FILE) $(COREAPI_PACKAGES_FILE) |
|
407 |
$(prep-javadoc) |
|
408 |
$(call JavadocSummary,$(COREAPI_OPTIONS_FILE),$(COREAPI_PACKAGES_FILE)) |
|
409 |
$(JAVADOC_CMD) -d $(@D) \ |
|
20363 | 410 |
@$(COREAPI_OPTIONS_FILE) @$(COREAPI_PACKAGES_FILE) |
13697 | 411 |
|
412 |
# Create file with javadoc options in it |
|
413 |
$(COREAPI_OPTIONS_FILE): $(COREAPI_OVERVIEW) |
|
414 |
$(prep-target) |
|
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
415 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
416 |
$(call COMMON_JAVADOCTAGS) ; \ |
31567
626eeea487f8
8080722: Revisit how to check for doclint reference warning during the build
darcy
parents:
30416
diff
changeset
|
417 |
$(call OptionOnly,-Xdoclint:reference) ; \ |
626eeea487f8
8080722: Revisit how to check for doclint reference warning during the build
darcy
parents:
30416
diff
changeset
|
418 |
$(call OptionOnly,-Xdoclint/package:-org.omg.*) ; \ |
36506 | 419 |
$(call OptionPair,-system,none) ; \ |
420 |
$(call OptionPair,-modulesourcepath,$(RELEASEDOCS_MODULESOURCEPATH)) ; \ |
|
421 |
$(call OptionPair,-addmods,$(COREAPI_MODULES)) ; \ |
|
20363 | 422 |
$(call OptionPair,-encoding,ISO-8859-1) ; \ |
423 |
$(call OptionOnly,-splitIndex) ; \ |
|
424 |
$(call OptionPair,-overview,$(COREAPI_OVERVIEW)) ; \ |
|
425 |
$(call OptionPair,-doctitle,$(COREAPI_DOCTITLE)) ; \ |
|
426 |
$(call OptionPair,-windowtitle,$(COREAPI_WINDOWTITLE) $(DRAFT_WINTITLE)) ; \ |
|
427 |
$(call OptionPair,-header,$(COREAPI_HEADER)$(DRAFT_HEADER)) ; \ |
|
428 |
$(call OptionPair,-bottom,$(COREAPI_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
|
429 |
) >> $@ |
|
430 |
ifdef COREAPI_TOP_EARLYACCESS |
|
431 |
@$(call OptionPair,-top,$(COREAPI_TOP_EARLYACCESS)) >> $@ |
|
432 |
endif |
|
13697 | 433 |
|
434 |
# Create a file with the package names in it |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
435 |
$(COREAPI_PACKAGES_FILE): $(call PackageDependencies,$(CORE_PKGS)) |
13697 | 436 |
$(prep-target) |
437 |
$(call PackageFilter,$(CORE_PKGS)) |
|
438 |
||
439 |
############################################################# |
|
440 |
# |
|
441 |
# docletapidocs |
|
442 |
# |
|
443 |
||
444 |
ALL_OTHER_TARGETS += docletapidocs |
|
445 |
||
20363 | 446 |
DOCLETAPI_DOCDIR := $(JDK_API_DOCSDIR)/javadoc/doclet |
447 |
DOCLETAPI2COREAPI := ../../$(JDKJRE2COREAPI) |
|
448 |
DOCLETAPI_DOCTITLE := Doclet API |
|
449 |
DOCLETAPI_WINDOWTITLE := Doclet API |
|
450 |
DOCLETAPI_HEADER := <strong>Doclet API</strong> |
|
451 |
DOCLETAPI_BOTTOM := $(call CommonTrademarkBottom,$(DOCLETAPI_FIRST_COPYRIGHT_YEAR)) |
|
452 |
DOCLETAPI_GROUPNAME := Packages |
|
35367
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
453 |
DOCLETAPI_REGEXP := jdk.javadoc.doclet.* |
13697 | 454 |
# DOCLETAPI_PKGS is located in NON_CORE_PKGS.gmk |
455 |
||
456 |
# The index.html, options, and packages files |
|
20363 | 457 |
DOCLETAPI_INDEX_FILE = $(DOCLETAPI_DOCDIR)/index.html |
458 |
DOCLETAPI_OPTIONS_FILE = $(DOCSTMPDIR)/docletapi.options |
|
13697 | 459 |
DOCLETAPI_PACKAGES_FILE = $(DOCSTMPDIR)/docletapi.packages |
460 |
||
36506 | 461 |
# The modules required to be documented |
462 |
DOCLETAPI_MODULES = jdk.javadoc |
|
463 |
||
13697 | 464 |
docletapidocs: $(DOCLETAPI_INDEX_FILE) |
465 |
||
466 |
# Set relative location to core api document root |
|
467 |
$(DOCLETAPI_INDEX_FILE): GET2DOCSDIR=$(DOCLETAPI2COREAPI)/.. |
|
468 |
||
469 |
# Run javadoc if the index file is out of date or missing |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
470 |
$(DOCLETAPI_INDEX_FILE): $(DOCLETAPI_OPTIONS_FILE) $(DOCLETAPI_PACKAGES_FILE) $(COREAPI_INDEX_FILE) |
13697 | 471 |
$(prep-javadoc) |
472 |
$(call JavadocSummary,$(DOCLETAPI_OPTIONS_FILE),$(DOCLETAPI_PACKAGES_FILE)) |
|
29176
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
473 |
$(JAVADOC_CMD_SMALL) -d $(@D) \ |
20363 | 474 |
@$(DOCLETAPI_OPTIONS_FILE) @$(DOCLETAPI_PACKAGES_FILE) |
13697 | 475 |
|
476 |
# Create file with javadoc options in it |
|
477 |
$(DOCLETAPI_OPTIONS_FILE): |
|
478 |
$(prep-target) |
|
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
479 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
480 |
$(call COMMON_JAVADOCTAGS) ; \ |
25043
b5598c2ddf6f
8048302: Update bug reporting URL in make/Javadoc.gmk
darcy
parents:
24232
diff
changeset
|
481 |
$(call OptionOnly,-Xdoclint:all) ; \ |
36506 | 482 |
$(call OptionPair,-system,none) ; \ |
483 |
$(call OptionPair,-modulesourcepath,$(RELEASEDOCS_MODULESOURCEPATH)) ; \ |
|
484 |
$(call OptionPair,-addmods,$(DOCLETAPI_MODULES)) ; \ |
|
20363 | 485 |
$(call OptionPair,-encoding,ascii) ; \ |
486 |
$(call OptionOnly,-breakiterator) ; \ |
|
487 |
$(call OptionPair,-doctitle,$(DOCLETAPI_DOCTITLE)) ; \ |
|
488 |
$(call OptionPair,-windowtitle,$(DOCLETAPI_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
|
489 |
$(call OptionPair,-header,$(DOCLETAPI_HEADER)$(DRAFT_HEADER)) ; \ |
|
490 |
$(call OptionPair,-bottom,$(DOCLETAPI_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
|
13697 | 491 |
$(call OptionTrip,-group,$(DOCLETAPI_GROUPNAME),$(DOCLETAPI_REGEXP)); \ |
492 |
$(call OptionTrip,-linkoffline,$(DOCLETAPI2COREAPI),$(COREAPI_DOCSDIR)/); \ |
|
20363 | 493 |
) >> $@ |
13697 | 494 |
|
495 |
# Create a file with the package names in it |
|
27595
cff167b3bfa2
8065914: Various improvements and cleanup of build system
ihse
parents:
27586
diff
changeset
|
496 |
$(DOCLETAPI_PACKAGES_FILE): $(call PackageDependencies,$(DOCLETAPI_PKGS)) |
13697 | 497 |
$(prep-target) |
498 |
$(call PackageFilter,$(DOCLETAPI_PKGS)) |
|
499 |
||
500 |
############################################################# |
|
501 |
# |
|
35367
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
502 |
# old docletapidocs |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
503 |
# |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
504 |
|
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
505 |
ALL_OTHER_TARGETS += olddocletapidocs |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
506 |
|
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
507 |
OLD_DOCLET_DIR := $(JDK_API_DOCSDIR)/javadoc/old |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
508 |
OLD_DOCLETAPI_DOCDIR := $(OLD_DOCLET_DIR)/doclet |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
509 |
OLD_DOCLETAPI2COREAPI := ../../../$(JDKJRE2COREAPI) |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
510 |
OLD_DOCLETAPI_DOCTITLE := Doclet API |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
511 |
OLD_DOCLETAPI_WINDOWTITLE := Doclet API |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
512 |
OLD_DOCLETAPI_HEADER := <strong>Doclet API</strong> |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
513 |
OLD_DOCLETAPI_BOTTOM := $(call CommonTrademarkBottom,$(DOCLETAPI_FIRST_COPYRIGHT_YEAR)) |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
514 |
OLD_DOCLETAPI_GROUPNAME := Packages |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
515 |
OLD_DOCLETAPI_REGEXP := com.sun.javadoc |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
516 |
# OLD_DOCLETAPI_PKGS is located in NON_CORE_PKGS.gmk |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
517 |
|
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
518 |
# The index.html, options, and packages files |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
519 |
OLD_DOCLETAPI_INDEX_FILE = $(OLD_DOCLETAPI_DOCDIR)/index.html |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
520 |
OLD_DOCLETAPI_OPTIONS_FILE = $(DOCSTMPDIR)/old-docletapi.options |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
521 |
OLD_DOCLETAPI_PACKAGES_FILE = $(DOCSTMPDIR)/old-docletapi.packages |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
522 |
|
36506 | 523 |
# The modules required to be documented |
524 |
OLD_DOCLETAPI_MODULES = jdk.javadoc |
|
525 |
||
35367
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
526 |
olddocletapidocs: $(OLD_DOCLETAPI_INDEX_FILE) |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
527 |
|
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
528 |
# Set relative location to core api document root |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
529 |
$(OLD_DOCLETAPI_INDEX_FILE): GET2DOCSDIR=$(OLD_DOCLETAPI2COREAPI)/.. |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
530 |
|
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
531 |
# Run javadoc if the index file is out of date or missing |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
532 |
$(OLD_DOCLETAPI_INDEX_FILE): $(OLD_DOCLETAPI_OPTIONS_FILE) $(OLD_DOCLETAPI_PACKAGES_FILE) $(COREAPI_INDEX_FILE) |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
533 |
$(prep-javadoc) |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
534 |
$(call JavadocSummary,$(OLD_DOCLETAPI_OPTIONS_FILE),$(OLD_DOCLETAPI_PACKAGES_FILE)) |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
535 |
$(JAVADOC_CMD_SMALL) -d $(@D) \ |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
536 |
@$(OLD_DOCLETAPI_OPTIONS_FILE) @$(OLD_DOCLETAPI_PACKAGES_FILE) |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
537 |
|
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
538 |
# Create file with javadoc options in it |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
539 |
$(OLD_DOCLETAPI_OPTIONS_FILE): |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
540 |
$(prep-target) |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
541 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
542 |
$(call COMMON_JAVADOCTAGS) ; \ |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
543 |
$(call OptionOnly,-Xdoclint:all) ; \ |
36506 | 544 |
$(call OptionPair,-system,none) ; \ |
545 |
$(call OptionPair,-modulesourcepath,$(RELEASEDOCS_MODULESOURCEPATH)) ; \ |
|
546 |
$(call OptionPair,-addmods,$(OLD_DOCLETAPI_MODULES)) ; \ |
|
35367
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
547 |
$(call OptionPair,-encoding,ascii) ; \ |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
548 |
$(call OptionOnly,-breakiterator) ; \ |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
549 |
$(call OptionPair,-doctitle,$(OLD_DOCLETAPI_DOCTITLE)) ; \ |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
550 |
$(call OptionPair,-windowtitle,$(OLD_DOCLETAPI_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
551 |
$(call OptionPair,-header,$(OLD_DOCLETAPI_HEADER)$(DRAFT_HEADER)) ; \ |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
552 |
$(call OptionPair,-bottom,$(OLD_DOCLETAPI_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
553 |
$(call OptionTrip,-group,$(OLD_DOCLETAPI_GROUPNAME),$(OLD_DOCLETAPI_REGEXP)); \ |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
554 |
$(call OptionTrip,-linkoffline,$(OLD_DOCLETAPI2COREAPI),$(COREAPI_DOCSDIR)/); \ |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
555 |
) >> $@ |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
556 |
|
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
557 |
# Create a file with the package names in it |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
558 |
$(OLD_DOCLETAPI_PACKAGES_FILE): $(call PackageDependencies,$(OLD_DOCLETAPI_PKGS)) |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
559 |
$(prep-target) |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
560 |
$(call PackageFilter,$(OLD_DOCLETAPI_PKGS)) |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
561 |
|
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
562 |
############################################################# |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
563 |
# |
13697 | 564 |
# tagletapidocs |
565 |
# |
|
566 |
||
567 |
ALL_OTHER_TARGETS += tagletapidocs |
|
35367
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
568 |
TAGLETAPI_DOCDIR := $(OLD_DOCLET_DIR)/taglet |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
569 |
TAGLETAPI2COREAPI := ../../../$(JDKJRE2COREAPI) |
20363 | 570 |
TAGLETAPI_BOTTOM := $(call CommonTrademarkBottom,$(TAGLETAPI_FIRST_COPYRIGHT_YEAR)) |
13697 | 571 |
# TAGLETAPI_FILE is located in NON_CORE_PKGS.gmk |
572 |
||
573 |
# Temporary directory (special generation rules) |
|
20363 | 574 |
TAGLETAPI_TEMPDIR = $(DOCSTMPDIR)/taglets_temp |
13697 | 575 |
|
576 |
# The index.html, options, and packages files |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
577 |
TAGLETAPI_INDEX_FILE = $(TAGLETAPI_DOCDIR)/com/sun/tools/doclets/Taglet.html |
20363 | 578 |
TAGLETAPI_OPTIONS_FILE = $(DOCSTMPDIR)/tagletapi.options |
13697 | 579 |
TAGLETAPI_PACKAGES_FILE = $(DOCSTMPDIR)/tagletapi.packages |
580 |
||
36506 | 581 |
# The modules required to be documented |
582 |
TAGLETAPI_MODULES = jdk.javadoc |
|
583 |
||
13697 | 584 |
tagletapidocs: $(TAGLETAPI_INDEX_FILE) |
585 |
||
586 |
# Set relative location to core api document root |
|
587 |
$(TAGLETAPI_INDEX_FILE): GET2DOCSDIR=$(TAGLETAPI2COREAPI)/.. |
|
588 |
||
589 |
# Run javadoc if the index file is out of date or missing |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
590 |
$(TAGLETAPI_INDEX_FILE): $(TAGLETAPI_OPTIONS_FILE) $(TAGLETAPI_PACKAGES_FILE) $(COREAPI_INDEX_FILE) |
13697 | 591 |
$(prep-javadoc) |
592 |
$(RM) -r $(TAGLETAPI_TEMPDIR) |
|
593 |
$(MKDIR) -p $(TAGLETAPI_TEMPDIR) |
|
594 |
$(call JavadocSummary,$(TAGLETAPI_OPTIONS_FILE),$(TAGLETAPI_PACKAGES_FILE)) |
|
29176
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
595 |
$(JAVADOC_CMD_SMALL) -d $(TAGLETAPI_TEMPDIR) \ |
20363 | 596 |
@$(TAGLETAPI_OPTIONS_FILE) @$(TAGLETAPI_PACKAGES_FILE) |
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
597 |
cp -r $(TAGLETAPI_TEMPDIR)/com $(TAGLETAPI_DOCDIR) |
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
598 |
cp $(TAGLETAPI_TEMPDIR)/stylesheet.css $(TAGLETAPI_DOCDIR) |
13697 | 599 |
$(RM) -r $(TAGLETAPI_TEMPDIR) |
600 |
||
601 |
# Create file with javadoc options in it |
|
602 |
$(TAGLETAPI_OPTIONS_FILE): |
|
603 |
$(prep-target) |
|
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
604 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
605 |
$(call COMMON_JAVADOCTAGS) ; \ |
25043
b5598c2ddf6f
8048302: Update bug reporting URL in make/Javadoc.gmk
darcy
parents:
24232
diff
changeset
|
606 |
$(call OptionOnly,-Xdoclint:all) ; \ |
36506 | 607 |
$(call OptionPair,-system,none) ; \ |
608 |
$(call OptionPair,-modulesourcepath,$(RELEASEDOCS_MODULESOURCEPATH)) ; \ |
|
609 |
$(call OptionPair,-addmods,$(TAGLETAPI_MODULES)) ; \ |
|
20363 | 610 |
$(call OptionPair,-encoding,ascii) ; \ |
611 |
$(call OptionOnly,-nonavbar) ; \ |
|
612 |
$(call OptionOnly,-noindex) ; \ |
|
613 |
$(call OptionPair,-bottom,$(TAGLETAPI_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
|
13697 | 614 |
$(call OptionTrip,-linkoffline,$(TAGLETAPI2COREAPI),$(COREAPI_DOCSDIR)/); \ |
20363 | 615 |
) >> $@ |
13697 | 616 |
|
617 |
# Create a file with the package names in it |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
618 |
$(TAGLETAPI_PACKAGES_FILE): $(call PackageDependencies,$(TAGLETAPI_PKGS)) |
13697 | 619 |
$(prep-target) |
25854 | 620 |
@($(ECHO) "$(LANGTOOLS_TOPDIR)/src/jdk.javadoc/share/classes/$(TAGLETAPI_FILE)" ) > $@ |
13697 | 621 |
|
622 |
############################################################# |
|
623 |
# |
|
624 |
# domapidocs |
|
625 |
# |
|
626 |
||
627 |
ALL_OTHER_TARGETS += domapidocs |
|
628 |
||
20363 | 629 |
DOMAPI_DOCDIR := $(JRE_API_DOCSDIR)/plugin/dom |
630 |
DOMAPI2COREAPI := ../../$(JDKJRE2COREAPI) |
|
631 |
DOMAPI_DOCTITLE := Common DOM API |
|
632 |
DOMAPI_WINDOWTITLE := Common DOM API |
|
633 |
DOMAPI_HEADER := <strong>Common DOM API</strong> |
|
634 |
DOMAPI_BOTTOM := $(call CommonTrademarkBottom,$(DOMAPI_FIRST_COPYRIGHT_YEAR)) |
|
635 |
DOMAPI_GROUPNAME := Packages |
|
25045
7b8a6a85baa4
8044063: Remove com.sun.java.browser.* from jdk repo
mchung
parents:
24232
diff
changeset
|
636 |
DOMAPI_REGEXP := org.w3c.dom* |
13697 | 637 |
# DOMAPI_PKGS is located in NON_CORE_PKGS.gmk |
638 |
||
639 |
# The index.html, options, and packages files |
|
20363 | 640 |
DOMAPI_INDEX_FILE = $(DOMAPI_DOCDIR)/index.html |
641 |
DOMAPI_OPTIONS_FILE = $(DOCSTMPDIR)/domapi.options |
|
13697 | 642 |
DOMAPI_PACKAGES_FILE = $(DOCSTMPDIR)/domapi.packages |
643 |
||
36506 | 644 |
# The modules required to be documented |
645 |
DOMAPI_MODULES = java.xml,jdk.xml.dom |
|
646 |
||
13697 | 647 |
domapidocs: $(DOMAPI_INDEX_FILE) |
648 |
||
649 |
# Set relative location to core api document root |
|
650 |
$(DOMAPI_INDEX_FILE): GET2DOCSDIR=$(DOMAPI2COREAPI)/.. |
|
651 |
||
652 |
# Run javadoc if the index file is out of date or missing |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
653 |
$(DOMAPI_INDEX_FILE): $(DOMAPI_OPTIONS_FILE) $(DOMAPI_PACKAGES_FILE) $(COREAPI_INDEX_FILE) |
13697 | 654 |
$(prep-javadoc) |
655 |
$(call JavadocSummary,$(DOMAPI_OPTIONS_FILE),$(DOMAPI_PACKAGES_FILE)) |
|
29176
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
656 |
$(JAVADOC_CMD_SMALL) -d $(@D) \ |
20363 | 657 |
@$(DOMAPI_OPTIONS_FILE) @$(DOMAPI_PACKAGES_FILE) |
13697 | 658 |
|
659 |
# Create file with javadoc options in it |
|
660 |
$(DOMAPI_OPTIONS_FILE): |
|
661 |
$(prep-target) |
|
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
662 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
663 |
$(call COMMON_JAVADOCTAGS) ; \ |
22033
c323078abaf4
8031081: Use separate doclint flags for different doc bundles
darcy
parents:
21759
diff
changeset
|
664 |
$(call OptionOnly,-Xdoclint:none) ; \ |
36506 | 665 |
$(call OptionPair,-system,none) ; \ |
666 |
$(call OptionPair,-modulesourcepath,$(RELEASEDOCS_MODULESOURCEPATH)) ; \ |
|
667 |
$(call OptionPair,-addmods,$(DOMAPI_MODULES)) ; \ |
|
20363 | 668 |
$(call OptionPair,-encoding,ascii) ; \ |
669 |
$(call OptionOnly,-splitIndex) ; \ |
|
670 |
$(call OptionPair,-doctitle,$(DOMAPI_DOCTITLE)) ; \ |
|
671 |
$(call OptionPair,-windowtitle,$(DOMAPI_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
|
672 |
$(call OptionPair,-header,$(DOMAPI_HEADER)$(DRAFT_HEADER)) ; \ |
|
673 |
$(call OptionPair,-bottom,$(DOMAPI_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
|
13697 | 674 |
$(call OptionTrip,-group,$(DOMAPI_GROUPNAME),$(DOMAPI_REGEXP)); \ |
675 |
$(call OptionTrip,-linkoffline,$(DOMAPI2COREAPI),$(COREAPI_DOCSDIR)/); \ |
|
20363 | 676 |
) >> $@ |
13697 | 677 |
|
678 |
# Create a file with the package names in it |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
679 |
$(DOMAPI_PACKAGES_FILE): $(call PackageDependencies,$(DOMAPI_PKGS)) |
13697 | 680 |
$(prep-target) |
681 |
$(call PackageFilter,$(DOMAPI_PKGS)) |
|
682 |
||
683 |
############################################################# |
|
684 |
# |
|
685 |
# jpdadocs |
|
686 |
# |
|
687 |
||
688 |
ALL_OTHER_TARGETS += jpdadocs |
|
689 |
||
690 |
jpdadocs: jdidocs jdwpdocs jvmtidocs |
|
691 |
||
692 |
############################################################# |
|
693 |
# |
|
694 |
# jdidocs |
|
695 |
# |
|
696 |
||
697 |
ALL_OTHER_TARGETS += jdidocs |
|
698 |
||
20363 | 699 |
JDI_DOCDIR := $(JDK_API_DOCSDIR)/jpda/jdi |
700 |
JDI2COREAPI := ../../$(JDKJRE2COREAPI) |
|
701 |
JDI_DOCTITLE := Java$(TRADEMARK) Debug Interface |
|
13697 | 702 |
JDI_WINDOWTITLE := Java Debug Interface |
20363 | 703 |
JDI_HEADER := <strong>Java Debug Interface</strong> |
704 |
JDI_BOTTOM := $(call CommonBottom,$(JDI_FIRST_COPYRIGHT_YEAR)) |
|
25854 | 705 |
JDI_OVERVIEW := $(JDK_TOPDIR)/src/jdk.jdi/share/classes/jdi-overview.html |
13697 | 706 |
# JDI_PKGS is located in NON_CORE_PKGS.gmk |
707 |
||
708 |
# The index.html, options, and packages files |
|
20363 | 709 |
JDI_INDEX_FILE = $(JDI_DOCDIR)/index.html |
710 |
JDI_OPTIONS_FILE = $(DOCSTMPDIR)/jdi.options |
|
13697 | 711 |
JDI_PACKAGES_FILE = $(DOCSTMPDIR)/jdi.packages |
712 |
||
36506 | 713 |
# The modules required to be documented |
714 |
JDI_MODULES = jdk.jdi |
|
715 |
||
13697 | 716 |
jdidocs: $(JDI_INDEX_FILE) |
717 |
||
718 |
# Set relative location to core api document root |
|
719 |
$(JDI_INDEX_FILE): GET2DOCSDIR=$(JDI2COREAPI)/.. |
|
720 |
||
721 |
# Run javadoc if the index file is out of date or missing |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
722 |
$(JDI_INDEX_FILE): $(JDI_OPTIONS_FILE) $(JDI_PACKAGES_FILE) $(COREAPI_INDEX_FILE) |
13697 | 723 |
$(prep-javadoc) |
724 |
$(call JavadocSummary,$(JDI_OPTIONS_FILE),$(JDI_PACKAGES_FILE)) |
|
29176
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
725 |
$(JAVADOC_CMD_SMALL) -d $(@D) \ |
20363 | 726 |
@$(JDI_OPTIONS_FILE) @$(JDI_PACKAGES_FILE) |
13697 | 727 |
|
728 |
# Create file with javadoc options in it |
|
729 |
$(JDI_OPTIONS_FILE): $(JDI_OVERVIEW) |
|
730 |
$(prep-target) |
|
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
731 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
732 |
$(call COMMON_JAVADOCTAGS) ; \ |
22033
c323078abaf4
8031081: Use separate doclint flags for different doc bundles
darcy
parents:
21759
diff
changeset
|
733 |
$(call OptionOnly,-Xdoclint:none) ; \ |
36506 | 734 |
$(call OptionPair,-system,none) ; \ |
735 |
$(call OptionPair,-modulesourcepath,$(RELEASEDOCS_MODULESOURCEPATH)) ; \ |
|
736 |
$(call OptionPair,-addmods,$(JDI_MODULES)) ; \ |
|
20363 | 737 |
$(call OptionPair,-encoding,ascii) ; \ |
738 |
$(call OptionPair,-overview,$(JDI_OVERVIEW)) ; \ |
|
739 |
$(call OptionPair,-doctitle,$(JDI_DOCTITLE)) ; \ |
|
13697 | 740 |
$(call OptionPair,-windowtitle,$(JDI_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
20363 | 741 |
$(call OptionPair,-header,$(JDI_HEADER)$(DRAFT_HEADER)) ; \ |
742 |
$(call OptionPair,-bottom,$(JDI_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
|
13697 | 743 |
$(call OptionTrip,-linkoffline,$(JDI2COREAPI),$(COREAPI_DOCSDIR)/); \ |
20363 | 744 |
) >> $@ |
13697 | 745 |
|
746 |
# Create a file with the package names in it |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
747 |
$(JDI_PACKAGES_FILE): $(call PackageDependencies,$(JDI_PKGS)) |
13697 | 748 |
$(prep-target) |
749 |
$(call PackageFilter,$(JDI_PKGS)) |
|
750 |
||
751 |
############################################################# |
|
752 |
# |
|
753 |
# jdwpdocs |
|
754 |
# |
|
755 |
||
756 |
ALL_OTHER_TARGETS += jdwpdocs |
|
757 |
||
20363 | 758 |
JDWP_DOCDIR = $(PLATFORM_DOCSDIR)/jpda/jdwp |
13697 | 759 |
|
760 |
jdwpdocs: $(JDWP_DOCDIR)/jdwp-protocol.html |
|
27560 | 761 |
$(JDWP_DOCDIR)/jdwp-protocol.html : $(SUPPORT_OUTPUTDIR)/gensrc/jdk.jdi/jdwp-protocol.html |
13697 | 762 |
$(MKDIR) -p $(@D) |
763 |
$(RM) $@ |
|
764 |
$(CP) $< $@ |
|
765 |
||
766 |
############################################################# |
|
767 |
# |
|
768 |
# jvmtidocs |
|
769 |
# |
|
770 |
||
771 |
ALL_OTHER_TARGETS += jvmtidocs |
|
772 |
||
20363 | 773 |
JVMTI_DOCDIR = $(PLATFORM_DOCSDIR)/jvmti |
774 |
JVMTI_HTML = $(HOTSPOT_DIST)/docs/platform/jvmti/jvmti.html |
|
13697 | 775 |
|
20363 | 776 |
jvmtidocs: $(JVMTI_DOCDIR)/jvmti.html |
13697 | 777 |
$(JVMTI_DOCDIR)/jvmti.html: |
778 |
@$(prep-javadoc) |
|
20363 | 779 |
@if [ -f $(JVMTI_HTML) ] ; then \ |
780 |
$(CP) $(JVMTI_HTML) $@; \ |
|
781 |
else \ |
|
13697 | 782 |
$(ECHO) "WARNING: Generated file does not exist: $(JVMTI_HTML)"; \ |
783 |
fi |
|
784 |
||
785 |
############################################################# |
|
786 |
# |
|
787 |
# jaasdocs |
|
788 |
# |
|
789 |
||
790 |
ALL_OTHER_TARGETS += jaasdocs |
|
791 |
||
20363 | 792 |
JAAS_DOCDIR := $(JRE_API_DOCSDIR)/security/jaas/spec |
793 |
JAAS2COREAPI := ../../../$(JDKJRE2COREAPI) |
|
794 |
JAAS_DOCTITLE := Java$(TRADEMARK) Authentication and Authorization Service |
|
13697 | 795 |
JAAS_WINDOWTITLE := Java Authentication and Authorization Service |
20363 | 796 |
JAAS_HEADER := <strong>Java Authentication and Authorization Service</strong> |
797 |
JAAS_BOTTOM := $(call CommonBottom,$(JAAS_FIRST_COPYRIGHT_YEAR)) |
|
13697 | 798 |
# JAAS_PKGS is located in NON_CORE_PKGS.gmk |
25854 | 799 |
JAAS_OVERVIEW := $(JDK_TOPDIR)/src/jdk.security.auth/share/classes/jaas-overview.html |
13697 | 800 |
|
801 |
# The index.html, options, and packages files |
|
20363 | 802 |
JAAS_INDEX_FILE = $(JAAS_DOCDIR)/index.html |
803 |
JAAS_OPTIONS_FILE = $(DOCSTMPDIR)/jaas.options |
|
13697 | 804 |
JAAS_PACKAGES_FILE = $(DOCSTMPDIR)/jaas.packages |
805 |
||
36506 | 806 |
# The modules required to be documented |
807 |
JAAS_MODULES = jdk.security.auth |
|
808 |
||
13697 | 809 |
jaasdocs: $(JAAS_INDEX_FILE) |
810 |
||
811 |
# Set relative location to core api document root |
|
812 |
$(JAAS_INDEX_FILE): GET2DOCSDIR=$(JAAS2COREAPI)/.. |
|
813 |
||
814 |
# Run javadoc if the index file is out of date or missing |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
815 |
$(JAAS_INDEX_FILE): $(JAAS_OPTIONS_FILE) $(JAAS_PACKAGES_FILE) $(COREAPI_INDEX_FILE) |
13697 | 816 |
$(prep-javadoc) |
817 |
$(call JavadocSummary,$(JAAS_OPTIONS_FILE),$(JAAS_PACKAGES_FILE)) |
|
29176
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
818 |
$(JAVADOC_CMD_SMALL) -d $(@D) \ |
20363 | 819 |
@$(JAAS_OPTIONS_FILE) @$(JAAS_PACKAGES_FILE) |
13697 | 820 |
|
821 |
# Create file with javadoc options in it |
|
822 |
$(JAAS_OPTIONS_FILE): $(JAAS_OVERVIEW) |
|
823 |
$(prep-target) |
|
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
824 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
825 |
$(call COMMON_JAVADOCTAGS) ; \ |
22033
c323078abaf4
8031081: Use separate doclint flags for different doc bundles
darcy
parents:
21759
diff
changeset
|
826 |
$(call OptionOnly,-Xdoclint:none) ; \ |
36506 | 827 |
$(call OptionPair,-system,none) ; \ |
828 |
$(call OptionPair,-modulesourcepath,$(RELEASEDOCS_MODULESOURCEPATH)) ; \ |
|
829 |
$(call OptionPair,-addmods,$(JAAS_MODULES)) ; \ |
|
20363 | 830 |
$(call OptionPair,-encoding,ascii) ; \ |
831 |
$(call OptionPair,-overview,$(JAAS_OVERVIEW)) ; \ |
|
832 |
$(call OptionPair,-doctitle,$(JAAS_DOCTITLE)) ; \ |
|
13697 | 833 |
$(call OptionPair,-windowtitle,$(JAAS_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
20363 | 834 |
$(call OptionPair,-header,$(JAAS_HEADER)$(DRAFT_HEADER)) ; \ |
835 |
$(call OptionPair,-bottom,$(JAAS_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
|
13697 | 836 |
$(call OptionTrip,-linkoffline,$(JAAS2COREAPI),$(COREAPI_DOCSDIR)/); \ |
20363 | 837 |
) >> $@ |
13697 | 838 |
|
839 |
# Create a file with the package names in it |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
840 |
$(JAAS_PACKAGES_FILE): $(call PackageDependencies,$(JAAS_PKGS)) |
13697 | 841 |
$(prep-target) |
842 |
$(call PackageFilter,$(JAAS_PKGS)) |
|
843 |
||
844 |
############################################################# |
|
845 |
# |
|
846 |
# jgssdocs |
|
847 |
# |
|
848 |
||
849 |
ALL_OTHER_TARGETS += jgssdocs |
|
850 |
||
20363 | 851 |
JGSS_DOCDIR := $(JRE_API_DOCSDIR)/security/jgss/spec |
852 |
JGSS2COREAPI := ../../../$(JDKJRE2COREAPI) |
|
853 |
JGSS_DOCTITLE := Java$(TRADEMARK) GSS-API Utilities |
|
13697 | 854 |
JGSS_WINDOWTITLE := Java GSS-API Utilities |
20363 | 855 |
JGSS_HEADER := <strong>Java GSS-API Utilities</strong> |
856 |
JGSS_BOTTOM := $(call CommonBottom,$(JGSS_FIRST_COPYRIGHT_YEAR)) |
|
25854 | 857 |
JGSS_OVERVIEW := $(JDK_TOPDIR)/src/java.security.jgss/share/classes/jgss-overview.html |
13697 | 858 |
# JGSS_PKGS is located in NON_CORE_PKGS.gmk |
859 |
||
860 |
# The index.html, options, and packages files |
|
20363 | 861 |
JGSS_INDEX_FILE = $(JGSS_DOCDIR)/index.html |
862 |
JGSS_OPTIONS_FILE = $(DOCSTMPDIR)/jgss.options |
|
13697 | 863 |
JGSS_PACKAGES_FILE = $(DOCSTMPDIR)/jgss.packages |
864 |
||
36506 | 865 |
# The modules required to be documented |
866 |
JGSS_MODULES = jdk.security.jgss |
|
867 |
||
13697 | 868 |
jgssdocs: $(JGSS_INDEX_FILE) |
869 |
||
870 |
# Set relative location to core api document root |
|
871 |
$(JGSS_INDEX_FILE): GET2DOCSDIR=$(JGSS2COREAPI)/.. |
|
872 |
||
873 |
# Run javadoc if the index file is out of date or missing |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
874 |
$(JGSS_INDEX_FILE): $(JGSS_OPTIONS_FILE) $(JGSS_PACKAGES_FILE) $(COREAPI_INDEX_FILE) |
13697 | 875 |
$(prep-javadoc) |
876 |
$(call JavadocSummary,$(JGSS_OPTIONS_FILE),$(JGSS_PACKAGES_FILE)) |
|
29176
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
877 |
$(JAVADOC_CMD_SMALL) -d $(@D) \ |
20363 | 878 |
@$(JGSS_OPTIONS_FILE) @$(JGSS_PACKAGES_FILE) |
13697 | 879 |
|
880 |
# Create file with javadoc options in it |
|
881 |
$(JGSS_OPTIONS_FILE): $(JGSS_OVERVIEW) |
|
882 |
$(prep-target) |
|
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
883 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
884 |
$(call COMMON_JAVADOCTAGS) ; \ |
22033
c323078abaf4
8031081: Use separate doclint flags for different doc bundles
darcy
parents:
21759
diff
changeset
|
885 |
$(call OptionOnly,-Xdoclint:none) ; \ |
36506 | 886 |
$(call OptionPair,-system,none) ; \ |
887 |
$(call OptionPair,-modulesourcepath,$(RELEASEDOCS_MODULESOURCEPATH)) ; \ |
|
888 |
$(call OptionPair,-addmods,$(JGSS_MODULES)) ; \ |
|
20363 | 889 |
$(call OptionPair,-encoding,ascii) ; \ |
890 |
$(call OptionOnly,-nodeprecatedlist) ; \ |
|
891 |
$(call OptionPair,-overview,$(JGSS_OVERVIEW)) ; \ |
|
892 |
$(call OptionPair,-doctitle,$(JGSS_DOCTITLE)) ; \ |
|
13697 | 893 |
$(call OptionPair,-windowtitle,$(JGSS_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
20363 | 894 |
$(call OptionPair,-header,$(JGSS_HEADER)$(DRAFT_HEADER)) ; \ |
895 |
$(call OptionPair,-bottom,$(JGSS_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
|
13697 | 896 |
$(call OptionTrip,-linkoffline,$(JGSS2COREAPI),$(COREAPI_DOCSDIR)/); \ |
20363 | 897 |
) >> $@ |
13697 | 898 |
|
899 |
# Create a file with the package names in it |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
900 |
$(JGSS_PACKAGES_FILE): $(call PackageDependencies,$(JGSS_PKGS)) |
13697 | 901 |
$(prep-target) |
902 |
$(call PackageFilter,$(JGSS_PKGS)) |
|
903 |
||
904 |
############################################################# |
|
905 |
# |
|
906 |
# smartcardiodocs |
|
907 |
# |
|
908 |
||
909 |
ALL_OTHER_TARGETS += smartcardiodocs |
|
910 |
||
20363 | 911 |
SMARTCARDIO_DOCDIR := $(JRE_API_DOCSDIR)/security/smartcardio/spec |
912 |
SMARTCARDIO2COREAPI := ../../../$(JDKJRE2COREAPI) |
|
913 |
SMARTCARDIO_DOCTITLE := Java$(TRADEMARK) Smart Card I/O |
|
13697 | 914 |
SMARTCARDIO_WINDOWTITLE := Java Smart Card I/O |
20363 | 915 |
SMARTCARDIO_HEADER := <strong>Java Smart Card I/O</strong> |
916 |
SMARTCARDIO_BOTTOM := $(call CommonBottom,$(SMARTCARDIO_FIRST_COPYRIGHT_YEAR)) |
|
13697 | 917 |
# SMARTCARDIO_PKGS is located in NON_CORE_PKGS.gmk |
918 |
||
919 |
# The index.html, options, and packages files |
|
20363 | 920 |
SMARTCARDIO_INDEX_FILE = $(SMARTCARDIO_DOCDIR)/index.html |
921 |
SMARTCARDIO_OPTIONS_FILE = $(DOCSTMPDIR)/smartcardio.options |
|
13697 | 922 |
SMARTCARDIO_PACKAGES_FILE = $(DOCSTMPDIR)/smartcardio.packages |
923 |
||
36506 | 924 |
# The modules required to be documented |
925 |
SMARTCARDIO_MODULES = java.smartcardio |
|
926 |
||
13697 | 927 |
smartcardiodocs: $(SMARTCARDIO_INDEX_FILE) |
928 |
||
929 |
# Set relative location to core api document root |
|
930 |
$(SMARTCARDIO_INDEX_FILE): GET2DOCSDIR=$(SMARTCARDIO2COREAPI)/.. |
|
931 |
||
932 |
# Run javadoc if the index file is out of date or missing |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
933 |
$(SMARTCARDIO_INDEX_FILE): $(SMARTCARDIO_OPTIONS_FILE) $(SMARTCARDIO_PACKAGES_FILE) $(COREAPI_INDEX_FILE) |
13697 | 934 |
$(prep-javadoc) |
935 |
$(call JavadocSummary,$(SMARTCARDIO_OPTIONS_FILE),$(SMARTCARDIO_PACKAGES_FILE)) |
|
29176
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
936 |
$(JAVADOC_CMD_SMALL) -d $(@D) \ |
20363 | 937 |
@$(SMARTCARDIO_OPTIONS_FILE) @$(SMARTCARDIO_PACKAGES_FILE) |
13697 | 938 |
|
939 |
# Create file with javadoc options in it |
|
940 |
$(SMARTCARDIO_OPTIONS_FILE): |
|
941 |
$(prep-target) |
|
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
942 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
943 |
$(call COMMON_JAVADOCTAGS) ; \ |
22033
c323078abaf4
8031081: Use separate doclint flags for different doc bundles
darcy
parents:
21759
diff
changeset
|
944 |
$(call OptionOnly,-Xdoclint:none) ; \ |
36506 | 945 |
$(call OptionPair,-system,none) ; \ |
946 |
$(call OptionPair,-modulesourcepath,$(RELEASEDOCS_MODULESOURCEPATH)) ; \ |
|
947 |
$(call OptionPair,-addmods,$(SMARTCARDIO_MODULES)) ; \ |
|
20363 | 948 |
$(call OptionPair,-encoding,ascii) ; \ |
949 |
$(call OptionOnly,-nodeprecatedlist) ; \ |
|
950 |
$(call OptionPair,-doctitle,$(SMARTCARDIO_DOCTITLE)) ; \ |
|
951 |
$(call OptionPair,-windowtitle,$(SMARTCARDIO_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
|
13697 | 952 |
$(call OptionPair,-header,$(SMARTCARDIO_HEADER)$(DRAFT_HEADER)); \ |
953 |
$(call OptionPair,-bottom,$(SMARTCARDIO_BOTTOM)$(DRAFT_BOTTOM)); \ |
|
954 |
$(call OptionTrip,-linkoffline,$(SMARTCARDIO2COREAPI),$(COREAPI_DOCSDIR)/); \ |
|
20363 | 955 |
) >> $@ |
13697 | 956 |
|
957 |
# Create a file with the package names in it |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
958 |
$(SMARTCARDIO_PACKAGES_FILE): $(call PackageDependencies,$(SMARTCARDIO_PKGS)) |
13697 | 959 |
$(prep-target) |
960 |
$(call PackageFilter,$(SMARTCARDIO_PKGS)) |
|
961 |
||
962 |
############################################################# |
|
963 |
# |
|
964 |
# httpserverdocs |
|
965 |
# |
|
966 |
||
967 |
ALL_OTHER_TARGETS += httpserverdocs |
|
968 |
||
20363 | 969 |
HTTPSERVER_DOCDIR := $(JRE_API_DOCSDIR)/net/httpserver/spec |
970 |
HTTPSERVER2COREAPI := ../../../$(JDKJRE2COREAPI) |
|
971 |
HTTPSERVER_DOCTITLE := Java$(TRADEMARK) HTTP Server |
|
13697 | 972 |
HTTPSERVER_WINDOWTITLE := Java HTTP Server |
20363 | 973 |
HTTPSERVER_HEADER := <strong>Java HTTP Server</strong> |
974 |
HTTPSERVER_BOTTOM := $(call CommonBottom,$(HTTPSERVER_FIRST_COPYRIGHT_YEAR)) |
|
13697 | 975 |
# HTTPSERVER_PKGS is located in NON_CORE_PKGS.gmk |
976 |
||
20363 | 977 |
HTTPSERVER_INDEX_HTML = $(HTTPSERVER_DOCDIR)/index.html |
978 |
HTTPSERVER_OPTIONS_FILE = $(DOCSTMPDIR)/httpserver.options |
|
13697 | 979 |
HTTPSERVER_PACKAGES_FILE = $(DOCSTMPDIR)/httpserver.packages |
980 |
||
36506 | 981 |
# The modules required to be documented |
982 |
HTTPSERVER_MODULES = jdk.httpserver |
|
983 |
||
13697 | 984 |
httpserverdocs: $(HTTPSERVER_INDEX_HTML) |
985 |
||
986 |
# Set relative location to core api document root |
|
987 |
$(HTTPSERVER_INDEX_HTML): GET2DOCSDIR=$(HTTPSERVER2COREAPI)/.. |
|
988 |
||
989 |
# Run javadoc if the index file is out of date or missing |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
990 |
$(HTTPSERVER_INDEX_HTML): $(HTTPSERVER_OPTIONS_FILE) $(HTTPSERVER_PACKAGES_FILE) $(COREAPI_INDEX_FILE) |
13697 | 991 |
$(prep-javadoc) |
992 |
$(call JavadocSummary,$(HTTPSERVER_OPTIONS_FILE),$(HTTPSERVER_PACKAGES_FILE)) |
|
29176
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
993 |
$(JAVADOC_CMD_SMALL) -d $(@D) \ |
20363 | 994 |
@$(HTTPSERVER_OPTIONS_FILE) @$(HTTPSERVER_PACKAGES_FILE) |
13697 | 995 |
|
996 |
# Create file with javadoc options in it |
|
997 |
$(HTTPSERVER_OPTIONS_FILE): |
|
998 |
$(prep-target) |
|
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
999 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
1000 |
$(call COMMON_JAVADOCTAGS) ; \ |
22033
c323078abaf4
8031081: Use separate doclint flags for different doc bundles
darcy
parents:
21759
diff
changeset
|
1001 |
$(call OptionOnly,-Xdoclint:none) ; \ |
36506 | 1002 |
$(call OptionPair,-system,none) ; \ |
1003 |
$(call OptionPair,-modulesourcepath,$(RELEASEDOCS_MODULESOURCEPATH)) ; \ |
|
1004 |
$(call OptionPair,-addmods,$(HTTPSERVER_MODULES)) ; \ |
|
20363 | 1005 |
$(call OptionPair,-encoding,ascii) ; \ |
1006 |
$(call OptionOnly,-nodeprecatedlist) ; \ |
|
1007 |
$(call OptionPair,-doctitle,$(HTTPSERVER_DOCTITLE)) ; \ |
|
1008 |
$(call OptionPair,-windowtitle,$(HTTPSERVER_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
|
13697 | 1009 |
$(call OptionPair,-header,$(HTTPSERVER_HEADER)$(DRAFT_HEADER)); \ |
1010 |
$(call OptionPair,-bottom,$(HTTPSERVER_BOTTOM)$(DRAFT_BOTTOM)); \ |
|
1011 |
$(call OptionTrip,-linkoffline,$(HTTPSERVER2COREAPI),$(COREAPI_DOCSDIR)/); \ |
|
20363 | 1012 |
) >> $@ |
13697 | 1013 |
|
1014 |
# Create a file with the package names in it |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
1015 |
$(HTTPSERVER_PACKAGES_FILE): $(call PackageDependencies,$(HTTPSERVER_PKGS)) |
13697 | 1016 |
$(prep-target) |
1017 |
$(call PackageFilter,$(HTTPSERVER_PKGS)) |
|
1018 |
||
1019 |
############################################################# |
|
1020 |
# |
|
1021 |
# mgmtdocs |
|
1022 |
# |
|
1023 |
||
1024 |
ALL_OTHER_TARGETS += mgmtdocs |
|
1025 |
||
20363 | 1026 |
MGMT_DOCDIR := $(JRE_API_DOCSDIR)/management/extension |
1027 |
MGMT2COREAPI := ../../$(JDKJRE2COREAPI) |
|
1028 |
JVM_MIB_NAME := JVM-MANAGEMENT-MIB.mib |
|
25854 | 1029 |
JVM_MIB_SRC := $(JDK_TOPDIR)/src/closed/jdk.snmp/share/classes/sun/management/snmp/$(JVM_MIB_NAME) |
20363 | 1030 |
MGMT_DOCTITLE := Monitoring and Management Interface for the Java$(TRADEMARK) Platform |
13697 | 1031 |
MGMT_WINDOWTITLE := Monitoring and Management Interface for the Java Platform |
20363 | 1032 |
MGMT_HEADER := <strong>Monitoring and Management Interface for the Java Platform</strong> |
1033 |
MGMT_BOTTOM := $(call CommonBottom,$(MGMT_FIRST_COPYRIGHT_YEAR)) |
|
25854 | 1034 |
MGMT_OVERVIEW := $(JDK_TOPDIR)/src/java.management/share/classes/mgmt-overview.html |
13697 | 1035 |
# MGMT_PKGS is located in NON_CORE_PKGS.gmk |
1036 |
||
1037 |
# The index.html, options, and packages files |
|
20363 | 1038 |
MGMT_INDEX_FILE = $(MGMT_DOCDIR)/index.html |
1039 |
MGMT_OPTIONS_FILE = $(DOCSTMPDIR)/mgmt.options |
|
13697 | 1040 |
MGMT_PACKAGES_FILE = $(DOCSTMPDIR)/mgmt.packages |
1041 |
||
36506 | 1042 |
# The modules required to be documented |
1043 |
MGMT_MODULES = jdk.management |
|
1044 |
||
13697 | 1045 |
mgmtdocs: $(MGMT_INDEX_FILE) |
1046 |
||
1047 |
# Set relative location to core api document root |
|
1048 |
$(MGMT_INDEX_FILE): GET2DOCSDIR=$(MGMT2COREAPI)/.. |
|
1049 |
||
1050 |
# Run javadoc if the index file is out of date or missing |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
1051 |
$(MGMT_INDEX_FILE): $(MGMT_OPTIONS_FILE) $(MGMT_PACKAGES_FILE) $(COREAPI_INDEX_FILE) |
13697 | 1052 |
$(prep-javadoc) |
20363 | 1053 |
@if [ -f $(JVM_MIB_SRC) ] ; then \ |
1054 |
$(CP) $(JVM_MIB_SRC) $(@D)/.. ; \ |
|
1055 |
else \ |
|
1056 |
$(ECHO) "WARNING: File $(JVM_MIB_NAME) not available."; \ |
|
13697 | 1057 |
fi |
1058 |
$(call JavadocSummary,$(MGMT_OPTIONS_FILE),$(MGMT_PACKAGES_FILE)) |
|
29176
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
1059 |
$(JAVADOC_CMD_SMALL) -d $(@D) \ |
20363 | 1060 |
@$(MGMT_OPTIONS_FILE) @$(MGMT_PACKAGES_FILE) |
13697 | 1061 |
|
1062 |
# Create file with javadoc options in it |
|
1063 |
$(MGMT_OPTIONS_FILE): $(MGMT_OVERVIEW) |
|
1064 |
$(prep-target) |
|
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
1065 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
1066 |
$(call COMMON_JAVADOCTAGS) ; \ |
22033
c323078abaf4
8031081: Use separate doclint flags for different doc bundles
darcy
parents:
21759
diff
changeset
|
1067 |
$(call OptionOnly,-Xdoclint:none) ; \ |
36506 | 1068 |
$(call OptionPair,-system,none) ; \ |
1069 |
$(call OptionPair,-modulesourcepath,$(RELEASEDOCS_MODULESOURCEPATH)) ; \ |
|
1070 |
$(call OptionPair,-addmods,$(MGMT_MODULES)) ; \ |
|
20363 | 1071 |
$(call OptionPair,-encoding,ascii) ; \ |
1072 |
$(call OptionOnly,-nodeprecatedlist) ; \ |
|
1073 |
$(call OptionPair,-overview,$(MGMT_OVERVIEW)) ; \ |
|
1074 |
$(call OptionPair,-doctitle,$(MGMT_DOCTITLE)) ; \ |
|
13697 | 1075 |
$(call OptionPair,-windowtitle,$(MGMT_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
20363 | 1076 |
$(call OptionPair,-header,$(MGMT_HEADER)$(DRAFT_HEADER)) ; \ |
1077 |
$(call OptionPair,-bottom,$(MGMT_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
|
13697 | 1078 |
$(call OptionTrip,-linkoffline,$(MGMT2COREAPI),$(COREAPI_DOCSDIR)/); \ |
20363 | 1079 |
) >> $@ |
13697 | 1080 |
|
1081 |
# Create a file with the package names in it |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
1082 |
$(MGMT_PACKAGES_FILE): $(call PackageDependencies,$(MGMT_PKGS)) |
13697 | 1083 |
$(prep-target) |
1084 |
$(call PackageFilter,$(MGMT_PKGS)) |
|
1085 |
||
1086 |
############################################################# |
|
1087 |
# |
|
1088 |
# attachdocs |
|
1089 |
# |
|
1090 |
||
1091 |
ALL_OTHER_TARGETS += attachdocs |
|
1092 |
||
20363 | 1093 |
ATTACH_DOCDIR := $(JDK_API_DOCSDIR)/attach/spec |
1094 |
ATTACH2COREAPI := ../../$(JDKJRE2COREAPI) |
|
1095 |
ATTACH_DOCTITLE := Attach API |
|
13697 | 1096 |
ATTACH_WINDOWTITLE := Attach API |
20363 | 1097 |
ATTACH_HEADER := <strong>Attach API</strong> |
1098 |
ATTACH_BOTTOM := $(call CommonBottom,$(ATTACH_FIRST_COPYRIGHT_YEAR)) |
|
13697 | 1099 |
# ATTACH_PKGS is located in NON_CORE_PKGS.gmk |
1100 |
||
20363 | 1101 |
ATTACH_INDEX_HTML = $(ATTACH_DOCDIR)/index.html |
1102 |
ATTACH_OPTIONS_FILE = $(DOCSTMPDIR)/attach.options |
|
13697 | 1103 |
ATTACH_PACKAGES_FILE = $(DOCSTMPDIR)/attach.packages |
1104 |
||
36506 | 1105 |
# The modules required to be documented |
1106 |
ATTACH_MODULES = jdk.attach |
|
1107 |
||
13697 | 1108 |
attachdocs: $(ATTACH_INDEX_HTML) |
1109 |
||
1110 |
# Set relative location to core api document root |
|
1111 |
$(ATTACH_INDEX_HTML): GET2DOCSDIR=$(ATTACH2COREAPI)/.. |
|
1112 |
||
1113 |
# Run javadoc if the index file is out of date or missing |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
1114 |
$(ATTACH_INDEX_HTML): $(ATTACH_OPTIONS_FILE) $(ATTACH_PACKAGES_FILE) $(COREAPI_INDEX_FILE) |
13697 | 1115 |
$(prep-javadoc) |
1116 |
$(call JavadocSummary,$(ATTACH_OPTIONS_FILE),$(ATTACH_PACKAGES_FILE)) |
|
29176
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
1117 |
$(JAVADOC_CMD_SMALL) -d $(@D) \ |
20363 | 1118 |
@$(ATTACH_OPTIONS_FILE) @$(ATTACH_PACKAGES_FILE) |
13697 | 1119 |
|
1120 |
# Create file with javadoc options in it |
|
1121 |
$(ATTACH_OPTIONS_FILE): |
|
1122 |
$(prep-target) |
|
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
1123 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
1124 |
$(call COMMON_JAVADOCTAGS) ; \ |
22033
c323078abaf4
8031081: Use separate doclint flags for different doc bundles
darcy
parents:
21759
diff
changeset
|
1125 |
$(call OptionOnly,-Xdoclint:none) ; \ |
36506 | 1126 |
$(call OptionPair,-system,none) ; \ |
1127 |
$(call OptionPair,-modulesourcepath,$(RELEASEDOCS_MODULESOURCEPATH)) ; \ |
|
1128 |
$(call OptionPair,-addmods,$(ATTACH_MODULES)) ; \ |
|
20363 | 1129 |
$(call OptionPair,-encoding,ascii) ; \ |
1130 |
$(call OptionOnly,-nodeprecatedlist) ; \ |
|
1131 |
$(call OptionPair,-doctitle,$(ATTACH_DOCTITLE)) ; \ |
|
1132 |
$(call OptionPair,-windowtitle,$(ATTACH_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
|
1133 |
$(call OptionPair,-header,$(ATTACH_HEADER)$(DRAFT_HEADER)) ; \ |
|
1134 |
$(call OptionPair,-bottom,$(ATTACH_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
|
13697 | 1135 |
$(call OptionTrip,-linkoffline,$(ATTACH2COREAPI),$(COREAPI_DOCSDIR)/); \ |
20363 | 1136 |
) >> $@ |
13697 | 1137 |
|
1138 |
# Create a file with the package names in it |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
1139 |
$(ATTACH_PACKAGES_FILE): $(call PackageDependencies,$(ATTACH_PKGS)) |
13697 | 1140 |
$(prep-target) |
1141 |
$(call PackageFilter,$(ATTACH_PKGS)) |
|
1142 |
||
1143 |
############################################################# |
|
1144 |
# |
|
1145 |
# jconsoledocs |
|
1146 |
# |
|
1147 |
||
1148 |
ALL_OTHER_TARGETS += jconsoledocs |
|
1149 |
||
20363 | 1150 |
JCONSOLE_DOCDIR := $(JDK_API_DOCSDIR)/jconsole/spec |
1151 |
JCONSOLE2COREAPI := ../../$(JDKJRE2COREAPI) |
|
1152 |
JCONSOLE_DOCTITLE := JConsole API |
|
13697 | 1153 |
JCONSOLE_WINDOWTITLE := JConsole API |
20363 | 1154 |
JCONSOLE_HEADER := <strong>JConsole API</strong> |
1155 |
JCONSOLE_BOTTOM := $(call CommonBottom,$(JCONSOLE_FIRST_COPYRIGHT_YEAR)) |
|
13697 | 1156 |
# JCONSOLE_PKGS is located in NON_CORE_PKGS.gmk |
1157 |
||
20363 | 1158 |
JCONSOLE_INDEX_HTML = $(JCONSOLE_DOCDIR)/index.html |
1159 |
JCONSOLE_OPTIONS_FILE = $(DOCSTMPDIR)/jconsole.options |
|
13697 | 1160 |
JCONSOLE_PACKAGES_FILE = $(DOCSTMPDIR)/jconsole.packages |
1161 |
||
36506 | 1162 |
# The modules required to be documented |
1163 |
JCONSOLE_MODULES = jdk.jconsole |
|
1164 |
||
13697 | 1165 |
jconsoledocs: $(JCONSOLE_INDEX_HTML) |
1166 |
||
1167 |
# Set relative location to core api document root |
|
1168 |
$(JCONSOLE_INDEX_HTML): GET2DOCSDIR=$(JCONSOLE2COREAPI)/.. |
|
1169 |
||
1170 |
# Run javadoc if the index file is out of date or missing |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
1171 |
$(JCONSOLE_INDEX_HTML): $(JCONSOLE_OPTIONS_FILE) $(JCONSOLE_PACKAGES_FILE) $(COREAPI_INDEX_FILE) |
13697 | 1172 |
$(prep-javadoc) |
1173 |
$(call JavadocSummary,$(JCONSOLE_OPTIONS_FILE),$(JCONSOLE_PACKAGES_FILE)) |
|
29176
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
1174 |
$(JAVADOC_CMD_SMALL) -d $(@D) \ |
20363 | 1175 |
@$(JCONSOLE_OPTIONS_FILE) @$(JCONSOLE_PACKAGES_FILE) |
13697 | 1176 |
|
1177 |
# Create file with javadoc options in it |
|
1178 |
$(JCONSOLE_OPTIONS_FILE): |
|
1179 |
$(prep-target) |
|
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
1180 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
1181 |
$(call COMMON_JAVADOCTAGS) ; \ |
22033
c323078abaf4
8031081: Use separate doclint flags for different doc bundles
darcy
parents:
21759
diff
changeset
|
1182 |
$(call OptionOnly,-Xdoclint:none) ; \ |
36506 | 1183 |
$(call OptionPair,-system,none) ; \ |
1184 |
$(call OptionPair,-modulesourcepath,$(RELEASEDOCS_MODULESOURCEPATH)) ; \ |
|
1185 |
$(call OptionPair,-addmods,$(JCONSOLE_MODULES)) ; \ |
|
20363 | 1186 |
$(call OptionPair,-encoding,ascii) ; \ |
1187 |
$(call OptionOnly,-nodeprecatedlist) ; \ |
|
1188 |
$(call OptionPair,-doctitle,$(JCONSOLE_DOCTITLE)) ; \ |
|
1189 |
$(call OptionPair,-windowtitle,$(JCONSOLE_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
|
1190 |
$(call OptionPair,-header,$(JCONSOLE_HEADER)$(DRAFT_HEADER)) ; \ |
|
1191 |
$(call OptionPair,-bottom,$(JCONSOLE_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
|
13697 | 1192 |
$(call OptionTrip,-linkoffline,$(JCONSOLE2COREAPI),$(COREAPI_DOCSDIR)/); \ |
20363 | 1193 |
) >> $@ |
13697 | 1194 |
|
1195 |
# Create a file with the package names in it |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
1196 |
$(JCONSOLE_PACKAGES_FILE): $(call PackageDependencies,$(JCONSOLE_PKGS)) |
13697 | 1197 |
$(prep-target) |
1198 |
$(call PackageFilter,$(JCONSOLE_PKGS)) |
|
1199 |
||
1200 |
############################################################# |
|
1201 |
# |
|
1202 |
# treeapidocs |
|
1203 |
# |
|
1204 |
||
1205 |
ALL_OTHER_TARGETS += treeapidocs |
|
1206 |
||
20363 | 1207 |
TREEAPI_DOCDIR := $(JDK_API_DOCSDIR)/javac/tree |
1208 |
TREEAPI2COREAPI := ../../$(JDKJRE2COREAPI) |
|
1209 |
TREEAPI_DOCTITLE := Compiler Tree API |
|
1210 |
TREEAPI_WINDOWTITLE := Compiler Tree API |
|
1211 |
TREEAPI_HEADER := <strong>Compiler Tree API</strong> |
|
1212 |
TREEAPI_BOTTOM := $(call CommonBottom,$(TREEAPI_FIRST_COPYRIGHT_YEAR)) |
|
1213 |
TREEAPI_GROUPNAME := Packages |
|
1214 |
TREEAPI_REGEXP := com.sun.source.* |
|
13697 | 1215 |
# TREEAPI_PKGS is located in NON_CORE_PKGS.gmk |
1216 |
||
20363 | 1217 |
TREEAPI_INDEX_HTML = $(TREEAPI_DOCDIR)/index.html |
1218 |
TREEAPI_OPTIONS_FILE = $(DOCSTMPDIR)/treeapi.options |
|
13697 | 1219 |
TREEAPI_PACKAGES_FILE = $(DOCSTMPDIR)/treeapi.packages |
1220 |
||
36506 | 1221 |
# The modules required to be documented |
1222 |
TREEAPI_MODULES = jdk.compiler |
|
1223 |
||
13697 | 1224 |
treeapidocs: $(TREEAPI_INDEX_HTML) |
1225 |
||
1226 |
# Set relative location to core api document root |
|
1227 |
$(TREEAPI_INDEX_HTML): GET2DOCSDIR=$(TREEAPI2COREAPI)/.. |
|
1228 |
||
1229 |
# Run javadoc if the index file is out of date or missing |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
1230 |
$(TREEAPI_INDEX_HTML): $(TREEAPI_OPTIONS_FILE) $(TREEAPI_PACKAGES_FILE) $(COREAPI_INDEX_FILE) |
13697 | 1231 |
$(prep-javadoc) |
1232 |
$(call JavadocSummary,$(TREEAPI_OPTIONS_FILE),$(TREEAPI_PACKAGES_FILE)) |
|
29176
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
1233 |
$(JAVADOC_CMD_SMALL) -d $(@D) \ |
20363 | 1234 |
@$(TREEAPI_OPTIONS_FILE) @$(TREEAPI_PACKAGES_FILE) |
13697 | 1235 |
|
1236 |
# Create file with javadoc options in it |
|
1237 |
$(TREEAPI_OPTIONS_FILE): |
|
1238 |
$(prep-target) |
|
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
1239 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
1240 |
$(call COMMON_JAVADOCTAGS) ; \ |
25043
b5598c2ddf6f
8048302: Update bug reporting URL in make/Javadoc.gmk
darcy
parents:
24232
diff
changeset
|
1241 |
$(call OptionOnly,-Xdoclint:all) ; \ |
36506 | 1242 |
$(call OptionPair,-system,none) ; \ |
1243 |
$(call OptionPair,-modulesourcepath,$(RELEASEDOCS_MODULESOURCEPATH)) ; \ |
|
1244 |
$(call OptionPair,-addmods,$(TREEAPI_MODULES)) ; \ |
|
20363 | 1245 |
$(call OptionPair,-encoding,ascii) ; \ |
1246 |
$(call OptionPair,-doctitle,$(TREEAPI_DOCTITLE)) ; \ |
|
1247 |
$(call OptionPair,-windowtitle,$(TREEAPI_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
|
1248 |
$(call OptionPair,-header,$(TREEAPI_HEADER)$(DRAFT_HEADER)) ; \ |
|
1249 |
$(call OptionPair,-bottom,$(TREEAPI_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
|
13697 | 1250 |
$(call OptionTrip,-group,$(TREEAPI_GROUPNAME),$(TREEAPI_REGEXP)); \ |
1251 |
$(call OptionTrip,-linkoffline,$(TREEAPI2COREAPI),$(COREAPI_DOCSDIR)/); \ |
|
20363 | 1252 |
) >> $@ |
13697 | 1253 |
|
1254 |
# Create a file with the package names in it |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
1255 |
$(TREEAPI_PACKAGES_FILE): $(call PackageDependencies,$(TREEAPI_PKGS)) |
13697 | 1256 |
$(prep-target) |
1257 |
$(call PackageFilter,$(TREEAPI_PKGS)) |
|
1258 |
||
1259 |
############################################################# |
|
1260 |
# |
|
27596
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1261 |
# nashornapidocs |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1262 |
# |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1263 |
|
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1264 |
ALL_OTHER_TARGETS += nashornapidocs |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1265 |
|
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1266 |
NASHORNAPI_DOCDIR := $(JDK_API_DOCSDIR)/nashorn |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1267 |
NASHORNAPI2COREAPI := ../$(JDKJRE2COREAPI) |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1268 |
NASHORNAPI_DOCTITLE := Nashorn API |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1269 |
NASHORNAPI_WINDOWTITLE := Nashorn API |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1270 |
NASHORNAPI_HEADER := <strong>Nashorn API</strong> |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1271 |
NASHORNAPI_BOTTOM := $(call CommonBottom,$(NASHORNAPI_FIRST_COPYRIGHT_YEAR)) |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1272 |
NASHORNAPI_GROUPNAME := Packages |
30416
6216eb71e929
8079900: javadoc is missing for jdk.nashorn.api.tree package
sundar
parents:
29851
diff
changeset
|
1273 |
NASHORNAPI_REGEXP := jdk.nashorn.api.* |
27596
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1274 |
# NASHORNAPI_PKGS is located in NON_CORE_PKGS.gmk |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1275 |
|
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1276 |
NASHORNAPI_INDEX_HTML = $(NASHORNAPI_DOCDIR)/index.html |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1277 |
NASHORNAPI_OPTIONS_FILE = $(DOCSTMPDIR)/nashornapi.options |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1278 |
NASHORNAPI_PACKAGES_FILE = $(DOCSTMPDIR)/nashornapi.packages |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1279 |
|
36506 | 1280 |
# The modules required to be documented |
1281 |
NASHORNAPI_MODULES = jdk.scripting.nashorn |
|
1282 |
||
27596
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1283 |
nashornapidocs: $(NASHORNAPI_INDEX_HTML) |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1284 |
|
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1285 |
# Set relative location to core api document root |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1286 |
$(NASHORNAPI_INDEX_HTML): GET2DOCSDIR=$(NASHORNAPI2COREAPI)/.. |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1287 |
|
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1288 |
# Run javadoc if the index file is out of date or missing |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1289 |
$(NASHORNAPI_INDEX_HTML): $(NASHORNAPI_OPTIONS_FILE) $(NASHORNAPI_PACKAGES_FILE) $(COREAPI_INDEX_FILE) |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1290 |
$(prep-javadoc) |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1291 |
$(call JavadocSummary,$(NASHORNAPI_OPTIONS_FILE),$(NASHORNAPI_PACKAGES_FILE)) |
29176
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
1292 |
$(JAVADOC_CMD_SMALL) -d $(@D) \ |
27596
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1293 |
@$(NASHORNAPI_OPTIONS_FILE) @$(NASHORNAPI_PACKAGES_FILE) |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1294 |
|
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1295 |
# Create file with javadoc options in it |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1296 |
$(NASHORNAPI_OPTIONS_FILE): |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1297 |
$(prep-target) |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1298 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1299 |
$(call COMMON_JAVADOCTAGS) ; \ |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1300 |
$(call OptionOnly,-Xdoclint:all) ; \ |
36506 | 1301 |
$(call OptionPair,-system,none) ; \ |
1302 |
$(call OptionPair,-modulesourcepath,$(RELEASEDOCS_MODULESOURCEPATH)) ; \ |
|
1303 |
$(call OptionPair,-addmods,$(NASHORNAPI_MODULES)) ; \ |
|
27596
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1304 |
$(call OptionPair,-encoding,ascii) ; \ |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1305 |
$(call OptionPair,-doctitle,$(NASHORNAPI_DOCTITLE)) ; \ |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1306 |
$(call OptionPair,-windowtitle,$(NASHORNAPI_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1307 |
$(call OptionPair,-header,$(NASHORNAPI_HEADER)$(DRAFT_HEADER)) ; \ |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1308 |
$(call OptionPair,-bottom,$(NASHORNAPI_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1309 |
$(call OptionTrip,-group,$(NASHORNAPI_GROUPNAME),$(NASHORNAPI_REGEXP)); \ |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1310 |
$(call OptionTrip,-linkoffline,$(NASHORNAPI2COREAPI),$(COREAPI_DOCSDIR)/); \ |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1311 |
) >> $@ |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1312 |
|
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1313 |
# Create a file with the package names in it |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1314 |
$(NASHORNAPI_PACKAGES_FILE): $(call PackageDependencies,$(NASHORNAPI_PKGS)) |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1315 |
$(prep-target) |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1316 |
$(call PackageFilter,$(NASHORNAPI_PKGS)) |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1317 |
|
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1318 |
############################################################# |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1319 |
# |
35369
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1320 |
# dynalinkapidocs |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1321 |
# |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1322 |
|
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1323 |
ALL_OTHER_TARGETS += dynalinkapidocs |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1324 |
|
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1325 |
DYNALINKAPI_DOCDIR := $(JDK_API_DOCSDIR)/dynalink |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1326 |
DYNALINKAPI2COREAPI := ../$(JDKJRE2COREAPI) |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1327 |
DYNALINKAPI_DOCTITLE := Dynalink API |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1328 |
DYNALINKAPI_WINDOWTITLE := Dynalink API |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1329 |
DYNALINKAPI_HEADER := <strong>Dynalink API</strong> |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1330 |
DYNALINKAPI_BOTTOM := $(call CommonBottom,$(DYNALINKAPI_FIRST_COPYRIGHT_YEAR)) |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1331 |
DYNALINKAPI_GROUPNAME := Packages |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1332 |
DYNALINKAPI_REGEXP := jdk.dynalink.* |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1333 |
# DYNALINKAPI_PKGS is located in NON_CORE_PKGS.gmk |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1334 |
|
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1335 |
DYNALINKAPI_INDEX_HTML = $(DYNALINKAPI_DOCDIR)/index.html |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1336 |
DYNALINKAPI_OPTIONS_FILE = $(DOCSTMPDIR)/dynalinkapi.options |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1337 |
DYNALINKAPI_PACKAGES_FILE = $(DOCSTMPDIR)/dynalinkapi.packages |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1338 |
|
36506 | 1339 |
# The modules required to be documented |
1340 |
DYNALINKAPI_MODULES = jdk.dynalink |
|
1341 |
||
35369
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1342 |
dynalinkapidocs: $(DYNALINKAPI_INDEX_HTML) |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1343 |
|
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1344 |
# Set relative location to core api document root |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1345 |
$(DYNALINKAPI_INDEX_HTML): GET2DOCSDIR=$(DYNALINKAPI2COREAPI)/.. |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1346 |
|
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1347 |
# Run javadoc if the index file is out of date or missing |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1348 |
$(DYNALINKAPI_INDEX_HTML): $(DYNALINKAPI_OPTIONS_FILE) $(DYNALINKAPI_PACKAGES_FILE) $(COREAPI_INDEX_FILE) |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1349 |
$(prep-javadoc) |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1350 |
$(call JavadocSummary,$(DYNALINKAPI_OPTIONS_FILE),$(DYNALINKAPI_PACKAGES_FILE)) |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1351 |
$(JAVADOC_CMD_SMALL) -d $(@D) \ |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1352 |
@$(DYNALINKAPI_OPTIONS_FILE) @$(DYNALINKAPI_PACKAGES_FILE) |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1353 |
|
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1354 |
# Create file with javadoc options in it |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1355 |
$(DYNALINKAPI_OPTIONS_FILE): |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1356 |
$(prep-target) |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1357 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1358 |
$(call COMMON_JAVADOCTAGS) ; \ |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1359 |
$(call OptionOnly,-Xdoclint:all) ; \ |
36506 | 1360 |
$(call OptionPair,-system,none) ; \ |
1361 |
$(call OptionPair,-modulesourcepath,$(RELEASEDOCS_MODULESOURCEPATH)) ; \ |
|
1362 |
$(call OptionPair,-addmods,$(DYNALINKAPI_MODULES)) ; \ |
|
35369
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1363 |
$(call OptionPair,-encoding,ascii) ; \ |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1364 |
$(call OptionPair,-doctitle,$(DYNALINKAPI_DOCTITLE)) ; \ |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1365 |
$(call OptionPair,-windowtitle,$(DYNALINKAPI_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1366 |
$(call OptionPair,-header,$(DYNALINKAPI_HEADER)$(DRAFT_HEADER)) ; \ |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1367 |
$(call OptionPair,-bottom,$(DYNALINKAPI_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1368 |
$(call OptionTrip,-group,$(DYNALINKAPI_GROUPNAME),$(DYNALINKAPI_REGEXP)); \ |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1369 |
$(call OptionTrip,-linkoffline,$(DYNALINKAPI2COREAPI),$(COREAPI_DOCSDIR)/); \ |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1370 |
) >> $@ |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1371 |
|
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1372 |
# Create a file with the package names in it |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1373 |
$(DYNALINKAPI_PACKAGES_FILE): $(call PackageDependencies,$(DYNALINKAPI_PKGS)) |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1374 |
$(prep-target) |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1375 |
$(call PackageFilter,$(DYNALINKAPI_PKGS)) |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1376 |
|
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1377 |
############################################################# |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1378 |
# |
13697 | 1379 |
# sctpdocs |
1380 |
# |
|
1381 |
||
1382 |
ALL_OTHER_TARGETS += sctpdocs |
|
1383 |
||
20363 | 1384 |
SCTPAPI_DOCDIR := $(JRE_API_DOCSDIR)/nio/sctp/spec |
1385 |
SCTPAPI2COREAPI := ../../../$(JDKJRE2COREAPI) |
|
1386 |
SCTPAPI_DOCTITLE := SCTP API |
|
13697 | 1387 |
SCTPAPI_WINDOWTITLE := SCTP API |
20363 | 1388 |
SCTPAPI_HEADER := <strong>SCTP API</strong> |
1389 |
SCTPAPI_BOTTOM := $(call CommonBottom,$(SCTPAPI_FIRST_COPYRIGHT_YEAR)) |
|
13697 | 1390 |
# SCTPAPI_PKGS is located in NON_CORE_PKGS.gmk |
1391 |
||
20363 | 1392 |
SCTPAPI_INDEX_HTML = $(SCTPAPI_DOCDIR)/index.html |
1393 |
SCTPAPI_OPTIONS_FILE = $(DOCSTMPDIR)/sctp.options |
|
13697 | 1394 |
SCTPAPI_PACKAGES_FILE = $(DOCSTMPDIR)/sctp.packages |
1395 |
||
36506 | 1396 |
# The modules required to be documented |
1397 |
SCTPAPI_MODULES = jdk.sctp |
|
1398 |
||
13697 | 1399 |
sctpdocs: $(SCTPAPI_INDEX_HTML) |
1400 |
||
1401 |
# Set relative location to core api document root |
|
1402 |
$(SCTPAPI_INDEX_HTML): GET2DOCSDIR=$(SCTPAPI2COREAPI)/.. |
|
1403 |
||
1404 |
# Run javadoc if the index file is out of date or missing |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
1405 |
$(SCTPAPI_INDEX_HTML): $(SCTPAPI_OPTIONS_FILE) $(SCTPAPI_PACKAGES_FILE) $(COREAPI_INDEX_FILE) |
13697 | 1406 |
$(prep-javadoc) |
1407 |
$(call JavadocSummary,$(SCTPAPI_OPTIONS_FILE),$(SCTPAPI_PACKAGES_FILE)) |
|
29176
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
1408 |
$(JAVADOC_CMD_SMALL) -d $(@D) \ |
20363 | 1409 |
@$(SCTPAPI_OPTIONS_FILE) @$(SCTPAPI_PACKAGES_FILE) |
13697 | 1410 |
|
1411 |
# Create file with javadoc options in it |
|
1412 |
$(SCTPAPI_OPTIONS_FILE): |
|
1413 |
$(prep-target) |
|
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
1414 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
1415 |
$(call COMMON_JAVADOCTAGS) ; \ |
22033
c323078abaf4
8031081: Use separate doclint flags for different doc bundles
darcy
parents:
21759
diff
changeset
|
1416 |
$(call OptionOnly,-Xdoclint:none) ; \ |
36506 | 1417 |
$(call OptionPair,-system,none) ; \ |
1418 |
$(call OptionPair,-modulesourcepath,$(RELEASEDOCS_MODULESOURCEPATH)) ; \ |
|
1419 |
$(call OptionPair,-addmods,$(SCTPAPI_MODULES)) ; \ |
|
20363 | 1420 |
$(call OptionPair,-encoding,ascii) ; \ |
1421 |
$(call OptionOnly,-nodeprecatedlist) ; \ |
|
1422 |
$(call OptionPair,-doctitle,$(SCTPAPI_DOCTITLE)) ; \ |
|
1423 |
$(call OptionPair,-windowtitle,$(SCTPAPI_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
|
1424 |
$(call OptionPair,-header,$(SCTPAPI_HEADER)$(DRAFT_HEADER)) ; \ |
|
1425 |
$(call OptionPair,-bottom,$(SCTPAPI_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
|
13697 | 1426 |
$(call OptionTrip,-linkoffline,$(SCTPAPI2COREAPI),$(COREAPI_DOCSDIR)/); \ |
20363 | 1427 |
) >> $@ |
13697 | 1428 |
|
1429 |
# Create a file with the package names in it |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
1430 |
$(SCTPAPI_PACKAGES_FILE): $(call PackageDependencies,$(SCTPAPI_PKGS)) |
13697 | 1431 |
$(prep-target) |
1432 |
$(call PackageFilter,$(SCTPAPI_PKGS)) |
|
1433 |
||
1434 |
############################################################# |
|
1435 |
# |
|
29851
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1436 |
# jaccessdocs - Java Accessibility Utilities |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1437 |
# |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1438 |
|
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1439 |
ALL_OTHER_TARGETS += jaccessdocs |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1440 |
|
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1441 |
JACCESSAPI_DOCDIR := $(JRE_API_DOCSDIR)/accessibility/jaccess/spec |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1442 |
JACCESSAPI2COREAPI := ../../../$(JDKJRE2COREAPI) |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1443 |
JACCESSAPI_DOCTITLE := JACCESS API |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1444 |
JACCESSAPI_WINDOWTITLE := JACCESS API |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1445 |
JACCESSAPI_HEADER := <strong>JACCESS API</strong> |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1446 |
JACCESSAPI_BOTTOM := $(call CommonBottom,$(JACCESSAPI_FIRST_COPYRIGHT_YEAR)) |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1447 |
# JACCESSAPI_PKGS is located in NON_CORE_PKGS.gmk |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1448 |
|
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1449 |
JACCESSAPI_INDEX_HTML = $(JACCESSAPI_DOCDIR)/index.html |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1450 |
JACCESSAPI_OPTIONS_FILE = $(DOCSTMPDIR)/jaccess.options |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1451 |
JACCESSAPI_PACKAGES_FILE = $(DOCSTMPDIR)/jaccess.packages |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1452 |
|
36506 | 1453 |
# The modules required to be documented |
1454 |
JACCESSAPI_MODULES = jdk.accessibility |
|
1455 |
||
29851
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1456 |
jaccessdocs: $(JACCESSAPI_INDEX_HTML) |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1457 |
|
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1458 |
# Set relative location to core api document root |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1459 |
$(JACCESSAPI_INDEX_HTML): GET2DOCSDIR=$(JACCESSAPI2COREAPI)/.. |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1460 |
|
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1461 |
# Run javadoc if the index file is out of date or missing |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1462 |
$(JACCESSAPI_INDEX_HTML): $(JACCESSAPI_OPTIONS_FILE) $(JACCESSAPI_PACKAGES_FILE) $(COREAPI_INDEX_FILE) |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1463 |
$(prep-javadoc) |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1464 |
$(call JavadocSummary,$(JACCESSAPI_OPTIONS_FILE),$(JACCESSAPI_PACKAGES_FILE)) |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1465 |
$(JAVADOC_CMD) -d $(@D) \ |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1466 |
@$(JACCESSAPI_OPTIONS_FILE) @$(JACCESSAPI_PACKAGES_FILE) |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1467 |
|
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1468 |
# Create file with javadoc options in it |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1469 |
$(JACCESSAPI_OPTIONS_FILE): |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1470 |
$(prep-target) |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1471 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1472 |
$(call COMMON_JAVADOCTAGS) ; \ |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1473 |
$(call OptionOnly,-Xdoclint:all) ; \ |
36506 | 1474 |
$(call OptionPair,-system,none) ; \ |
1475 |
$(call OptionPair,-modulesourcepath,$(RELEASEDOCS_MODULESOURCEPATH)) ; \ |
|
1476 |
$(call OptionPair,-addmods,$(JACCESSAPI_MODULES)) ; \ |
|
29851
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1477 |
$(call OptionPair,-encoding,ascii) ; \ |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1478 |
$(call OptionOnly,-nodeprecatedlist) ; \ |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1479 |
$(call OptionPair,-doctitle,$(JACCESSAPI_DOCTITLE)) ; \ |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1480 |
$(call OptionPair,-windowtitle,$(JACCESSAPI_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1481 |
$(call OptionPair,-header,$(JACCESSAPI_HEADER)$(DRAFT_HEADER)) ; \ |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1482 |
$(call OptionPair,-bottom,$(JACCESSAPI_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1483 |
$(call OptionTrip,-linkoffline,$(JACCESSAPI2COREAPI),$(COREAPI_DOCSDIR)/); \ |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1484 |
) >> $@ |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1485 |
|
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1486 |
# Create a file with the package names in it |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1487 |
$(JACCESSAPI_PACKAGES_FILE): $(call PackageDependencies,$(JACCESSAPI_PKGS)) |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1488 |
$(prep-target) |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1489 |
$(call PackageFilter,$(JACCESSAPI_PKGS)) |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1490 |
|
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1491 |
############################################################# |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1492 |
# |
23836
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1493 |
# jdk.net docs |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1494 |
# |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1495 |
|
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1496 |
ALL_OTHER_TARGETS += jdknetdocs |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1497 |
|
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1498 |
JDKNET_DOCDIR := $(JRE_API_DOCSDIR)/net/socketoptions/spec |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1499 |
JDKNET2COREAPI := ../../../$(JDKJRE2COREAPI) |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1500 |
JDKNET_DOCTITLE := jdk.net API |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1501 |
JDKNET_WINDOWTITLE := jdk.net API |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1502 |
JDKNET_HEADER := <strong>jdk.net API</strong> |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1503 |
JDKNET_BOTTOM := $(call CommonBottom,$(JDKNET_FIRST_COPYRIGHT_YEAR)) |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1504 |
JDKNET_PKGS := jdk.net |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1505 |
|
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1506 |
JDKNET_INDEX_HTML = $(JDKNET_DOCDIR)/index.html |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1507 |
JDKNET_OPTIONS_FILE = $(DOCSTMPDIR)/jdknet.options |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1508 |
JDKNET_PACKAGES_FILE = $(DOCSTMPDIR)/jdknet.packages |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1509 |
|
36506 | 1510 |
# The modules required to be documented |
1511 |
JDKNET_MODULES = java.base |
|
1512 |
||
23836
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1513 |
jdknetdocs: $(JDKNET_INDEX_HTML) |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1514 |
|
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1515 |
# Set relative location to core api document root |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1516 |
$(JDKNET_INDEX_HTML): GET2DOCSDIR=$(JDKNET2COREAPI)/.. |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1517 |
|
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1518 |
# Run javadoc if the index file is out of date or missing |
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
1519 |
$(JDKNET_INDEX_HTML): $(JDKNET_OPTIONS_FILE) $(JDKNET_PACKAGES_FILE) $(COREAPI_INDEX_FILE) |
23836
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1520 |
$(prep-javadoc) |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1521 |
$(call JavadocSummary,$(JDKNET_OPTIONS_FILE),$(JDKNET_PACKAGES_FILE)) |
29176
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
1522 |
$(JAVADOC_CMD_SMALL) -d $(@D) \ |
23836
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1523 |
@$(JDKNET_OPTIONS_FILE) @$(JDKNET_PACKAGES_FILE) |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1524 |
|
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1525 |
# Create file with javadoc options in it |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1526 |
$(JDKNET_OPTIONS_FILE): |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1527 |
$(prep-target) |
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
1528 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
1529 |
$(call COMMON_JAVADOCTAGS) ; \ |
23836
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1530 |
$(call OptionOnly,-Xdoclint:none) ; \ |
36506 | 1531 |
$(call OptionPair,-system,none) ; \ |
1532 |
$(call OptionPair,-modulesourcepath,$(RELEASEDOCS_MODULESOURCEPATH)) ; \ |
|
1533 |
$(call OptionPair,-addmods,$(JDKNET_MODULES)) ; \ |
|
23836
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1534 |
$(call OptionPair,-encoding,ascii) ; \ |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1535 |
$(call OptionOnly,-nodeprecatedlist) ; \ |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1536 |
$(call OptionPair,-doctitle,$(JDKNET_DOCTITLE)) ; \ |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1537 |
$(call OptionPair,-windowtitle,$(JDKNET_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1538 |
$(call OptionPair,-header,$(JDKNET_HEADER)$(DRAFT_HEADER)); \ |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1539 |
$(call OptionPair,-bottom,$(JDKNET_BOTTOM)$(DRAFT_BOTTOM)); \ |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1540 |
$(call OptionTrip,-linkoffline,$(JDKNET2COREAPI),$(COREAPI_DOCSDIR)/); \ |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1541 |
) >> $@ |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1542 |
|
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1543 |
# Create a file with the package names in it |
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
1544 |
$(JDKNET_PACKAGES_FILE): $(call PackageDependencies,$(JDKNET_PKGS)) |
23836
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1545 |
$(prep-target) |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1546 |
$(call PackageFilter,$(JDKNET_PKGS)) |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1547 |
|
36506 | 1548 |
############################################################# |
1549 |
# |
|
1550 |
# jlink plugin API docs |
|
1551 |
# |
|
1552 |
# TODO: Need to decide when the plugin API is ready to publish as experimental API. |
|
1553 |
# This target is temporarily added for internal use for now. |
|
1554 |
# |
|
1555 |
||
1556 |
ALL_OTHER_TARGETS += jlinkdocs |
|
1557 |
||
1558 |
JLINK_PLUGIN_FIRST_COPYRIGHT_YEAR = 2015 |
|
1559 |
JLINK_PLUGIN_DOCDIR := $(JDK_API_DOCSDIR)/jlink |
|
1560 |
JLINK_PLUGIN2COREAPI := ../$(JDKJRE2COREAPI) |
|
1561 |
JLINK_PLUGIN_DOCTITLE := JLink Plugin API - EXPERIMENTAL |
|
1562 |
JLINK_PLUGIN_WINDOWTITLE := JLink Plugin API - EXPERIMENTAL |
|
1563 |
JLINK_PLUGIN_HEADER := <strong>JLink Plugin API - EXPERIMENTAL</strong> |
|
1564 |
JLINK_PLUGIN_BOTTOM := $(call CommonBottom,$(JLINK_PLUGIN_FIRST_COPYRIGHT_YEAR)) |
|
1565 |
JLINK_PLUGIN_PKGS = jdk.tools.jlink \ |
|
1566 |
jdk.tools.jlink.builder \ |
|
1567 |
jdk.tools.jlink.plugin |
|
1568 |
||
1569 |
JLINK_PLUGIN_INDEX_HTML = $(JLINK_PLUGIN_DOCDIR)/index.html |
|
1570 |
JLINK_PLUGIN_OPTIONS_FILE = $(DOCSTMPDIR)/jlinkplugins.options |
|
1571 |
JLINK_PLUGIN_PACKAGES_FILE = $(DOCSTMPDIR)/jlinkplugins.packages |
|
1572 |
||
1573 |
# The modules required to be documented |
|
1574 |
JLINK_PLUGIN_MODULES = jdk.jlink |
|
1575 |
||
1576 |
jlinkdocs: $(JLINK_PLUGIN_INDEX_HTML) |
|
1577 |
||
1578 |
# Set relative location to core api document root |
|
1579 |
$(JLINK_PLUGIN_INDEX_HTML): GET2DOCSDIR=$(JLINK_PLUGIN2COREAPI)/.. |
|
1580 |
||
1581 |
# Run javadoc if the index file is out of date or missing |
|
1582 |
$(JLINK_PLUGIN_INDEX_HTML): $(JLINK_PLUGIN_OPTIONS_FILE) $(JLINK_PLUGIN_PACKAGES_FILE) $(COREAPI_INDEX_FILE) |
|
1583 |
$(prep-javadoc) |
|
1584 |
$(call JavadocSummary,$(JLINK_PLUGIN_OPTIONS_FILE),$(JLINK_PLUGIN_PACKAGES_FILE)) |
|
1585 |
$(JAVADOC_CMD_SMALL) -d $(@D) \ |
|
1586 |
@$(JLINK_PLUGIN_OPTIONS_FILE) @$(JLINK_PLUGIN_PACKAGES_FILE) |
|
1587 |
||
1588 |
# Create file with javadoc options in it |
|
1589 |
$(JLINK_PLUGIN_OPTIONS_FILE): |
|
1590 |
$(prep-target) |
|
1591 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
|
1592 |
$(call COMMON_JAVADOCTAGS) ; \ |
|
1593 |
$(call OptionOnly,-Xdoclint:none) ; \ |
|
1594 |
$(call OptionPair,-system,none) ; \ |
|
1595 |
$(call OptionPair,-modulesourcepath,$(RELEASEDOCS_MODULESOURCEPATH)) ; \ |
|
1596 |
$(call OptionPair,-addmods,$(JLINK_PLUGIN_MODULES)) ; \ |
|
1597 |
$(call OptionPair,-encoding,ascii) ; \ |
|
1598 |
$(call OptionOnly,-nodeprecatedlist) ; \ |
|
1599 |
$(call OptionPair,-doctitle,$(JLINK_PLUGIN_DOCTITLE)) ; \ |
|
1600 |
$(call OptionPair,-windowtitle,$(JLINK_PLUGIN_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
|
1601 |
$(call OptionPair,-header,$(JLINK_PLUGIN_HEADER)$(DRAFT_HEADER)); \ |
|
1602 |
$(call OptionPair,-bottom,$(JLINK_PLUGIN_BOTTOM)$(DRAFT_BOTTOM)); \ |
|
1603 |
$(call OptionTrip,-linkoffline,$(JLINK_PLUGIN2COREAPI),$(COREAPI_DOCSDIR)/); \ |
|
1604 |
) >> $@ |
|
1605 |
||
1606 |
# Create a file with the package names in it |
|
1607 |
$(JLINK_PLUGIN_PACKAGES_FILE): $(call PackageDependencies,$(JLINK_PLUGIN_PKGS)) |
|
1608 |
$(prep-target) |
|
1609 |
$(call PackageFilter,$(JLINK_PLUGIN_PKGS)) |
|
1610 |
||
13697 | 1611 |
|
1612 |
otherdocs: $(ALL_OTHER_TARGETS) |
|
1613 |
||
1614 |
############################################################# |
|
33926
3a19edba4808
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30416
diff
changeset
|
1615 |
.PHONY: all docs coredocs otherdocs \ |
3a19edba4808
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30416
diff
changeset
|
1616 |
$(ALL_OTHER_TARGETS) |