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