author | shade |
Tue, 02 Feb 2016 18:15:15 +0300 | |
changeset 35639 | f34e7e8b4eac |
parent 35369 | a68e46d94261 |
child 35817 | 007e71c3b8c4 |
permissions | -rw-r--r-- |
29851
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1 |
# Copyright (c) 1997, 2015, 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 \ |
141 |
$(JDK_TOPDIR)/src/*/share/classes \ |
|
27586
e7cfdc266a70
8058631: Rename posix to unix in build system to match file name changes
ihse
parents:
27328
diff
changeset
|
142 |
$(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
|
143 |
$(JDK_TOPDIR)/src/*/$(OPENJDK_TARGET_OS_TYPE)/classes \ |
25854 | 144 |
$(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
|
145 |
$(NASHORN_TOPDIR)/src/*/share/classes \ |
25854 | 146 |
$(CORBA_TOPDIR)/src/*/share/classes \ |
147 |
$(JAXP_TOPDIR)/src/*/share/classes \ |
|
148 |
$(JAXWS_TOPDIR)/src/*/share/classes \ |
|
27560 | 149 |
$(SUPPORT_OUTPUTDIR)/gensrc/j* \ |
150 |
$(SUPPORT_OUTPUTDIR)/rmic/j* \ |
|
25854 | 151 |
$(JDK_TOPDIR)/src/*/share/doc/stub \ |
152 |
) \ |
|
153 |
# |
|
13697 | 154 |
|
155 |
# List with classpath separator between them |
|
156 |
EMPTY:= |
|
157 |
SPACE:= $(EMPTY) $(EMPTY) |
|
158 |
RELEASEDOCS_SOURCEPATH = \ |
|
15052 | 159 |
$(subst $(SPACE),$(PATH_SEP),$(strip $(ALL_SOURCE_DIRS))) |
13697 | 160 |
|
161 |
define prep-target |
|
20363 | 162 |
$(MKDIR) -p $(@D) |
163 |
$(RM) $@ |
|
13697 | 164 |
endef |
165 |
||
166 |
# Prep for javadoc creation, assumes $@ is an index.html file |
|
167 |
define prep-javadoc |
|
20363 | 168 |
@if [ -f "$@" -a "$?" != "" ] ; then \ |
169 |
$(ECHO) "# Dependencies have changed: $?"; \ |
|
170 |
fi |
|
171 |
$(RM) -r $(@D) |
|
172 |
$(MKDIR) -p $(@D) |
|
13697 | 173 |
endef |
174 |
||
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
175 |
$(eval $(call FillCacheFind, $(ALL_SOURCE_DIRS))) |
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
176 |
define PackageDependencies |
25854 | 177 |
$(call CacheFind, $(wildcard $(foreach p, $(subst .,/,$1), $(addsuffix /$p, $(ALL_SOURCE_DIRS))))) |
13697 | 178 |
endef |
179 |
||
180 |
# Given a list of packages, add packages that exist to $@, print summary |
|
181 |
define PackageFilter # packages |
|
20363 | 182 |
@if [ "$1" != "" ] ; then \ |
183 |
for p in $1 ; do \ |
|
184 |
pd=`$(ECHO) $${p} | $(SED) -e 's@[.]@/@g'`; \ |
|
185 |
found="false"; \ |
|
186 |
for cp in $(ALL_SOURCE_DIRS) ; do \ |
|
187 |
if [ -d $${cp}/$${pd} ] ; then \ |
|
188 |
$(ECHO) "$${p}" >> $@; \ |
|
189 |
found="true"; \ |
|
190 |
break; \ |
|
191 |
fi; \ |
|
192 |
done; \ |
|
193 |
if [ "$${found}" = "false" ] ; then \ |
|
194 |
$(ECHO) "WARNING: Package not found: $${p}"; \ |
|
195 |
fi; \ |
|
196 |
done; \ |
|
197 |
fi |
|
13697 | 198 |
endef |
199 |
||
200 |
# Print out a summary of the javadoc command about to be run |
|
201 |
define JavadocSummary # optionsfile packagesfile |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
202 |
@$(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
|
203 |
@($(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
|
204 |
@($(ECHO) "# Packages (`$(BASENAME) $2`):";$(SED) -e 's@^@# @' $2) $(LOG_DEBUG) |
13697 | 205 |
endef |
206 |
||
207 |
# |
|
208 |
# Different api directories created from root directory |
|
209 |
# |
|
20363 | 210 |
COREAPI_DOCSDIR = $(DOCSDIR)/api |
211 |
JDK_API_DOCSDIR = $(DOCSDIR)/jdk/api |
|
212 |
JRE_API_DOCSDIR = $(DOCSDIR)/jre/api |
|
213 |
PLATFORM_DOCSDIR = $(DOCSDIR)/platform |
|
13697 | 214 |
|
215 |
# The non-core api javadocs need to be able to access the root of the core |
|
20363 | 216 |
# api directory, so for jdk/api or jre/api to get to the core api/ |
217 |
# directory we would use this: |
|
218 |
JDKJRE2COREAPI = ../../api |
|
13697 | 219 |
|
220 |
# Common bottom argument |
|
221 |
define CommonBottom # year |
|
222 |
<font size="-1"><br> $(call CopyrightLine,,$1,)</font> |
|
223 |
endef |
|
224 |
||
225 |
# Common trademark bottom argument (Not sure why this is used sometimes) |
|
226 |
define CommonTrademarkBottom # year |
|
227 |
<font size="-1">\ |
|
228 |
$(BUG_SUBMIT_LINE)<br>$(JAVA_TRADEMARK_LINE)<br>\ |
|
229 |
$(call CopyrightLine,,$1,$(COMPANY_ADDRESS))\ |
|
230 |
</font> |
|
231 |
endef |
|
232 |
||
233 |
# Common echo of option |
|
234 |
define OptionOnly # opt |
|
28007
877ab0d032b8
8066138: Trailing whitespace in title of javadoc: Overview (Java Platform SE 7 )
alundblad
parents:
27602
diff
changeset
|
235 |
if [ "$(strip $1)" != "" ] ; then \ |
877ab0d032b8
8066138: Trailing whitespace in title of javadoc: Overview (Java Platform SE 7 )
alundblad
parents:
27602
diff
changeset
|
236 |
$(PRINTF) "%s\n" "$(strip $1)"; \ |
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
237 |
fi |
13697 | 238 |
endef |
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
239 |
|
13697 | 240 |
define OptionPair # opt arg |
28007
877ab0d032b8
8066138: Trailing whitespace in title of javadoc: Overview (Java Platform SE 7 )
alundblad
parents:
27602
diff
changeset
|
241 |
$(PRINTF) "%s '%s'\n" "$(strip $1)" '$(strip $2)' |
13697 | 242 |
endef |
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
243 |
|
13697 | 244 |
define OptionTrip # opt arg arg |
28007
877ab0d032b8
8066138: Trailing whitespace in title of javadoc: Overview (Java Platform SE 7 )
alundblad
parents:
27602
diff
changeset
|
245 |
$(PRINTF) "%s '%s' '%s'\n" "$(strip $1)" '$(strip $2)' '$(strip $3)' |
13697 | 246 |
endef |
247 |
||
248 |
# Core api bottom argument (with special sauce) |
|
249 |
COREAPI_BOTTOM = <font size="-1"> $(BUG_SUBMIT_LINE)\ |
|
250 |
<br>For further API reference and developer documentation, \ |
|
251 |
see <a href="$(DEV_DOCS_URL)" target="_blank">Java SE Documentation</a>. \ |
|
252 |
That documentation contains more detailed, developer-targeted descriptions, \ |
|
253 |
with conceptual overviews, definitions of terms, workarounds, \ |
|
254 |
and working code examples.<br>\ |
|
255 |
$(call CopyrightLine,$(COPYRIGHT_URL),$(FIRST_COPYRIGHT_YEAR),)\ |
|
256 |
</font> |
|
257 |
||
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
258 |
# Common javadoc options used by all bundles |
13697 | 259 |
|
260 |
ifdef OPENJDK |
|
20363 | 261 |
ADDITIONAL_JAVADOCFLAGS = \ |
262 |
-Xdocrootparent $(DOCS_BASE_URL) |
|
13697 | 263 |
else |
264 |
ADDITIONAL_JAVADOCFLAGS = |
|
265 |
endif |
|
266 |
||
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
267 |
define COMMON_JAVADOCFLAGS |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
268 |
$(call OptionOnly,-XDignore.symbol.file=true) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
269 |
$(call OptionOnly,-quiet) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
270 |
$(call OptionOnly,-use) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
271 |
$(call OptionOnly,-keywords) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
272 |
$(call OptionOnly,$(ADDITIONAL_JAVADOCFLAGS)) |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
273 |
endef |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
274 |
|
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
275 |
# Common javadoc tags used by all bundles |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
276 |
|
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
277 |
# Java language specification cite |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
278 |
TAG_JLS = jls:a:See <cite> \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
279 |
The Java™ Language Specification</cite>: |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
280 |
|
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
281 |
# Java virtual machine specification cite |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
282 |
TAG_JVMS = jvms:a:See <cite> \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
283 |
The Java™ Virtual Machine Specification</cite>: |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
284 |
|
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
285 |
# 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
|
286 |
# 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
|
287 |
define COMMON_JAVADOCTAGS |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
288 |
$(call OptionPair,-tag,beaninfo:X) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
289 |
$(call OptionPair,-tag,revised:X) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
290 |
$(call OptionPair,-tag,since.unbundled:X) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
291 |
$(call OptionPair,-tag,spec:X) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
292 |
$(call OptionPair,-tag,specdefault:X) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
293 |
$(call OptionPair,-tag,Note:X) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
294 |
$(call OptionPair,-tag,ToDo:X) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
295 |
$(call OptionPair,-tag,apiNote:a:API Note:) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
296 |
$(call OptionPair,-tag,implSpec:a:Implementation Requirements:) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
297 |
$(call OptionPair,-tag,implNote:a:Implementation Note:) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
298 |
$(call OptionPair,-tag,param) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
299 |
$(call OptionPair,-tag,return) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
300 |
$(call OptionPair,-tag,throws) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
301 |
$(call OptionPair,-tag,since) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
302 |
$(call OptionPair,-tag,version) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
303 |
$(call OptionPair,-tag,serialData) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
304 |
$(call OptionPair,-tag,factory) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
305 |
$(call OptionPair,-tag,see) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
306 |
$(call OptionPair,-tag,$(TAG_JVMS)) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
307 |
$(call OptionPair,-tag,$(TAG_JLS)) |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
308 |
endef |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
309 |
|
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
310 |
|
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
311 |
|
33929 | 312 |
# Assume we need a draft format when the version string is not a GA version. |
313 |
ifeq ($(VERSION_IS_GA), false) |
|
33926
3a19edba4808
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30416
diff
changeset
|
314 |
DRAFT_HEADER := <br><strong>DRAFT $(VERSION_STRING)</strong> |
3a19edba4808
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30416
diff
changeset
|
315 |
DRAFT_BOTTOM := <br><strong>DRAFT $(VERSION_STRING)</strong> |
3a19edba4808
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30416
diff
changeset
|
316 |
DRAFT_WINTITLE := $(VERSION_BUILD) |
20363 | 317 |
# 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
|
318 |
COREAPI_TOP_EARLYACCESS := \ |
13697 | 319 |
<div style="background-color: \#EEEEEE"> \ |
320 |
<div style="padding: 6px; margin-top: 2px; margin-bottom: 6px; \ |
|
321 |
margin-left: 6px; margin-right: 6px; text-align: justify; \ |
|
322 |
font-size: 80%; font-family: Helvetica, Arial, sans-serif; \ |
|
323 |
font-weight: normal;"> \ |
|
324 |
Please note that the specifications and other information \ |
|
325 |
contained herein are not final and are subject to change. \ |
|
326 |
The information is being made available to you solely for purpose of \ |
|
327 |
evaluation. \ |
|
328 |
</div> </div> |
|
33926
3a19edba4808
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30416
diff
changeset
|
329 |
else |
3a19edba4808
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30416
diff
changeset
|
330 |
DRAFT_HEADER := |
3a19edba4808
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30416
diff
changeset
|
331 |
DRAFT_BOTTOM := |
3a19edba4808
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30416
diff
changeset
|
332 |
DRAFT_WINTITLE := |
3a19edba4808
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30416
diff
changeset
|
333 |
COREAPI_TOP_EARLYACCESS := |
13697 | 334 |
endif |
335 |
||
336 |
################################################################# |
|
337 |
||
338 |
# |
|
27328 | 339 |
# Load custom Javadoc rules |
340 |
# |
|
341 |
||
342 |
$(eval $(call IncludeCustomExtension, , Javadoc.gmk)) |
|
343 |
||
344 |
################################################################# |
|
345 |
||
346 |
# |
|
13697 | 347 |
# Default target is same as docs target, create core api and all others it can |
348 |
# |
|
349 |
||
350 |
all: docs |
|
351 |
docs: coredocs otherdocs |
|
352 |
||
353 |
############################################################# |
|
354 |
# |
|
355 |
# coredocs |
|
356 |
# |
|
20363 | 357 |
COREAPI_DOCTITLE = Java$(TRADEMARK) Platform, Standard Edition \ |
33926
3a19edba4808
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30416
diff
changeset
|
358 |
$(VERSION_SPECIFICATION)<br>API Specification |
3a19edba4808
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30416
diff
changeset
|
359 |
COREAPI_WINDOWTITLE = Java Platform SE $(VERSION_SPECIFICATION) |
13697 | 360 |
COREAPI_HEADER = \ |
33926
3a19edba4808
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30416
diff
changeset
|
361 |
<strong>Java$(TRADEMARK) Platform<br>Standard Ed. $(VERSION_SPECIFICATION)</strong> |
13697 | 362 |
|
363 |
# Overview file for core apis |
|
25854 | 364 |
COREAPI_OVERVIEW = $(JDK_TOPDIR)/src/java.base/share/classes/overview-core.html |
13697 | 365 |
|
366 |
# The index.html, options, and packages files |
|
20363 | 367 |
COREAPI_INDEX_FILE = $(COREAPI_DOCSDIR)/index.html |
368 |
COREAPI_OPTIONS_FILE = $(DOCSTMPDIR)/coredocs.options |
|
13697 | 369 |
COREAPI_PACKAGES_FILE = $(DOCSTMPDIR)/coredocs.packages |
370 |
||
371 |
coredocs: $(COREAPI_INDEX_FILE) |
|
372 |
||
373 |
# Set relative location to core api document root |
|
374 |
$(COREAPI_INDEX_FILE): GET2DOCSDIR=.. |
|
375 |
||
376 |
# Run javadoc if the index file is out of date or missing |
|
377 |
$(COREAPI_INDEX_FILE): $(COREAPI_OPTIONS_FILE) $(COREAPI_PACKAGES_FILE) |
|
378 |
$(prep-javadoc) |
|
379 |
$(call JavadocSummary,$(COREAPI_OPTIONS_FILE),$(COREAPI_PACKAGES_FILE)) |
|
380 |
$(JAVADOC_CMD) -d $(@D) \ |
|
20363 | 381 |
@$(COREAPI_OPTIONS_FILE) @$(COREAPI_PACKAGES_FILE) |
13697 | 382 |
|
383 |
# Create file with javadoc options in it |
|
384 |
$(COREAPI_OPTIONS_FILE): $(COREAPI_OVERVIEW) |
|
385 |
$(prep-target) |
|
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
386 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
387 |
$(call COMMON_JAVADOCTAGS) ; \ |
31567
626eeea487f8
8080722: Revisit how to check for doclint reference warning during the build
darcy
parents:
30416
diff
changeset
|
388 |
$(call OptionOnly,-Xdoclint:reference) ; \ |
626eeea487f8
8080722: Revisit how to check for doclint reference warning during the build
darcy
parents:
30416
diff
changeset
|
389 |
$(call OptionOnly,-Xdoclint/package:-org.omg.*) ; \ |
20363 | 390 |
$(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \ |
391 |
$(call OptionPair,-encoding,ISO-8859-1) ; \ |
|
392 |
$(call OptionOnly,-splitIndex) ; \ |
|
393 |
$(call OptionPair,-overview,$(COREAPI_OVERVIEW)) ; \ |
|
394 |
$(call OptionPair,-doctitle,$(COREAPI_DOCTITLE)) ; \ |
|
395 |
$(call OptionPair,-windowtitle,$(COREAPI_WINDOWTITLE) $(DRAFT_WINTITLE)) ; \ |
|
396 |
$(call OptionPair,-header,$(COREAPI_HEADER)$(DRAFT_HEADER)) ; \ |
|
397 |
$(call OptionPair,-bottom,$(COREAPI_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
|
398 |
) >> $@ |
|
399 |
ifdef COREAPI_TOP_EARLYACCESS |
|
400 |
@$(call OptionPair,-top,$(COREAPI_TOP_EARLYACCESS)) >> $@ |
|
401 |
endif |
|
13697 | 402 |
|
403 |
# 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
|
404 |
$(COREAPI_PACKAGES_FILE): $(call PackageDependencies,$(CORE_PKGS)) |
13697 | 405 |
$(prep-target) |
406 |
$(call PackageFilter,$(CORE_PKGS)) |
|
407 |
||
408 |
############################################################# |
|
409 |
# |
|
410 |
# docletapidocs |
|
411 |
# |
|
412 |
||
413 |
ALL_OTHER_TARGETS += docletapidocs |
|
414 |
||
20363 | 415 |
DOCLETAPI_DOCDIR := $(JDK_API_DOCSDIR)/javadoc/doclet |
416 |
DOCLETAPI2COREAPI := ../../$(JDKJRE2COREAPI) |
|
417 |
DOCLETAPI_DOCTITLE := Doclet API |
|
418 |
DOCLETAPI_WINDOWTITLE := Doclet API |
|
419 |
DOCLETAPI_HEADER := <strong>Doclet API</strong> |
|
420 |
DOCLETAPI_BOTTOM := $(call CommonTrademarkBottom,$(DOCLETAPI_FIRST_COPYRIGHT_YEAR)) |
|
421 |
DOCLETAPI_GROUPNAME := Packages |
|
35367
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
422 |
DOCLETAPI_REGEXP := jdk.javadoc.doclet.* |
13697 | 423 |
# DOCLETAPI_PKGS is located in NON_CORE_PKGS.gmk |
424 |
||
425 |
# The index.html, options, and packages files |
|
20363 | 426 |
DOCLETAPI_INDEX_FILE = $(DOCLETAPI_DOCDIR)/index.html |
427 |
DOCLETAPI_OPTIONS_FILE = $(DOCSTMPDIR)/docletapi.options |
|
13697 | 428 |
DOCLETAPI_PACKAGES_FILE = $(DOCSTMPDIR)/docletapi.packages |
429 |
||
430 |
docletapidocs: $(DOCLETAPI_INDEX_FILE) |
|
431 |
||
432 |
# Set relative location to core api document root |
|
433 |
$(DOCLETAPI_INDEX_FILE): GET2DOCSDIR=$(DOCLETAPI2COREAPI)/.. |
|
434 |
||
435 |
# 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
|
436 |
$(DOCLETAPI_INDEX_FILE): $(DOCLETAPI_OPTIONS_FILE) $(DOCLETAPI_PACKAGES_FILE) $(COREAPI_INDEX_FILE) |
13697 | 437 |
$(prep-javadoc) |
438 |
$(call JavadocSummary,$(DOCLETAPI_OPTIONS_FILE),$(DOCLETAPI_PACKAGES_FILE)) |
|
29176
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
439 |
$(JAVADOC_CMD_SMALL) -d $(@D) \ |
20363 | 440 |
@$(DOCLETAPI_OPTIONS_FILE) @$(DOCLETAPI_PACKAGES_FILE) |
13697 | 441 |
|
442 |
# Create file with javadoc options in it |
|
443 |
$(DOCLETAPI_OPTIONS_FILE): |
|
444 |
$(prep-target) |
|
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
445 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
446 |
$(call COMMON_JAVADOCTAGS) ; \ |
25043
b5598c2ddf6f
8048302: Update bug reporting URL in make/Javadoc.gmk
darcy
parents:
24232
diff
changeset
|
447 |
$(call OptionOnly,-Xdoclint:all) ; \ |
20363 | 448 |
$(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \ |
449 |
$(call OptionPair,-encoding,ascii) ; \ |
|
450 |
$(call OptionOnly,-breakiterator) ; \ |
|
451 |
$(call OptionPair,-doctitle,$(DOCLETAPI_DOCTITLE)) ; \ |
|
452 |
$(call OptionPair,-windowtitle,$(DOCLETAPI_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
|
453 |
$(call OptionPair,-header,$(DOCLETAPI_HEADER)$(DRAFT_HEADER)) ; \ |
|
454 |
$(call OptionPair,-bottom,$(DOCLETAPI_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
|
13697 | 455 |
$(call OptionTrip,-group,$(DOCLETAPI_GROUPNAME),$(DOCLETAPI_REGEXP)); \ |
456 |
$(call OptionTrip,-linkoffline,$(DOCLETAPI2COREAPI),$(COREAPI_DOCSDIR)/); \ |
|
20363 | 457 |
) >> $@ |
13697 | 458 |
|
459 |
# Create a file with the package names in it |
|
27595
cff167b3bfa2
8065914: Various improvements and cleanup of build system
ihse
parents:
27586
diff
changeset
|
460 |
$(DOCLETAPI_PACKAGES_FILE): $(call PackageDependencies,$(DOCLETAPI_PKGS)) |
13697 | 461 |
$(prep-target) |
462 |
$(call PackageFilter,$(DOCLETAPI_PKGS)) |
|
463 |
||
464 |
############################################################# |
|
465 |
# |
|
35367
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
466 |
# old docletapidocs |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
467 |
# |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
468 |
|
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
469 |
ALL_OTHER_TARGETS += olddocletapidocs |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
470 |
|
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
471 |
OLD_DOCLET_DIR := $(JDK_API_DOCSDIR)/javadoc/old |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
472 |
OLD_DOCLETAPI_DOCDIR := $(OLD_DOCLET_DIR)/doclet |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
473 |
OLD_DOCLETAPI2COREAPI := ../../../$(JDKJRE2COREAPI) |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
474 |
OLD_DOCLETAPI_DOCTITLE := Doclet API |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
475 |
OLD_DOCLETAPI_WINDOWTITLE := Doclet API |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
476 |
OLD_DOCLETAPI_HEADER := <strong>Doclet API</strong> |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
477 |
OLD_DOCLETAPI_BOTTOM := $(call CommonTrademarkBottom,$(DOCLETAPI_FIRST_COPYRIGHT_YEAR)) |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
478 |
OLD_DOCLETAPI_GROUPNAME := Packages |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
479 |
OLD_DOCLETAPI_REGEXP := com.sun.javadoc |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
480 |
# OLD_DOCLETAPI_PKGS is located in NON_CORE_PKGS.gmk |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
481 |
|
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
482 |
# The index.html, options, and packages files |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
483 |
OLD_DOCLETAPI_INDEX_FILE = $(OLD_DOCLETAPI_DOCDIR)/index.html |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
484 |
OLD_DOCLETAPI_OPTIONS_FILE = $(DOCSTMPDIR)/old-docletapi.options |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
485 |
OLD_DOCLETAPI_PACKAGES_FILE = $(DOCSTMPDIR)/old-docletapi.packages |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
486 |
|
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
487 |
olddocletapidocs: $(OLD_DOCLETAPI_INDEX_FILE) |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
488 |
|
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
489 |
# Set relative location to core api document root |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
490 |
$(OLD_DOCLETAPI_INDEX_FILE): GET2DOCSDIR=$(OLD_DOCLETAPI2COREAPI)/.. |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
491 |
|
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
492 |
# 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
|
493 |
$(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
|
494 |
$(prep-javadoc) |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
495 |
$(call JavadocSummary,$(OLD_DOCLETAPI_OPTIONS_FILE),$(OLD_DOCLETAPI_PACKAGES_FILE)) |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
496 |
$(JAVADOC_CMD_SMALL) -d $(@D) \ |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
497 |
@$(OLD_DOCLETAPI_OPTIONS_FILE) @$(OLD_DOCLETAPI_PACKAGES_FILE) |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
498 |
|
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
499 |
# Create file with javadoc options in it |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
500 |
$(OLD_DOCLETAPI_OPTIONS_FILE): |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
501 |
$(prep-target) |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
502 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
503 |
$(call COMMON_JAVADOCTAGS) ; \ |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
504 |
$(call OptionOnly,-Xdoclint:all) ; \ |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
505 |
$(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \ |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
506 |
$(call OptionPair,-encoding,ascii) ; \ |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
507 |
$(call OptionOnly,-breakiterator) ; \ |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
508 |
$(call OptionPair,-doctitle,$(OLD_DOCLETAPI_DOCTITLE)) ; \ |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
509 |
$(call OptionPair,-windowtitle,$(OLD_DOCLETAPI_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
510 |
$(call OptionPair,-header,$(OLD_DOCLETAPI_HEADER)$(DRAFT_HEADER)) ; \ |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
511 |
$(call OptionPair,-bottom,$(OLD_DOCLETAPI_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
512 |
$(call OptionTrip,-group,$(OLD_DOCLETAPI_GROUPNAME),$(OLD_DOCLETAPI_REGEXP)); \ |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
513 |
$(call OptionTrip,-linkoffline,$(OLD_DOCLETAPI2COREAPI),$(COREAPI_DOCSDIR)/); \ |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
514 |
) >> $@ |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
515 |
|
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
516 |
# Create a file with the package names in it |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
517 |
$(OLD_DOCLETAPI_PACKAGES_FILE): $(call PackageDependencies,$(OLD_DOCLETAPI_PKGS)) |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
518 |
$(prep-target) |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
519 |
$(call PackageFilter,$(OLD_DOCLETAPI_PKGS)) |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
520 |
|
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
521 |
############################################################# |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
522 |
# |
13697 | 523 |
# tagletapidocs |
524 |
# |
|
525 |
||
526 |
ALL_OTHER_TARGETS += tagletapidocs |
|
35367
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
527 |
TAGLETAPI_DOCDIR := $(OLD_DOCLET_DIR)/taglet |
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
528 |
TAGLETAPI2COREAPI := ../../../$(JDKJRE2COREAPI) |
20363 | 529 |
TAGLETAPI_BOTTOM := $(call CommonTrademarkBottom,$(TAGLETAPI_FIRST_COPYRIGHT_YEAR)) |
13697 | 530 |
# TAGLETAPI_FILE is located in NON_CORE_PKGS.gmk |
531 |
||
532 |
# Temporary directory (special generation rules) |
|
20363 | 533 |
TAGLETAPI_TEMPDIR = $(DOCSTMPDIR)/taglets_temp |
13697 | 534 |
|
535 |
# The index.html, options, and packages files |
|
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
536 |
TAGLETAPI_INDEX_FILE = $(TAGLETAPI_DOCDIR)/com/sun/tools/doclets/Taglet.html |
20363 | 537 |
TAGLETAPI_OPTIONS_FILE = $(DOCSTMPDIR)/tagletapi.options |
13697 | 538 |
TAGLETAPI_PACKAGES_FILE = $(DOCSTMPDIR)/tagletapi.packages |
539 |
||
540 |
tagletapidocs: $(TAGLETAPI_INDEX_FILE) |
|
541 |
||
542 |
# Set relative location to core api document root |
|
543 |
$(TAGLETAPI_INDEX_FILE): GET2DOCSDIR=$(TAGLETAPI2COREAPI)/.. |
|
544 |
||
545 |
# 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
|
546 |
$(TAGLETAPI_INDEX_FILE): $(TAGLETAPI_OPTIONS_FILE) $(TAGLETAPI_PACKAGES_FILE) $(COREAPI_INDEX_FILE) |
13697 | 547 |
$(prep-javadoc) |
548 |
$(RM) -r $(TAGLETAPI_TEMPDIR) |
|
549 |
$(MKDIR) -p $(TAGLETAPI_TEMPDIR) |
|
550 |
$(call JavadocSummary,$(TAGLETAPI_OPTIONS_FILE),$(TAGLETAPI_PACKAGES_FILE)) |
|
29176
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
551 |
$(JAVADOC_CMD_SMALL) -d $(TAGLETAPI_TEMPDIR) \ |
20363 | 552 |
@$(TAGLETAPI_OPTIONS_FILE) @$(TAGLETAPI_PACKAGES_FILE) |
23986
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
553 |
cp -r $(TAGLETAPI_TEMPDIR)/com $(TAGLETAPI_DOCDIR) |
1809fb8266cb
8041487: Fix proper dependencies for correct incremental build of javadocs
erikj
parents:
23836
diff
changeset
|
554 |
cp $(TAGLETAPI_TEMPDIR)/stylesheet.css $(TAGLETAPI_DOCDIR) |
13697 | 555 |
$(RM) -r $(TAGLETAPI_TEMPDIR) |
556 |
||
557 |
# Create file with javadoc options in it |
|
558 |
$(TAGLETAPI_OPTIONS_FILE): |
|
559 |
$(prep-target) |
|
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
560 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
561 |
$(call COMMON_JAVADOCTAGS) ; \ |
25043
b5598c2ddf6f
8048302: Update bug reporting URL in make/Javadoc.gmk
darcy
parents:
24232
diff
changeset
|
562 |
$(call OptionOnly,-Xdoclint:all) ; \ |
20363 | 563 |
$(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \ |
564 |
$(call OptionPair,-encoding,ascii) ; \ |
|
565 |
$(call OptionOnly,-nonavbar) ; \ |
|
566 |
$(call OptionOnly,-noindex) ; \ |
|
567 |
$(call OptionPair,-bottom,$(TAGLETAPI_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
|
13697 | 568 |
$(call OptionTrip,-linkoffline,$(TAGLETAPI2COREAPI),$(COREAPI_DOCSDIR)/); \ |
20363 | 569 |
) >> $@ |
13697 | 570 |
|
571 |
# 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
|
572 |
$(TAGLETAPI_PACKAGES_FILE): $(call PackageDependencies,$(TAGLETAPI_PKGS)) |
13697 | 573 |
$(prep-target) |
25854 | 574 |
@($(ECHO) "$(LANGTOOLS_TOPDIR)/src/jdk.javadoc/share/classes/$(TAGLETAPI_FILE)" ) > $@ |
13697 | 575 |
|
576 |
############################################################# |
|
577 |
# |
|
578 |
# domapidocs |
|
579 |
# |
|
580 |
||
581 |
ALL_OTHER_TARGETS += domapidocs |
|
582 |
||
20363 | 583 |
DOMAPI_DOCDIR := $(JRE_API_DOCSDIR)/plugin/dom |
584 |
DOMAPI2COREAPI := ../../$(JDKJRE2COREAPI) |
|
585 |
DOMAPI_DOCTITLE := Common DOM API |
|
586 |
DOMAPI_WINDOWTITLE := Common DOM API |
|
587 |
DOMAPI_HEADER := <strong>Common DOM API</strong> |
|
588 |
DOMAPI_BOTTOM := $(call CommonTrademarkBottom,$(DOMAPI_FIRST_COPYRIGHT_YEAR)) |
|
589 |
DOMAPI_GROUPNAME := Packages |
|
25045
7b8a6a85baa4
8044063: Remove com.sun.java.browser.* from jdk repo
mchung
parents:
24232
diff
changeset
|
590 |
DOMAPI_REGEXP := org.w3c.dom* |
13697 | 591 |
# DOMAPI_PKGS is located in NON_CORE_PKGS.gmk |
592 |
||
593 |
# The index.html, options, and packages files |
|
20363 | 594 |
DOMAPI_INDEX_FILE = $(DOMAPI_DOCDIR)/index.html |
595 |
DOMAPI_OPTIONS_FILE = $(DOCSTMPDIR)/domapi.options |
|
13697 | 596 |
DOMAPI_PACKAGES_FILE = $(DOCSTMPDIR)/domapi.packages |
597 |
||
598 |
domapidocs: $(DOMAPI_INDEX_FILE) |
|
599 |
||
600 |
# Set relative location to core api document root |
|
601 |
$(DOMAPI_INDEX_FILE): GET2DOCSDIR=$(DOMAPI2COREAPI)/.. |
|
602 |
||
603 |
# 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
|
604 |
$(DOMAPI_INDEX_FILE): $(DOMAPI_OPTIONS_FILE) $(DOMAPI_PACKAGES_FILE) $(COREAPI_INDEX_FILE) |
13697 | 605 |
$(prep-javadoc) |
606 |
$(call JavadocSummary,$(DOMAPI_OPTIONS_FILE),$(DOMAPI_PACKAGES_FILE)) |
|
29176
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
607 |
$(JAVADOC_CMD_SMALL) -d $(@D) \ |
20363 | 608 |
@$(DOMAPI_OPTIONS_FILE) @$(DOMAPI_PACKAGES_FILE) |
13697 | 609 |
|
610 |
# Create file with javadoc options in it |
|
611 |
$(DOMAPI_OPTIONS_FILE): |
|
612 |
$(prep-target) |
|
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
613 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
614 |
$(call COMMON_JAVADOCTAGS) ; \ |
22033
c323078abaf4
8031081: Use separate doclint flags for different doc bundles
darcy
parents:
21759
diff
changeset
|
615 |
$(call OptionOnly,-Xdoclint:none) ; \ |
20363 | 616 |
$(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \ |
617 |
$(call OptionPair,-encoding,ascii) ; \ |
|
618 |
$(call OptionOnly,-splitIndex) ; \ |
|
619 |
$(call OptionPair,-doctitle,$(DOMAPI_DOCTITLE)) ; \ |
|
620 |
$(call OptionPair,-windowtitle,$(DOMAPI_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
|
621 |
$(call OptionPair,-header,$(DOMAPI_HEADER)$(DRAFT_HEADER)) ; \ |
|
622 |
$(call OptionPair,-bottom,$(DOMAPI_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
|
13697 | 623 |
$(call OptionTrip,-group,$(DOMAPI_GROUPNAME),$(DOMAPI_REGEXP)); \ |
624 |
$(call OptionTrip,-linkoffline,$(DOMAPI2COREAPI),$(COREAPI_DOCSDIR)/); \ |
|
20363 | 625 |
) >> $@ |
13697 | 626 |
|
627 |
# 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
|
628 |
$(DOMAPI_PACKAGES_FILE): $(call PackageDependencies,$(DOMAPI_PKGS)) |
13697 | 629 |
$(prep-target) |
630 |
$(call PackageFilter,$(DOMAPI_PKGS)) |
|
631 |
||
632 |
############################################################# |
|
633 |
# |
|
634 |
# jpdadocs |
|
635 |
# |
|
636 |
||
637 |
ALL_OTHER_TARGETS += jpdadocs |
|
638 |
||
639 |
jpdadocs: jdidocs jdwpdocs jvmtidocs |
|
640 |
||
641 |
############################################################# |
|
642 |
# |
|
643 |
# jdidocs |
|
644 |
# |
|
645 |
||
646 |
ALL_OTHER_TARGETS += jdidocs |
|
647 |
||
20363 | 648 |
JDI_DOCDIR := $(JDK_API_DOCSDIR)/jpda/jdi |
649 |
JDI2COREAPI := ../../$(JDKJRE2COREAPI) |
|
650 |
JDI_DOCTITLE := Java$(TRADEMARK) Debug Interface |
|
13697 | 651 |
JDI_WINDOWTITLE := Java Debug Interface |
20363 | 652 |
JDI_HEADER := <strong>Java Debug Interface</strong> |
653 |
JDI_BOTTOM := $(call CommonBottom,$(JDI_FIRST_COPYRIGHT_YEAR)) |
|
25854 | 654 |
JDI_OVERVIEW := $(JDK_TOPDIR)/src/jdk.jdi/share/classes/jdi-overview.html |
13697 | 655 |
# JDI_PKGS is located in NON_CORE_PKGS.gmk |
656 |
||
657 |
# The index.html, options, and packages files |
|
20363 | 658 |
JDI_INDEX_FILE = $(JDI_DOCDIR)/index.html |
659 |
JDI_OPTIONS_FILE = $(DOCSTMPDIR)/jdi.options |
|
13697 | 660 |
JDI_PACKAGES_FILE = $(DOCSTMPDIR)/jdi.packages |
661 |
||
662 |
jdidocs: $(JDI_INDEX_FILE) |
|
663 |
||
664 |
# Set relative location to core api document root |
|
665 |
$(JDI_INDEX_FILE): GET2DOCSDIR=$(JDI2COREAPI)/.. |
|
666 |
||
667 |
# 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
|
668 |
$(JDI_INDEX_FILE): $(JDI_OPTIONS_FILE) $(JDI_PACKAGES_FILE) $(COREAPI_INDEX_FILE) |
13697 | 669 |
$(prep-javadoc) |
670 |
$(call JavadocSummary,$(JDI_OPTIONS_FILE),$(JDI_PACKAGES_FILE)) |
|
29176
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
671 |
$(JAVADOC_CMD_SMALL) -d $(@D) \ |
20363 | 672 |
@$(JDI_OPTIONS_FILE) @$(JDI_PACKAGES_FILE) |
13697 | 673 |
|
674 |
# Create file with javadoc options in it |
|
675 |
$(JDI_OPTIONS_FILE): $(JDI_OVERVIEW) |
|
676 |
$(prep-target) |
|
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
677 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
678 |
$(call COMMON_JAVADOCTAGS) ; \ |
22033
c323078abaf4
8031081: Use separate doclint flags for different doc bundles
darcy
parents:
21759
diff
changeset
|
679 |
$(call OptionOnly,-Xdoclint:none) ; \ |
20363 | 680 |
$(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \ |
681 |
$(call OptionPair,-encoding,ascii) ; \ |
|
682 |
$(call OptionPair,-overview,$(JDI_OVERVIEW)) ; \ |
|
683 |
$(call OptionPair,-doctitle,$(JDI_DOCTITLE)) ; \ |
|
13697 | 684 |
$(call OptionPair,-windowtitle,$(JDI_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
20363 | 685 |
$(call OptionPair,-header,$(JDI_HEADER)$(DRAFT_HEADER)) ; \ |
686 |
$(call OptionPair,-bottom,$(JDI_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
|
13697 | 687 |
$(call OptionTrip,-linkoffline,$(JDI2COREAPI),$(COREAPI_DOCSDIR)/); \ |
20363 | 688 |
) >> $@ |
13697 | 689 |
|
690 |
# 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
|
691 |
$(JDI_PACKAGES_FILE): $(call PackageDependencies,$(JDI_PKGS)) |
13697 | 692 |
$(prep-target) |
693 |
$(call PackageFilter,$(JDI_PKGS)) |
|
694 |
||
695 |
############################################################# |
|
696 |
# |
|
697 |
# jdwpdocs |
|
698 |
# |
|
699 |
||
700 |
ALL_OTHER_TARGETS += jdwpdocs |
|
701 |
||
20363 | 702 |
JDWP_DOCDIR = $(PLATFORM_DOCSDIR)/jpda/jdwp |
13697 | 703 |
|
704 |
jdwpdocs: $(JDWP_DOCDIR)/jdwp-protocol.html |
|
27560 | 705 |
$(JDWP_DOCDIR)/jdwp-protocol.html : $(SUPPORT_OUTPUTDIR)/gensrc/jdk.jdi/jdwp-protocol.html |
13697 | 706 |
$(MKDIR) -p $(@D) |
707 |
$(RM) $@ |
|
708 |
$(CP) $< $@ |
|
709 |
||
710 |
############################################################# |
|
711 |
# |
|
712 |
# jvmtidocs |
|
713 |
# |
|
714 |
||
715 |
ALL_OTHER_TARGETS += jvmtidocs |
|
716 |
||
20363 | 717 |
JVMTI_DOCDIR = $(PLATFORM_DOCSDIR)/jvmti |
718 |
JVMTI_HTML = $(HOTSPOT_DIST)/docs/platform/jvmti/jvmti.html |
|
13697 | 719 |
|
20363 | 720 |
jvmtidocs: $(JVMTI_DOCDIR)/jvmti.html |
13697 | 721 |
$(JVMTI_DOCDIR)/jvmti.html: |
722 |
@$(prep-javadoc) |
|
20363 | 723 |
@if [ -f $(JVMTI_HTML) ] ; then \ |
724 |
$(CP) $(JVMTI_HTML) $@; \ |
|
725 |
else \ |
|
13697 | 726 |
$(ECHO) "WARNING: Generated file does not exist: $(JVMTI_HTML)"; \ |
727 |
fi |
|
728 |
||
729 |
############################################################# |
|
730 |
# |
|
731 |
# jaasdocs |
|
732 |
# |
|
733 |
||
734 |
ALL_OTHER_TARGETS += jaasdocs |
|
735 |
||
20363 | 736 |
JAAS_DOCDIR := $(JRE_API_DOCSDIR)/security/jaas/spec |
737 |
JAAS2COREAPI := ../../../$(JDKJRE2COREAPI) |
|
738 |
JAAS_DOCTITLE := Java$(TRADEMARK) Authentication and Authorization Service |
|
13697 | 739 |
JAAS_WINDOWTITLE := Java Authentication and Authorization Service |
20363 | 740 |
JAAS_HEADER := <strong>Java Authentication and Authorization Service</strong> |
741 |
JAAS_BOTTOM := $(call CommonBottom,$(JAAS_FIRST_COPYRIGHT_YEAR)) |
|
13697 | 742 |
# JAAS_PKGS is located in NON_CORE_PKGS.gmk |
25854 | 743 |
JAAS_OVERVIEW := $(JDK_TOPDIR)/src/jdk.security.auth/share/classes/jaas-overview.html |
13697 | 744 |
|
745 |
# The index.html, options, and packages files |
|
20363 | 746 |
JAAS_INDEX_FILE = $(JAAS_DOCDIR)/index.html |
747 |
JAAS_OPTIONS_FILE = $(DOCSTMPDIR)/jaas.options |
|
13697 | 748 |
JAAS_PACKAGES_FILE = $(DOCSTMPDIR)/jaas.packages |
749 |
||
750 |
jaasdocs: $(JAAS_INDEX_FILE) |
|
751 |
||
752 |
# Set relative location to core api document root |
|
753 |
$(JAAS_INDEX_FILE): GET2DOCSDIR=$(JAAS2COREAPI)/.. |
|
754 |
||
755 |
# 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
|
756 |
$(JAAS_INDEX_FILE): $(JAAS_OPTIONS_FILE) $(JAAS_PACKAGES_FILE) $(COREAPI_INDEX_FILE) |
13697 | 757 |
$(prep-javadoc) |
758 |
$(call JavadocSummary,$(JAAS_OPTIONS_FILE),$(JAAS_PACKAGES_FILE)) |
|
29176
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
759 |
$(JAVADOC_CMD_SMALL) -d $(@D) \ |
20363 | 760 |
@$(JAAS_OPTIONS_FILE) @$(JAAS_PACKAGES_FILE) |
13697 | 761 |
|
762 |
# Create file with javadoc options in it |
|
763 |
$(JAAS_OPTIONS_FILE): $(JAAS_OVERVIEW) |
|
764 |
$(prep-target) |
|
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
765 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
766 |
$(call COMMON_JAVADOCTAGS) ; \ |
22033
c323078abaf4
8031081: Use separate doclint flags for different doc bundles
darcy
parents:
21759
diff
changeset
|
767 |
$(call OptionOnly,-Xdoclint:none) ; \ |
20363 | 768 |
$(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \ |
769 |
$(call OptionPair,-encoding,ascii) ; \ |
|
770 |
$(call OptionPair,-overview,$(JAAS_OVERVIEW)) ; \ |
|
771 |
$(call OptionPair,-doctitle,$(JAAS_DOCTITLE)) ; \ |
|
13697 | 772 |
$(call OptionPair,-windowtitle,$(JAAS_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
20363 | 773 |
$(call OptionPair,-header,$(JAAS_HEADER)$(DRAFT_HEADER)) ; \ |
774 |
$(call OptionPair,-bottom,$(JAAS_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
|
13697 | 775 |
$(call OptionTrip,-linkoffline,$(JAAS2COREAPI),$(COREAPI_DOCSDIR)/); \ |
20363 | 776 |
) >> $@ |
13697 | 777 |
|
778 |
# 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
|
779 |
$(JAAS_PACKAGES_FILE): $(call PackageDependencies,$(JAAS_PKGS)) |
13697 | 780 |
$(prep-target) |
781 |
$(call PackageFilter,$(JAAS_PKGS)) |
|
782 |
||
783 |
############################################################# |
|
784 |
# |
|
785 |
# jgssdocs |
|
786 |
# |
|
787 |
||
788 |
ALL_OTHER_TARGETS += jgssdocs |
|
789 |
||
20363 | 790 |
JGSS_DOCDIR := $(JRE_API_DOCSDIR)/security/jgss/spec |
791 |
JGSS2COREAPI := ../../../$(JDKJRE2COREAPI) |
|
792 |
JGSS_DOCTITLE := Java$(TRADEMARK) GSS-API Utilities |
|
13697 | 793 |
JGSS_WINDOWTITLE := Java GSS-API Utilities |
20363 | 794 |
JGSS_HEADER := <strong>Java GSS-API Utilities</strong> |
795 |
JGSS_BOTTOM := $(call CommonBottom,$(JGSS_FIRST_COPYRIGHT_YEAR)) |
|
25854 | 796 |
JGSS_OVERVIEW := $(JDK_TOPDIR)/src/java.security.jgss/share/classes/jgss-overview.html |
13697 | 797 |
# JGSS_PKGS is located in NON_CORE_PKGS.gmk |
798 |
||
799 |
# The index.html, options, and packages files |
|
20363 | 800 |
JGSS_INDEX_FILE = $(JGSS_DOCDIR)/index.html |
801 |
JGSS_OPTIONS_FILE = $(DOCSTMPDIR)/jgss.options |
|
13697 | 802 |
JGSS_PACKAGES_FILE = $(DOCSTMPDIR)/jgss.packages |
803 |
||
804 |
jgssdocs: $(JGSS_INDEX_FILE) |
|
805 |
||
806 |
# Set relative location to core api document root |
|
807 |
$(JGSS_INDEX_FILE): GET2DOCSDIR=$(JGSS2COREAPI)/.. |
|
808 |
||
809 |
# 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
|
810 |
$(JGSS_INDEX_FILE): $(JGSS_OPTIONS_FILE) $(JGSS_PACKAGES_FILE) $(COREAPI_INDEX_FILE) |
13697 | 811 |
$(prep-javadoc) |
812 |
$(call JavadocSummary,$(JGSS_OPTIONS_FILE),$(JGSS_PACKAGES_FILE)) |
|
29176
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
813 |
$(JAVADOC_CMD_SMALL) -d $(@D) \ |
20363 | 814 |
@$(JGSS_OPTIONS_FILE) @$(JGSS_PACKAGES_FILE) |
13697 | 815 |
|
816 |
# Create file with javadoc options in it |
|
817 |
$(JGSS_OPTIONS_FILE): $(JGSS_OVERVIEW) |
|
818 |
$(prep-target) |
|
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
819 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
820 |
$(call COMMON_JAVADOCTAGS) ; \ |
22033
c323078abaf4
8031081: Use separate doclint flags for different doc bundles
darcy
parents:
21759
diff
changeset
|
821 |
$(call OptionOnly,-Xdoclint:none) ; \ |
20363 | 822 |
$(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \ |
823 |
$(call OptionPair,-encoding,ascii) ; \ |
|
824 |
$(call OptionOnly,-nodeprecatedlist) ; \ |
|
825 |
$(call OptionPair,-overview,$(JGSS_OVERVIEW)) ; \ |
|
826 |
$(call OptionPair,-doctitle,$(JGSS_DOCTITLE)) ; \ |
|
13697 | 827 |
$(call OptionPair,-windowtitle,$(JGSS_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
20363 | 828 |
$(call OptionPair,-header,$(JGSS_HEADER)$(DRAFT_HEADER)) ; \ |
829 |
$(call OptionPair,-bottom,$(JGSS_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
|
13697 | 830 |
$(call OptionTrip,-linkoffline,$(JGSS2COREAPI),$(COREAPI_DOCSDIR)/); \ |
20363 | 831 |
) >> $@ |
13697 | 832 |
|
833 |
# 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
|
834 |
$(JGSS_PACKAGES_FILE): $(call PackageDependencies,$(JGSS_PKGS)) |
13697 | 835 |
$(prep-target) |
836 |
$(call PackageFilter,$(JGSS_PKGS)) |
|
837 |
||
838 |
############################################################# |
|
839 |
# |
|
840 |
# smartcardiodocs |
|
841 |
# |
|
842 |
||
843 |
ALL_OTHER_TARGETS += smartcardiodocs |
|
844 |
||
20363 | 845 |
SMARTCARDIO_DOCDIR := $(JRE_API_DOCSDIR)/security/smartcardio/spec |
846 |
SMARTCARDIO2COREAPI := ../../../$(JDKJRE2COREAPI) |
|
847 |
SMARTCARDIO_DOCTITLE := Java$(TRADEMARK) Smart Card I/O |
|
13697 | 848 |
SMARTCARDIO_WINDOWTITLE := Java Smart Card I/O |
20363 | 849 |
SMARTCARDIO_HEADER := <strong>Java Smart Card I/O</strong> |
850 |
SMARTCARDIO_BOTTOM := $(call CommonBottom,$(SMARTCARDIO_FIRST_COPYRIGHT_YEAR)) |
|
13697 | 851 |
# SMARTCARDIO_PKGS is located in NON_CORE_PKGS.gmk |
852 |
||
853 |
# The index.html, options, and packages files |
|
20363 | 854 |
SMARTCARDIO_INDEX_FILE = $(SMARTCARDIO_DOCDIR)/index.html |
855 |
SMARTCARDIO_OPTIONS_FILE = $(DOCSTMPDIR)/smartcardio.options |
|
13697 | 856 |
SMARTCARDIO_PACKAGES_FILE = $(DOCSTMPDIR)/smartcardio.packages |
857 |
||
858 |
smartcardiodocs: $(SMARTCARDIO_INDEX_FILE) |
|
859 |
||
860 |
# Set relative location to core api document root |
|
861 |
$(SMARTCARDIO_INDEX_FILE): GET2DOCSDIR=$(SMARTCARDIO2COREAPI)/.. |
|
862 |
||
863 |
# 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
|
864 |
$(SMARTCARDIO_INDEX_FILE): $(SMARTCARDIO_OPTIONS_FILE) $(SMARTCARDIO_PACKAGES_FILE) $(COREAPI_INDEX_FILE) |
13697 | 865 |
$(prep-javadoc) |
866 |
$(call JavadocSummary,$(SMARTCARDIO_OPTIONS_FILE),$(SMARTCARDIO_PACKAGES_FILE)) |
|
29176
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
867 |
$(JAVADOC_CMD_SMALL) -d $(@D) \ |
20363 | 868 |
@$(SMARTCARDIO_OPTIONS_FILE) @$(SMARTCARDIO_PACKAGES_FILE) |
13697 | 869 |
|
870 |
# Create file with javadoc options in it |
|
871 |
$(SMARTCARDIO_OPTIONS_FILE): |
|
872 |
$(prep-target) |
|
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
873 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
874 |
$(call COMMON_JAVADOCTAGS) ; \ |
22033
c323078abaf4
8031081: Use separate doclint flags for different doc bundles
darcy
parents:
21759
diff
changeset
|
875 |
$(call OptionOnly,-Xdoclint:none) ; \ |
20363 | 876 |
$(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \ |
877 |
$(call OptionPair,-encoding,ascii) ; \ |
|
878 |
$(call OptionOnly,-nodeprecatedlist) ; \ |
|
879 |
$(call OptionPair,-doctitle,$(SMARTCARDIO_DOCTITLE)) ; \ |
|
880 |
$(call OptionPair,-windowtitle,$(SMARTCARDIO_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
|
13697 | 881 |
$(call OptionPair,-header,$(SMARTCARDIO_HEADER)$(DRAFT_HEADER)); \ |
882 |
$(call OptionPair,-bottom,$(SMARTCARDIO_BOTTOM)$(DRAFT_BOTTOM)); \ |
|
883 |
$(call OptionTrip,-linkoffline,$(SMARTCARDIO2COREAPI),$(COREAPI_DOCSDIR)/); \ |
|
20363 | 884 |
) >> $@ |
13697 | 885 |
|
886 |
# 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
|
887 |
$(SMARTCARDIO_PACKAGES_FILE): $(call PackageDependencies,$(SMARTCARDIO_PKGS)) |
13697 | 888 |
$(prep-target) |
889 |
$(call PackageFilter,$(SMARTCARDIO_PKGS)) |
|
890 |
||
891 |
############################################################# |
|
892 |
# |
|
893 |
# httpserverdocs |
|
894 |
# |
|
895 |
||
896 |
ALL_OTHER_TARGETS += httpserverdocs |
|
897 |
||
20363 | 898 |
HTTPSERVER_DOCDIR := $(JRE_API_DOCSDIR)/net/httpserver/spec |
899 |
HTTPSERVER2COREAPI := ../../../$(JDKJRE2COREAPI) |
|
900 |
HTTPSERVER_DOCTITLE := Java$(TRADEMARK) HTTP Server |
|
13697 | 901 |
HTTPSERVER_WINDOWTITLE := Java HTTP Server |
20363 | 902 |
HTTPSERVER_HEADER := <strong>Java HTTP Server</strong> |
903 |
HTTPSERVER_BOTTOM := $(call CommonBottom,$(HTTPSERVER_FIRST_COPYRIGHT_YEAR)) |
|
13697 | 904 |
# HTTPSERVER_PKGS is located in NON_CORE_PKGS.gmk |
905 |
||
20363 | 906 |
HTTPSERVER_INDEX_HTML = $(HTTPSERVER_DOCDIR)/index.html |
907 |
HTTPSERVER_OPTIONS_FILE = $(DOCSTMPDIR)/httpserver.options |
|
13697 | 908 |
HTTPSERVER_PACKAGES_FILE = $(DOCSTMPDIR)/httpserver.packages |
909 |
||
910 |
httpserverdocs: $(HTTPSERVER_INDEX_HTML) |
|
911 |
||
912 |
# Set relative location to core api document root |
|
913 |
$(HTTPSERVER_INDEX_HTML): GET2DOCSDIR=$(HTTPSERVER2COREAPI)/.. |
|
914 |
||
915 |
# 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
|
916 |
$(HTTPSERVER_INDEX_HTML): $(HTTPSERVER_OPTIONS_FILE) $(HTTPSERVER_PACKAGES_FILE) $(COREAPI_INDEX_FILE) |
13697 | 917 |
$(prep-javadoc) |
918 |
$(call JavadocSummary,$(HTTPSERVER_OPTIONS_FILE),$(HTTPSERVER_PACKAGES_FILE)) |
|
29176
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
919 |
$(JAVADOC_CMD_SMALL) -d $(@D) \ |
20363 | 920 |
@$(HTTPSERVER_OPTIONS_FILE) @$(HTTPSERVER_PACKAGES_FILE) |
13697 | 921 |
|
922 |
# Create file with javadoc options in it |
|
923 |
$(HTTPSERVER_OPTIONS_FILE): |
|
924 |
$(prep-target) |
|
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
925 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
926 |
$(call COMMON_JAVADOCTAGS) ; \ |
22033
c323078abaf4
8031081: Use separate doclint flags for different doc bundles
darcy
parents:
21759
diff
changeset
|
927 |
$(call OptionOnly,-Xdoclint:none) ; \ |
20363 | 928 |
$(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \ |
929 |
$(call OptionPair,-encoding,ascii) ; \ |
|
930 |
$(call OptionOnly,-nodeprecatedlist) ; \ |
|
931 |
$(call OptionPair,-doctitle,$(HTTPSERVER_DOCTITLE)) ; \ |
|
932 |
$(call OptionPair,-windowtitle,$(HTTPSERVER_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
|
13697 | 933 |
$(call OptionPair,-header,$(HTTPSERVER_HEADER)$(DRAFT_HEADER)); \ |
934 |
$(call OptionPair,-bottom,$(HTTPSERVER_BOTTOM)$(DRAFT_BOTTOM)); \ |
|
935 |
$(call OptionTrip,-linkoffline,$(HTTPSERVER2COREAPI),$(COREAPI_DOCSDIR)/); \ |
|
20363 | 936 |
) >> $@ |
13697 | 937 |
|
938 |
# 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
|
939 |
$(HTTPSERVER_PACKAGES_FILE): $(call PackageDependencies,$(HTTPSERVER_PKGS)) |
13697 | 940 |
$(prep-target) |
941 |
$(call PackageFilter,$(HTTPSERVER_PKGS)) |
|
942 |
||
943 |
############################################################# |
|
944 |
# |
|
945 |
# mgmtdocs |
|
946 |
# |
|
947 |
||
948 |
ALL_OTHER_TARGETS += mgmtdocs |
|
949 |
||
20363 | 950 |
MGMT_DOCDIR := $(JRE_API_DOCSDIR)/management/extension |
951 |
MGMT2COREAPI := ../../$(JDKJRE2COREAPI) |
|
952 |
JVM_MIB_NAME := JVM-MANAGEMENT-MIB.mib |
|
25854 | 953 |
JVM_MIB_SRC := $(JDK_TOPDIR)/src/closed/jdk.snmp/share/classes/sun/management/snmp/$(JVM_MIB_NAME) |
20363 | 954 |
MGMT_DOCTITLE := Monitoring and Management Interface for the Java$(TRADEMARK) Platform |
13697 | 955 |
MGMT_WINDOWTITLE := Monitoring and Management Interface for the Java Platform |
20363 | 956 |
MGMT_HEADER := <strong>Monitoring and Management Interface for the Java Platform</strong> |
957 |
MGMT_BOTTOM := $(call CommonBottom,$(MGMT_FIRST_COPYRIGHT_YEAR)) |
|
25854 | 958 |
MGMT_OVERVIEW := $(JDK_TOPDIR)/src/java.management/share/classes/mgmt-overview.html |
13697 | 959 |
# MGMT_PKGS is located in NON_CORE_PKGS.gmk |
960 |
||
961 |
# The index.html, options, and packages files |
|
20363 | 962 |
MGMT_INDEX_FILE = $(MGMT_DOCDIR)/index.html |
963 |
MGMT_OPTIONS_FILE = $(DOCSTMPDIR)/mgmt.options |
|
13697 | 964 |
MGMT_PACKAGES_FILE = $(DOCSTMPDIR)/mgmt.packages |
965 |
||
966 |
mgmtdocs: $(MGMT_INDEX_FILE) |
|
967 |
||
968 |
# Set relative location to core api document root |
|
969 |
$(MGMT_INDEX_FILE): GET2DOCSDIR=$(MGMT2COREAPI)/.. |
|
970 |
||
971 |
# 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
|
972 |
$(MGMT_INDEX_FILE): $(MGMT_OPTIONS_FILE) $(MGMT_PACKAGES_FILE) $(COREAPI_INDEX_FILE) |
13697 | 973 |
$(prep-javadoc) |
20363 | 974 |
@if [ -f $(JVM_MIB_SRC) ] ; then \ |
975 |
$(CP) $(JVM_MIB_SRC) $(@D)/.. ; \ |
|
976 |
else \ |
|
977 |
$(ECHO) "WARNING: File $(JVM_MIB_NAME) not available."; \ |
|
13697 | 978 |
fi |
979 |
$(call JavadocSummary,$(MGMT_OPTIONS_FILE),$(MGMT_PACKAGES_FILE)) |
|
29176
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
980 |
$(JAVADOC_CMD_SMALL) -d $(@D) \ |
20363 | 981 |
@$(MGMT_OPTIONS_FILE) @$(MGMT_PACKAGES_FILE) |
13697 | 982 |
|
983 |
# Create file with javadoc options in it |
|
984 |
$(MGMT_OPTIONS_FILE): $(MGMT_OVERVIEW) |
|
985 |
$(prep-target) |
|
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
986 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
987 |
$(call COMMON_JAVADOCTAGS) ; \ |
22033
c323078abaf4
8031081: Use separate doclint flags for different doc bundles
darcy
parents:
21759
diff
changeset
|
988 |
$(call OptionOnly,-Xdoclint:none) ; \ |
20363 | 989 |
$(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \ |
990 |
$(call OptionPair,-encoding,ascii) ; \ |
|
991 |
$(call OptionOnly,-nodeprecatedlist) ; \ |
|
992 |
$(call OptionPair,-overview,$(MGMT_OVERVIEW)) ; \ |
|
993 |
$(call OptionPair,-doctitle,$(MGMT_DOCTITLE)) ; \ |
|
13697 | 994 |
$(call OptionPair,-windowtitle,$(MGMT_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
20363 | 995 |
$(call OptionPair,-header,$(MGMT_HEADER)$(DRAFT_HEADER)) ; \ |
996 |
$(call OptionPair,-bottom,$(MGMT_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
|
13697 | 997 |
$(call OptionTrip,-linkoffline,$(MGMT2COREAPI),$(COREAPI_DOCSDIR)/); \ |
20363 | 998 |
) >> $@ |
13697 | 999 |
|
1000 |
# 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
|
1001 |
$(MGMT_PACKAGES_FILE): $(call PackageDependencies,$(MGMT_PKGS)) |
13697 | 1002 |
$(prep-target) |
1003 |
$(call PackageFilter,$(MGMT_PKGS)) |
|
1004 |
||
1005 |
############################################################# |
|
1006 |
# |
|
1007 |
# attachdocs |
|
1008 |
# |
|
1009 |
||
1010 |
ALL_OTHER_TARGETS += attachdocs |
|
1011 |
||
20363 | 1012 |
ATTACH_DOCDIR := $(JDK_API_DOCSDIR)/attach/spec |
1013 |
ATTACH2COREAPI := ../../$(JDKJRE2COREAPI) |
|
1014 |
ATTACH_DOCTITLE := Attach API |
|
13697 | 1015 |
ATTACH_WINDOWTITLE := Attach API |
20363 | 1016 |
ATTACH_HEADER := <strong>Attach API</strong> |
1017 |
ATTACH_BOTTOM := $(call CommonBottom,$(ATTACH_FIRST_COPYRIGHT_YEAR)) |
|
13697 | 1018 |
# ATTACH_PKGS is located in NON_CORE_PKGS.gmk |
1019 |
||
20363 | 1020 |
ATTACH_INDEX_HTML = $(ATTACH_DOCDIR)/index.html |
1021 |
ATTACH_OPTIONS_FILE = $(DOCSTMPDIR)/attach.options |
|
13697 | 1022 |
ATTACH_PACKAGES_FILE = $(DOCSTMPDIR)/attach.packages |
1023 |
||
1024 |
attachdocs: $(ATTACH_INDEX_HTML) |
|
1025 |
||
1026 |
# Set relative location to core api document root |
|
1027 |
$(ATTACH_INDEX_HTML): GET2DOCSDIR=$(ATTACH2COREAPI)/.. |
|
1028 |
||
1029 |
# 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
|
1030 |
$(ATTACH_INDEX_HTML): $(ATTACH_OPTIONS_FILE) $(ATTACH_PACKAGES_FILE) $(COREAPI_INDEX_FILE) |
13697 | 1031 |
$(prep-javadoc) |
1032 |
$(call JavadocSummary,$(ATTACH_OPTIONS_FILE),$(ATTACH_PACKAGES_FILE)) |
|
29176
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
1033 |
$(JAVADOC_CMD_SMALL) -d $(@D) \ |
20363 | 1034 |
@$(ATTACH_OPTIONS_FILE) @$(ATTACH_PACKAGES_FILE) |
13697 | 1035 |
|
1036 |
# Create file with javadoc options in it |
|
1037 |
$(ATTACH_OPTIONS_FILE): |
|
1038 |
$(prep-target) |
|
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
1039 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
1040 |
$(call COMMON_JAVADOCTAGS) ; \ |
22033
c323078abaf4
8031081: Use separate doclint flags for different doc bundles
darcy
parents:
21759
diff
changeset
|
1041 |
$(call OptionOnly,-Xdoclint:none) ; \ |
20363 | 1042 |
$(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \ |
1043 |
$(call OptionPair,-encoding,ascii) ; \ |
|
1044 |
$(call OptionOnly,-nodeprecatedlist) ; \ |
|
1045 |
$(call OptionPair,-doctitle,$(ATTACH_DOCTITLE)) ; \ |
|
1046 |
$(call OptionPair,-windowtitle,$(ATTACH_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
|
1047 |
$(call OptionPair,-header,$(ATTACH_HEADER)$(DRAFT_HEADER)) ; \ |
|
1048 |
$(call OptionPair,-bottom,$(ATTACH_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
|
13697 | 1049 |
$(call OptionTrip,-linkoffline,$(ATTACH2COREAPI),$(COREAPI_DOCSDIR)/); \ |
20363 | 1050 |
) >> $@ |
13697 | 1051 |
|
1052 |
# 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
|
1053 |
$(ATTACH_PACKAGES_FILE): $(call PackageDependencies,$(ATTACH_PKGS)) |
13697 | 1054 |
$(prep-target) |
1055 |
$(call PackageFilter,$(ATTACH_PKGS)) |
|
1056 |
||
1057 |
############################################################# |
|
1058 |
# |
|
1059 |
# jconsoledocs |
|
1060 |
# |
|
1061 |
||
1062 |
ALL_OTHER_TARGETS += jconsoledocs |
|
1063 |
||
20363 | 1064 |
JCONSOLE_DOCDIR := $(JDK_API_DOCSDIR)/jconsole/spec |
1065 |
JCONSOLE2COREAPI := ../../$(JDKJRE2COREAPI) |
|
1066 |
JCONSOLE_DOCTITLE := JConsole API |
|
13697 | 1067 |
JCONSOLE_WINDOWTITLE := JConsole API |
20363 | 1068 |
JCONSOLE_HEADER := <strong>JConsole API</strong> |
1069 |
JCONSOLE_BOTTOM := $(call CommonBottom,$(JCONSOLE_FIRST_COPYRIGHT_YEAR)) |
|
13697 | 1070 |
# JCONSOLE_PKGS is located in NON_CORE_PKGS.gmk |
1071 |
||
20363 | 1072 |
JCONSOLE_INDEX_HTML = $(JCONSOLE_DOCDIR)/index.html |
1073 |
JCONSOLE_OPTIONS_FILE = $(DOCSTMPDIR)/jconsole.options |
|
13697 | 1074 |
JCONSOLE_PACKAGES_FILE = $(DOCSTMPDIR)/jconsole.packages |
1075 |
||
1076 |
jconsoledocs: $(JCONSOLE_INDEX_HTML) |
|
1077 |
||
1078 |
# Set relative location to core api document root |
|
1079 |
$(JCONSOLE_INDEX_HTML): GET2DOCSDIR=$(JCONSOLE2COREAPI)/.. |
|
1080 |
||
1081 |
# 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
|
1082 |
$(JCONSOLE_INDEX_HTML): $(JCONSOLE_OPTIONS_FILE) $(JCONSOLE_PACKAGES_FILE) $(COREAPI_INDEX_FILE) |
13697 | 1083 |
$(prep-javadoc) |
1084 |
$(call JavadocSummary,$(JCONSOLE_OPTIONS_FILE),$(JCONSOLE_PACKAGES_FILE)) |
|
29176
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
1085 |
$(JAVADOC_CMD_SMALL) -d $(@D) \ |
20363 | 1086 |
@$(JCONSOLE_OPTIONS_FILE) @$(JCONSOLE_PACKAGES_FILE) |
13697 | 1087 |
|
1088 |
# Create file with javadoc options in it |
|
1089 |
$(JCONSOLE_OPTIONS_FILE): |
|
1090 |
$(prep-target) |
|
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
1091 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
1092 |
$(call COMMON_JAVADOCTAGS) ; \ |
22033
c323078abaf4
8031081: Use separate doclint flags for different doc bundles
darcy
parents:
21759
diff
changeset
|
1093 |
$(call OptionOnly,-Xdoclint:none) ; \ |
20363 | 1094 |
$(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \ |
1095 |
$(call OptionPair,-encoding,ascii) ; \ |
|
1096 |
$(call OptionOnly,-nodeprecatedlist) ; \ |
|
1097 |
$(call OptionPair,-doctitle,$(JCONSOLE_DOCTITLE)) ; \ |
|
1098 |
$(call OptionPair,-windowtitle,$(JCONSOLE_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
|
1099 |
$(call OptionPair,-header,$(JCONSOLE_HEADER)$(DRAFT_HEADER)) ; \ |
|
1100 |
$(call OptionPair,-bottom,$(JCONSOLE_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
|
13697 | 1101 |
$(call OptionTrip,-linkoffline,$(JCONSOLE2COREAPI),$(COREAPI_DOCSDIR)/); \ |
20363 | 1102 |
) >> $@ |
13697 | 1103 |
|
1104 |
# 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
|
1105 |
$(JCONSOLE_PACKAGES_FILE): $(call PackageDependencies,$(JCONSOLE_PKGS)) |
13697 | 1106 |
$(prep-target) |
1107 |
$(call PackageFilter,$(JCONSOLE_PKGS)) |
|
1108 |
||
1109 |
############################################################# |
|
1110 |
# |
|
1111 |
# treeapidocs |
|
1112 |
# |
|
1113 |
||
1114 |
ALL_OTHER_TARGETS += treeapidocs |
|
1115 |
||
20363 | 1116 |
TREEAPI_DOCDIR := $(JDK_API_DOCSDIR)/javac/tree |
1117 |
TREEAPI2COREAPI := ../../$(JDKJRE2COREAPI) |
|
1118 |
TREEAPI_DOCTITLE := Compiler Tree API |
|
1119 |
TREEAPI_WINDOWTITLE := Compiler Tree API |
|
1120 |
TREEAPI_HEADER := <strong>Compiler Tree API</strong> |
|
1121 |
TREEAPI_BOTTOM := $(call CommonBottom,$(TREEAPI_FIRST_COPYRIGHT_YEAR)) |
|
1122 |
TREEAPI_GROUPNAME := Packages |
|
1123 |
TREEAPI_REGEXP := com.sun.source.* |
|
13697 | 1124 |
# TREEAPI_PKGS is located in NON_CORE_PKGS.gmk |
1125 |
||
20363 | 1126 |
TREEAPI_INDEX_HTML = $(TREEAPI_DOCDIR)/index.html |
1127 |
TREEAPI_OPTIONS_FILE = $(DOCSTMPDIR)/treeapi.options |
|
13697 | 1128 |
TREEAPI_PACKAGES_FILE = $(DOCSTMPDIR)/treeapi.packages |
1129 |
||
1130 |
treeapidocs: $(TREEAPI_INDEX_HTML) |
|
1131 |
||
1132 |
# Set relative location to core api document root |
|
1133 |
$(TREEAPI_INDEX_HTML): GET2DOCSDIR=$(TREEAPI2COREAPI)/.. |
|
1134 |
||
1135 |
# 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
|
1136 |
$(TREEAPI_INDEX_HTML): $(TREEAPI_OPTIONS_FILE) $(TREEAPI_PACKAGES_FILE) $(COREAPI_INDEX_FILE) |
13697 | 1137 |
$(prep-javadoc) |
1138 |
$(call JavadocSummary,$(TREEAPI_OPTIONS_FILE),$(TREEAPI_PACKAGES_FILE)) |
|
29176
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
1139 |
$(JAVADOC_CMD_SMALL) -d $(@D) \ |
20363 | 1140 |
@$(TREEAPI_OPTIONS_FILE) @$(TREEAPI_PACKAGES_FILE) |
13697 | 1141 |
|
1142 |
# Create file with javadoc options in it |
|
1143 |
$(TREEAPI_OPTIONS_FILE): |
|
1144 |
$(prep-target) |
|
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
1145 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
1146 |
$(call COMMON_JAVADOCTAGS) ; \ |
25043
b5598c2ddf6f
8048302: Update bug reporting URL in make/Javadoc.gmk
darcy
parents:
24232
diff
changeset
|
1147 |
$(call OptionOnly,-Xdoclint:all) ; \ |
20363 | 1148 |
$(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \ |
1149 |
$(call OptionPair,-encoding,ascii) ; \ |
|
1150 |
$(call OptionPair,-doctitle,$(TREEAPI_DOCTITLE)) ; \ |
|
1151 |
$(call OptionPair,-windowtitle,$(TREEAPI_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
|
1152 |
$(call OptionPair,-header,$(TREEAPI_HEADER)$(DRAFT_HEADER)) ; \ |
|
1153 |
$(call OptionPair,-bottom,$(TREEAPI_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
|
13697 | 1154 |
$(call OptionTrip,-group,$(TREEAPI_GROUPNAME),$(TREEAPI_REGEXP)); \ |
1155 |
$(call OptionTrip,-linkoffline,$(TREEAPI2COREAPI),$(COREAPI_DOCSDIR)/); \ |
|
20363 | 1156 |
) >> $@ |
13697 | 1157 |
|
1158 |
# 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
|
1159 |
$(TREEAPI_PACKAGES_FILE): $(call PackageDependencies,$(TREEAPI_PKGS)) |
13697 | 1160 |
$(prep-target) |
1161 |
$(call PackageFilter,$(TREEAPI_PKGS)) |
|
1162 |
||
1163 |
############################################################# |
|
1164 |
# |
|
27596
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1165 |
# nashornapidocs |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1166 |
# |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1167 |
|
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1168 |
ALL_OTHER_TARGETS += nashornapidocs |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1169 |
|
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1170 |
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
|
1171 |
NASHORNAPI2COREAPI := ../$(JDKJRE2COREAPI) |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1172 |
NASHORNAPI_DOCTITLE := Nashorn API |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1173 |
NASHORNAPI_WINDOWTITLE := Nashorn API |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1174 |
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
|
1175 |
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
|
1176 |
NASHORNAPI_GROUPNAME := Packages |
30416
6216eb71e929
8079900: javadoc is missing for jdk.nashorn.api.tree package
sundar
parents:
29851
diff
changeset
|
1177 |
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
|
1178 |
# 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
|
1179 |
|
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1180 |
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
|
1181 |
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
|
1182 |
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
|
1183 |
|
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1184 |
nashornapidocs: $(NASHORNAPI_INDEX_HTML) |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1185 |
|
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1186 |
# 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
|
1187 |
$(NASHORNAPI_INDEX_HTML): GET2DOCSDIR=$(NASHORNAPI2COREAPI)/.. |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1188 |
|
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1189 |
# 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
|
1190 |
$(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
|
1191 |
$(prep-javadoc) |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1192 |
$(call JavadocSummary,$(NASHORNAPI_OPTIONS_FILE),$(NASHORNAPI_PACKAGES_FILE)) |
29176
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
1193 |
$(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
|
1194 |
@$(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
|
1195 |
|
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1196 |
# 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
|
1197 |
$(NASHORNAPI_OPTIONS_FILE): |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1198 |
$(prep-target) |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1199 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1200 |
$(call COMMON_JAVADOCTAGS) ; \ |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1201 |
$(call OptionOnly,-Xdoclint:all) ; \ |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1202 |
$(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \ |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1203 |
$(call OptionPair,-encoding,ascii) ; \ |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1204 |
$(call OptionPair,-doctitle,$(NASHORNAPI_DOCTITLE)) ; \ |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1205 |
$(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
|
1206 |
$(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
|
1207 |
$(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
|
1208 |
$(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
|
1209 |
$(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
|
1210 |
) >> $@ |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1211 |
|
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1212 |
# 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
|
1213 |
$(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
|
1214 |
$(prep-target) |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1215 |
$(call PackageFilter,$(NASHORNAPI_PKGS)) |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1216 |
|
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1217 |
############################################################# |
da40665398a4
8066146: jdk.nashorn.api.scripting package javadoc should be included in jdk docs
sundar
parents:
27595
diff
changeset
|
1218 |
# |
35369
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1219 |
# dynalinkapidocs |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1220 |
# |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1221 |
|
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1222 |
ALL_OTHER_TARGETS += dynalinkapidocs |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1223 |
|
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1224 |
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
|
1225 |
DYNALINKAPI2COREAPI := ../$(JDKJRE2COREAPI) |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1226 |
DYNALINKAPI_DOCTITLE := Dynalink API |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1227 |
DYNALINKAPI_WINDOWTITLE := Dynalink API |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1228 |
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
|
1229 |
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
|
1230 |
DYNALINKAPI_GROUPNAME := Packages |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1231 |
DYNALINKAPI_REGEXP := jdk.dynalink.* |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1232 |
# 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
|
1233 |
|
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1234 |
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
|
1235 |
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
|
1236 |
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
|
1237 |
|
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1238 |
dynalinkapidocs: $(DYNALINKAPI_INDEX_HTML) |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1239 |
|
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1240 |
# 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
|
1241 |
$(DYNALINKAPI_INDEX_HTML): GET2DOCSDIR=$(DYNALINKAPI2COREAPI)/.. |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1242 |
|
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1243 |
# 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
|
1244 |
$(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
|
1245 |
$(prep-javadoc) |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1246 |
$(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
|
1247 |
$(JAVADOC_CMD_SMALL) -d $(@D) \ |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1248 |
@$(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
|
1249 |
|
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1250 |
# 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
|
1251 |
$(DYNALINKAPI_OPTIONS_FILE): |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1252 |
$(prep-target) |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1253 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1254 |
$(call COMMON_JAVADOCTAGS) ; \ |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1255 |
$(call OptionOnly,-Xdoclint:all) ; \ |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1256 |
$(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \ |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1257 |
$(call OptionPair,-encoding,ascii) ; \ |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1258 |
$(call OptionPair,-doctitle,$(DYNALINKAPI_DOCTITLE)) ; \ |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1259 |
$(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
|
1260 |
$(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
|
1261 |
$(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
|
1262 |
$(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
|
1263 |
$(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
|
1264 |
) >> $@ |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1265 |
|
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1266 |
# 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
|
1267 |
$(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
|
1268 |
$(prep-target) |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1269 |
$(call PackageFilter,$(DYNALINKAPI_PKGS)) |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1270 |
|
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1271 |
############################################################# |
a68e46d94261
8148617: top level make docs target does not generate javadocs for dynalink API
sundar
parents:
35367
diff
changeset
|
1272 |
# |
13697 | 1273 |
# sctpdocs |
1274 |
# |
|
1275 |
||
1276 |
ALL_OTHER_TARGETS += sctpdocs |
|
1277 |
||
20363 | 1278 |
SCTPAPI_DOCDIR := $(JRE_API_DOCSDIR)/nio/sctp/spec |
1279 |
SCTPAPI2COREAPI := ../../../$(JDKJRE2COREAPI) |
|
1280 |
SCTPAPI_DOCTITLE := SCTP API |
|
13697 | 1281 |
SCTPAPI_WINDOWTITLE := SCTP API |
20363 | 1282 |
SCTPAPI_HEADER := <strong>SCTP API</strong> |
1283 |
SCTPAPI_BOTTOM := $(call CommonBottom,$(SCTPAPI_FIRST_COPYRIGHT_YEAR)) |
|
13697 | 1284 |
# SCTPAPI_PKGS is located in NON_CORE_PKGS.gmk |
1285 |
||
20363 | 1286 |
SCTPAPI_INDEX_HTML = $(SCTPAPI_DOCDIR)/index.html |
1287 |
SCTPAPI_OPTIONS_FILE = $(DOCSTMPDIR)/sctp.options |
|
13697 | 1288 |
SCTPAPI_PACKAGES_FILE = $(DOCSTMPDIR)/sctp.packages |
1289 |
||
1290 |
sctpdocs: $(SCTPAPI_INDEX_HTML) |
|
1291 |
||
1292 |
# Set relative location to core api document root |
|
1293 |
$(SCTPAPI_INDEX_HTML): GET2DOCSDIR=$(SCTPAPI2COREAPI)/.. |
|
1294 |
||
1295 |
# 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
|
1296 |
$(SCTPAPI_INDEX_HTML): $(SCTPAPI_OPTIONS_FILE) $(SCTPAPI_PACKAGES_FILE) $(COREAPI_INDEX_FILE) |
13697 | 1297 |
$(prep-javadoc) |
1298 |
$(call JavadocSummary,$(SCTPAPI_OPTIONS_FILE),$(SCTPAPI_PACKAGES_FILE)) |
|
29176
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
1299 |
$(JAVADOC_CMD_SMALL) -d $(@D) \ |
20363 | 1300 |
@$(SCTPAPI_OPTIONS_FILE) @$(SCTPAPI_PACKAGES_FILE) |
13697 | 1301 |
|
1302 |
# Create file with javadoc options in it |
|
1303 |
$(SCTPAPI_OPTIONS_FILE): |
|
1304 |
$(prep-target) |
|
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
1305 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
1306 |
$(call COMMON_JAVADOCTAGS) ; \ |
22033
c323078abaf4
8031081: Use separate doclint flags for different doc bundles
darcy
parents:
21759
diff
changeset
|
1307 |
$(call OptionOnly,-Xdoclint:none) ; \ |
20363 | 1308 |
$(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \ |
1309 |
$(call OptionPair,-encoding,ascii) ; \ |
|
1310 |
$(call OptionOnly,-nodeprecatedlist) ; \ |
|
1311 |
$(call OptionPair,-doctitle,$(SCTPAPI_DOCTITLE)) ; \ |
|
1312 |
$(call OptionPair,-windowtitle,$(SCTPAPI_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
|
1313 |
$(call OptionPair,-header,$(SCTPAPI_HEADER)$(DRAFT_HEADER)) ; \ |
|
1314 |
$(call OptionPair,-bottom,$(SCTPAPI_BOTTOM)$(DRAFT_BOTTOM)) ; \ |
|
13697 | 1315 |
$(call OptionTrip,-linkoffline,$(SCTPAPI2COREAPI),$(COREAPI_DOCSDIR)/); \ |
20363 | 1316 |
) >> $@ |
13697 | 1317 |
|
1318 |
# 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
|
1319 |
$(SCTPAPI_PACKAGES_FILE): $(call PackageDependencies,$(SCTPAPI_PKGS)) |
13697 | 1320 |
$(prep-target) |
1321 |
$(call PackageFilter,$(SCTPAPI_PKGS)) |
|
1322 |
||
1323 |
############################################################# |
|
1324 |
# |
|
29851
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1325 |
# jaccessdocs - Java Accessibility Utilities |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1326 |
# |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1327 |
|
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1328 |
ALL_OTHER_TARGETS += jaccessdocs |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1329 |
|
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1330 |
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
|
1331 |
JACCESSAPI2COREAPI := ../../../$(JDKJRE2COREAPI) |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1332 |
JACCESSAPI_DOCTITLE := JACCESS API |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1333 |
JACCESSAPI_WINDOWTITLE := JACCESS API |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1334 |
JACCESSAPI_HEADER := <strong>JACCESS API</strong> |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1335 |
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
|
1336 |
# 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
|
1337 |
|
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1338 |
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
|
1339 |
JACCESSAPI_OPTIONS_FILE = $(DOCSTMPDIR)/jaccess.options |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1340 |
JACCESSAPI_PACKAGES_FILE = $(DOCSTMPDIR)/jaccess.packages |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1341 |
|
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1342 |
jaccessdocs: $(JACCESSAPI_INDEX_HTML) |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1343 |
|
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1344 |
# 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
|
1345 |
$(JACCESSAPI_INDEX_HTML): GET2DOCSDIR=$(JACCESSAPI2COREAPI)/.. |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1346 |
|
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1347 |
# 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
|
1348 |
$(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
|
1349 |
$(prep-javadoc) |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1350 |
$(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
|
1351 |
$(JAVADOC_CMD) -d $(@D) \ |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1352 |
@$(JACCESSAPI_OPTIONS_FILE) @$(JACCESSAPI_PACKAGES_FILE) |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1353 |
|
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1354 |
# 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
|
1355 |
$(JACCESSAPI_OPTIONS_FILE): |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1356 |
$(prep-target) |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1357 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1358 |
$(call COMMON_JAVADOCTAGS) ; \ |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1359 |
$(call OptionOnly,-Xdoclint:all) ; \ |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1360 |
$(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \ |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1361 |
$(call OptionPair,-encoding,ascii) ; \ |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1362 |
$(call OptionOnly,-nodeprecatedlist) ; \ |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1363 |
$(call OptionPair,-doctitle,$(JACCESSAPI_DOCTITLE)) ; \ |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1364 |
$(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
|
1365 |
$(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
|
1366 |
$(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
|
1367 |
$(call OptionTrip,-linkoffline,$(JACCESSAPI2COREAPI),$(COREAPI_DOCSDIR)/); \ |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1368 |
) >> $@ |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1369 |
|
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1370 |
# 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
|
1371 |
$(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
|
1372 |
$(prep-target) |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1373 |
$(call PackageFilter,$(JACCESSAPI_PKGS)) |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1374 |
|
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1375 |
############################################################# |
81a61a04e2fe
8076182: Open Source Java Access Bridge - Create Patch for JEP C127 8055831
ptbrunet
parents:
29176
diff
changeset
|
1376 |
# |
23836
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1377 |
# jdk.net docs |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1378 |
# |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1379 |
|
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1380 |
ALL_OTHER_TARGETS += jdknetdocs |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1381 |
|
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1382 |
JDKNET_DOCDIR := $(JRE_API_DOCSDIR)/net/socketoptions/spec |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1383 |
JDKNET2COREAPI := ../../../$(JDKJRE2COREAPI) |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1384 |
JDKNET_DOCTITLE := jdk.net API |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1385 |
JDKNET_WINDOWTITLE := jdk.net API |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1386 |
JDKNET_HEADER := <strong>jdk.net API</strong> |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1387 |
JDKNET_BOTTOM := $(call CommonBottom,$(JDKNET_FIRST_COPYRIGHT_YEAR)) |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1388 |
JDKNET_PKGS := jdk.net |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1389 |
|
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1390 |
JDKNET_INDEX_HTML = $(JDKNET_DOCDIR)/index.html |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1391 |
JDKNET_OPTIONS_FILE = $(DOCSTMPDIR)/jdknet.options |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1392 |
JDKNET_PACKAGES_FILE = $(DOCSTMPDIR)/jdknet.packages |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1393 |
|
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1394 |
jdknetdocs: $(JDKNET_INDEX_HTML) |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1395 |
|
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1396 |
# Set relative location to core api document root |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1397 |
$(JDKNET_INDEX_HTML): GET2DOCSDIR=$(JDKNET2COREAPI)/.. |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1398 |
|
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1399 |
# 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
|
1400 |
$(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
|
1401 |
$(prep-javadoc) |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1402 |
$(call JavadocSummary,$(JDKNET_OPTIONS_FILE),$(JDKNET_PACKAGES_FILE)) |
29176
45baf3cdc876
8074395: Random build failures in javadoc on Solaris
erikj
parents:
28010
diff
changeset
|
1403 |
$(JAVADOC_CMD_SMALL) -d $(@D) \ |
23836
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1404 |
@$(JDKNET_OPTIONS_FILE) @$(JDKNET_PACKAGES_FILE) |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1405 |
|
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1406 |
# Create file with javadoc options in it |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1407 |
$(JDKNET_OPTIONS_FILE): |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1408 |
$(prep-target) |
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
1409 |
@($(call COMMON_JAVADOCFLAGS) ; \ |
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
1410 |
$(call COMMON_JAVADOCTAGS) ; \ |
23836
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1411 |
$(call OptionOnly,-Xdoclint:none) ; \ |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1412 |
$(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \ |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1413 |
$(call OptionPair,-encoding,ascii) ; \ |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1414 |
$(call OptionOnly,-nodeprecatedlist) ; \ |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1415 |
$(call OptionPair,-doctitle,$(JDKNET_DOCTITLE)) ; \ |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1416 |
$(call OptionPair,-windowtitle,$(JDKNET_WINDOWTITLE) $(DRAFT_WINTITLE)); \ |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1417 |
$(call OptionPair,-header,$(JDKNET_HEADER)$(DRAFT_HEADER)); \ |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1418 |
$(call OptionPair,-bottom,$(JDKNET_BOTTOM)$(DRAFT_BOTTOM)); \ |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1419 |
$(call OptionTrip,-linkoffline,$(JDKNET2COREAPI),$(COREAPI_DOCSDIR)/); \ |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1420 |
) >> $@ |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1421 |
|
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1422 |
# 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
|
1423 |
$(JDKNET_PACKAGES_FILE): $(call PackageDependencies,$(JDKNET_PKGS)) |
23836
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1424 |
$(prep-target) |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1425 |
$(call PackageFilter,$(JDKNET_PKGS)) |
a199f7dbfbc6
8036979: Support java.net.SocketOption<> in java.net socket types
michaelm
parents:
22033
diff
changeset
|
1426 |
|
13697 | 1427 |
|
1428 |
otherdocs: $(ALL_OTHER_TARGETS) |
|
1429 |
||
1430 |
############################################################# |
|
33926
3a19edba4808
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30416
diff
changeset
|
1431 |
.PHONY: all docs coredocs otherdocs \ |
3a19edba4808
8085822: JEP 223: New Version-String Scheme (initial integration)
ihse
parents:
30416
diff
changeset
|
1432 |
$(ALL_OTHER_TARGETS) |