author | chegar |
Thu, 07 May 2009 17:02:47 +0100 | |
changeset 2792 | 0d9dc3243c22 |
parent 2280 | f51e04e4fd95 |
child 2945 | 43a90b14c7ed |
permissions | -rw-r--r-- |
2 | 1 |
# |
2280
f51e04e4fd95
6550221: jaas, jgss and smartcardio javadoc files do not contain Copyrights
weijun
parents:
2169
diff
changeset
|
2 |
# Copyright 1997-2009 Sun Microsystems, Inc. All Rights Reserved. |
2 | 3 |
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 |
# |
|
5 |
# This code is free software; you can redistribute it and/or modify it |
|
6 |
# under the terms of the GNU General Public License version 2 only, as |
|
7 |
# published by the Free Software Foundation. Sun designates this |
|
8 |
# particular file as subject to the "Classpath" exception as provided |
|
9 |
# by Sun in the LICENSE file that accompanied this code. |
|
10 |
# |
|
11 |
# This code is distributed in the hope that it will be useful, but WITHOUT |
|
12 |
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
13 |
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
14 |
# version 2 for more details (a copy is included in the LICENSE file that |
|
15 |
# accompanied this code). |
|
16 |
# |
|
17 |
# You should have received a copy of the GNU General Public License version |
|
18 |
# 2 along with this work; if not, write to the Free Software Foundation, |
|
19 |
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
|
20 |
# |
|
21 |
# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, |
|
22 |
# CA 95054 USA or visit www.sun.com if you need additional information or |
|
23 |
# have any questions. |
|
24 |
# |
|
25 |
||
26 |
# |
|
27 |
# Definitions for $(DOCSDIR), $(MKDIR), $(BINDIR), etc. |
|
28 |
# |
|
29 |
BUILDDIR=.. |
|
30 |
PRODUCT=docs |
|
31 |
include $(BUILDDIR)/common/Defs.gmk |
|
32 |
||
33 |
# We override whatever the max VM memory setting is here. |
|
34 |
# NOTE: javadoc will not complete without these larger settings. |
|
35 |
# WARNING: This could cause thrashing on low memory machines. |
|
36 |
ifeq ($(ARCH_DATA_MODEL),64) |
|
37 |
MAX_VM_MEMORY = 1024 |
|
38 |
else |
|
39 |
MAX_VM_MEMORY = 512 |
|
40 |
endif |
|
41 |
||
42 |
# |
|
43 |
# Variables used by docs target |
|
44 |
# |
|
45 |
DOCSTMPDIR = $(TEMPDIR)/doctmp |
|
46 |
||
47 |
COMMON_JAVADOCFLAGS = \ |
|
2169 | 48 |
$(NO_PROPRIETARY_API_WARNINGS) \ |
2 | 49 |
-source 1.5 \ |
50 |
-quiet \ |
|
51 |
-use \ |
|
52 |
-keywords \ |
|
53 |
$(JAVADOC_VM_MEMORY_FLAGS) \ |
|
54 |
$(ADDITIONAL_JAVADOCFLAGS) |
|
55 |
ADDITIONAL_JAVADOCFLAGS = |
|
56 |
||
57 |
CORE_JAVADOCFLAGS = $(COMMON_JAVADOCFLAGS) \ |
|
58 |
$(TAGS) \ |
|
59 |
-encoding ISO-8859-1 \ |
|
60 |
-splitIndex \ |
|
61 |
-doctitle $(DOCTITLE_SWITCH) \ |
|
62 |
-windowtitle $(WINDOWTITLE_SWITCH) \ |
|
63 |
-header $(HEADER_SWITCH) \ |
|
64 |
$(TOPOPTION) \ |
|
65 |
-bottom $(JAVADOCBOTTOM_SWITCH) \ |
|
66 |
$(OVERVIEW_OPTION) |
|
67 |
||
1770
3b41559daa17
6790217: Javadoc HTML WCAG 2.0 accessibility issues in jdk docs makefile - Bold tags should be strong
bpatel
parents:
715
diff
changeset
|
68 |
DRAFT = '<br><strong>DRAFT '$(MILESTONE)-$(BUILD_NUMBER)'</strong>' |
2 | 69 |
THIS_YEAR := $(shell $(DATE) | $(SED) -e 's/ / /g' | $(CUT) -d' ' -f6) |
70 |
TRADEMARK = &\#x2122; |
|
71 |
||
72 |
IGNORED_TAGS = beaninfo revised since.unbundled spec Note ToDo |
|
73 |
||
74 |
JLS3_URL = http://java.sun.com/docs/books/jls/ |
|
75 |
JLS3_CITE = <a href="$(JLS3_URL)"> \ |
|
76 |
The Java Language Specification, Third Edition</a> |
|
77 |
TAG_JLS3 = -tag 'jls3:a:See <cite>$(JLS3_CITE)</cite>:' |
|
78 |
||
79 |
TAGS = $(IGNORED_TAGS:%=-tag %:X) $(TAG_JLS3) |
|
80 |
||
81 |
ifeq ($(MILESTONE), fcs) |
|
82 |
DOCTITLE_SWITCH = $(JAVADOCTITLE) |
|
83 |
WINDOWTITLE_SWITCH = $(JAVADOCWINDOWTITLE) |
|
84 |
HEADER_SWITCH = $(JAVADOCHEADER) |
|
85 |
TOPOPTION= |
|
86 |
JAVADOCBOTTOM_SWITCH= $(JAVADOCBOTTOM) |
|
87 |
OVERVIEW_OPTION = -overview $(JAVADOCOVERVIEW) |
|
88 |
else |
|
89 |
DOCTITLE_SWITCH = $(JAVADOCTITLE_EARLYACCESS)$(DRAFT) |
|
90 |
WINDOWTITLE_SWITCH = $(JAVADOCWINDOWTITLE)" $(BUILD_NUMBER)" |
|
91 |
HEADER_SWITCH = $(JAVADOCHEADER)$(DRAFT) |
|
92 |
JAVADOCBOTTOM_SWITCH= $(JAVADOCBOTTOM_EARLYACCESS) |
|
93 |
TOPOPTION= -top $(JAVADOCTOP_EARLYACCESS) |
|
94 |
OVERVIEW_OPTION = |
|
95 |
endif |
|
96 |
||
97 |
JAVADOCTITLE = 'Java$(TRADEMARK) Platform, Standard Edition $(JDK_MINOR_VERSION)<br>API Specification' |
|
98 |
JAVADOCWINDOWTITLE = 'Java Platform SE $(JDK_MINOR_VERSION)' |
|
1770
3b41559daa17
6790217: Javadoc HTML WCAG 2.0 accessibility issues in jdk docs makefile - Bold tags should be strong
bpatel
parents:
715
diff
changeset
|
99 |
JAVADOCHEADER = '<strong>Java$(TRADEMARK) Platform<br>Standard Ed. $(JDK_MINOR_VERSION)</strong>' |
2 | 100 |
JAVADOCBOTTOM = '<font size="-1"><a href="http://bugs.sun.com/services/bugreport/index.jsp">Submit a bug or feature</a><br>For further API reference and developer documentation, see <a href="{@docroot}/../../webnotes/devdocs-vs-specs.html">Java SE Developer Documentation</a>. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples. <p>Copyright $(THIS_YEAR) Sun Microsystems, Inc. All Rights Reserved. Use is subject to <a href="{@docroot}/../legal/license.html">license terms</a>. Also see the <a href="http://java.sun.com/docs/redist.html">documentation redistribution policy</a>.</font>' |
101 |
JAVADOCOVERVIEW = $(SHARE_SRC)/classes/overview-core.html |
|
102 |
||
103 |
# |
|
104 |
# Early access top and bottom text (for snapshots, beta and rc) |
|
105 |
# |
|
106 |
JAVADOCTOP_EARLYACCESS = '<div style="background-color: \#EEEEEE"> <div style="padding: 6px; margin-top: 2px; margin-bottom: 6px; margin-left: 6px; margin-right: 6px; text-align: justify; font-size: 80%; font-family: Helvetica, Arial, sans-serif; font-weight: normal;"> Please note that this documentation is not final and is subject to change. </div> </div>' |
|
107 |
JAVADOCBOTTOM_EARLYACCESS = '<font size="-1"><a href="http://bugs.sun.com/services/bugreport/index.jsp">Submit a bug or feature</a> <p>Copyright $(THIS_YEAR) Sun Microsystems, Inc. All Rights Reserved. Use is subject to <a href="{@docroot}/../legal/license.html">license terms</a>.</font>' |
|
108 |
JAVADOCTITLE_EARLYACCESS = $(subst Specification,Documentation,$(JAVADOCTITLE)) |
|
109 |
||
110 |
# |
|
111 |
# Variables used by domapidocs target |
|
112 |
# |
|
113 |
||
114 |
DOMAPI_JAVADOCFLAGS = $(COMMON_JAVADOCFLAGS) \ |
|
115 |
-encoding ascii \ |
|
116 |
-splitIndex \ |
|
117 |
-doctitle $(DOMAPI_JAVADOCTITLE) \ |
|
118 |
-windowtitle $(DOMAPI_JAVADOCWINDOWTITLE) \ |
|
119 |
-header $(DOMAPI_JAVADOCHEADER) \ |
|
120 |
-bottom $(DOMAPI_JAVADOCBOTTOM) \ |
|
121 |
-group $(DOMAPI_GROUPNAME) $(DOMAPI_REGEXP) |
|
122 |
DOMAPI_JAVADOCTITLE = 'Common DOM API' |
|
123 |
DOMAPI_JAVADOCWINDOWTITLE = 'Common DOM API' |
|
1770
3b41559daa17
6790217: Javadoc HTML WCAG 2.0 accessibility issues in jdk docs makefile - Bold tags should be strong
bpatel
parents:
715
diff
changeset
|
124 |
DOMAPI_JAVADOCHEADER = '<strong>Common DOM API</strong>' |
2 | 125 |
DOMAPI_JAVADOCBOTTOM = '<font size="-1"><a href="http://bugs.sun.com/services/bugreport/index.jsp">Submit a bug or feature</a><br>Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.<br>Copyright $(THIS_YEAR) Sun Microsystems, Inc. 4150 Network Circle<br>Santa Clara, California, 95054, U.S.A. All Rights Reserved.</font>' |
126 |
DOMAPI_GROUPNAME = "Packages" |
|
127 |
DOMAPI_REGEXP = "com.sun.java.browser.dom:org.w3c.dom*" |
|
128 |
# DOMAPI_PKGS is located in NON_CORE_PKGS.gmk |
|
129 |
||
130 |
# |
|
131 |
# Variables used by mirrordocs target |
|
132 |
# |
|
133 |
||
134 |
MIRROR_JAVADOCFLAGS = $(COMMON_JAVADOCFLAGS) \ |
|
135 |
-encoding ascii \ |
|
136 |
-doctitle $(MIRROR_JAVADOCTITLE) \ |
|
137 |
-windowtitle $(MIRROR_JAVADOCWINDOWTITLE) \ |
|
138 |
-header $(MIRROR_JAVADOCHEADER) \ |
|
139 |
-bottom $(MIRROR_JAVADOCBOTTOM) \ |
|
140 |
-group $(MIRROR_GROUPNAME) $(MIRROR_REGEXP) \ |
|
141 |
-overview $(MIRROR_OVERVIEW) |
|
142 |
MIRROR_JAVADOCTITLE = 'Mirror API' |
|
143 |
MIRROR_JAVADOCWINDOWTITLE = 'Mirror API' |
|
1770
3b41559daa17
6790217: Javadoc HTML WCAG 2.0 accessibility issues in jdk docs makefile - Bold tags should be strong
bpatel
parents:
715
diff
changeset
|
144 |
MIRROR_JAVADOCHEADER = '<strong>Mirror API</strong>' |
2 | 145 |
MIRROR_JAVADOCBOTTOM = '<font size="-1"><a href="http://bugs.sun.com/services/bugreport/index.jsp">Report a bug or request a feature.</a><br>Copyright $(THIS_YEAR) Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.</font>' |
146 |
MIRROR_GROUPNAME = "Packages" |
|
147 |
MIRROR_OVERVIEW = $(IMPORTSRCDIR)/com/sun/mirror/overview.html |
|
148 |
MIRROR_REGEXP = "com.sun.mirror.*" |
|
149 |
MIRROR_DESTDIR = $(DOCSDIR)/jdk/api/apt/mirror |
|
150 |
MIRROR_LINKOPT = -linkoffline ../../../../api $(DOCSDIR)/api/ |
|
151 |
# MIRROR_PKGS is located in NON_CORE_PKGS.gmk |
|
152 |
||
153 |
# |
|
154 |
# Variables used by docletapidocs target |
|
155 |
# |
|
156 |
||
157 |
DOCLETAPI_JAVADOCFLAGS = $(COMMON_JAVADOCFLAGS) \ |
|
158 |
-breakiterator \ |
|
159 |
-encoding ascii \ |
|
160 |
-doctitle $(DOCLETAPI_JAVADOCTITLE) \ |
|
161 |
-windowtitle $(DOCLETAPI_JAVADOCWINDOWTITLE) \ |
|
162 |
-header $(DOCLETAPI_JAVADOCHEADER) \ |
|
163 |
-bottom $(DOCLETAPI_JAVADOCBOTTOM) \ |
|
164 |
-group $(DOCLETAPI_GROUPNAME) $(DOCLETAPI_REGEXP) |
|
165 |
DOCLETAPI_JAVADOCTITLE = 'Doclet API' |
|
166 |
DOCLETAPI_JAVADOCWINDOWTITLE = 'Doclet API' |
|
1770
3b41559daa17
6790217: Javadoc HTML WCAG 2.0 accessibility issues in jdk docs makefile - Bold tags should be strong
bpatel
parents:
715
diff
changeset
|
167 |
DOCLETAPI_JAVADOCHEADER = '<strong>Doclet API</strong>' |
2 | 168 |
DOCLETAPI_JAVADOCBOTTOM = '<font size="-1"><a href="http://bugs.sun.com/services/bugreport/index.jsp">Submit a bug or feature</a><br>Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.<br>Copyright 1993-$(THIS_YEAR) Sun Microsystems, Inc. 4150 Network Circle<br>Santa Clara, California, 95054, U.S.A. All Rights Reserved.</font>' |
169 |
DOCLETAPI_GROUPNAME = "Packages" |
|
170 |
DOCLETAPI_REGEXP = "com.sun.javadoc" |
|
171 |
DOCLETAPI_LINKOPT = -linkoffline ../../../../api $(DOCSDIR)/api/ |
|
172 |
# DOCLETAPI_PKGS is located in NON_CORE_PKGS.gmk |
|
173 |
||
174 |
# |
|
175 |
# Variables used by tagletapidocs target |
|
176 |
# |
|
177 |
||
178 |
TAGLETAPI_JAVADOCFLAGS = $(COMMON_JAVADOCFLAGS) \ |
|
179 |
-encoding ascii \ |
|
180 |
-nonavbar \ |
|
181 |
-noindex \ |
|
182 |
-bottom $(TAGLETAPI_JAVADOCBOTTOM) |
|
183 |
TAGLETAPI_JAVADOCBOTTOM = '<font size="-1"><a href="http://bugs.sun.com/services/bugreport/index.jsp">Submit a bug or feature</a><br>Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.<br>Copyright 1993-$(THIS_YEAR) Sun Microsystems, Inc. 4150 Network Circle<br>Santa Clara, California, 95054, U.S.A. All Rights Reserved.</font>' |
|
184 |
# TAGLETAPI_FILE is located in NON_CORE_PKGS.gmk |
|
185 |
||
186 |
# |
|
187 |
# Variables used by jdi target |
|
188 |
# |
|
189 |
||
190 |
JPDA_SOURCEPATH = $(TOPDIR)/src/share/classes |
|
191 |
||
192 |
JDI_JAVADOCFLAGS = $(COMMON_JAVADOCFLAGS) \ |
|
193 |
-encoding ascii \ |
|
194 |
-nodeprecatedlist \ |
|
195 |
-d $(DOCSDIR)/jdk/api/jpda/jdi \ |
|
196 |
-sourcepath $(JPDA_SOURCEPATH) \ |
|
197 |
-windowtitle $(JDI_WINDOWTITLE) \ |
|
198 |
-doctitle $(JDI_DOCTITLE) \ |
|
199 |
-header $(JDI_HEADER) \ |
|
200 |
-linkoffline ../../../../api $(DOCSDIR)/api/ \ |
|
201 |
-overview $(JPDA_SOURCEPATH)/jdi-overview.html |
|
202 |
JDI_WINDOWTITLE = "Java Debug Interface" |
|
203 |
JDI_DOCTITLE = "Java$(TRADEMARK) Debug Interface" |
|
204 |
JDI_HEADER = "Java Debug Interface" |
|
205 |
# JDI_PKGS is located in NON_CORE_PKGS.gmk |
|
206 |
||
2280
f51e04e4fd95
6550221: jaas, jgss and smartcardio javadoc files do not contain Copyrights
weijun
parents:
2169
diff
changeset
|
207 |
# Variables used by security components |
f51e04e4fd95
6550221: jaas, jgss and smartcardio javadoc files do not contain Copyrights
weijun
parents:
2169
diff
changeset
|
208 |
SECURITYAPI_JAVADOCBOTTOM = '<font size="-1"><a href="http://bugs.sun.com/services/bugreport/index.jsp">Report a bug or request a feature.</a><br>Copyright $(THIS_YEAR) Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.</font>' |
f51e04e4fd95
6550221: jaas, jgss and smartcardio javadoc files do not contain Copyrights
weijun
parents:
2169
diff
changeset
|
209 |
|
2 | 210 |
# |
211 |
# Variables used by JAAS target |
|
212 |
# |
|
213 |
# NOTE: Quotes are required around sourcepath argument only on Windows. Otherwise, |
|
214 |
# you get "No packages or classes specified." due to $(CLASSPATH_SEPARATOR) |
|
215 |
# being interpreted as an end of command (newline) |
|
216 |
||
217 |
JAAS_SOURCEPATH = "$(TOPDIR)/src/share/classes$(CLASSPATH_SEPARATOR)$(TOPDIR)/src/solaris/classes$(CLASSPATH_SEPARATOR)$(TOPDIR)/src/windows/classes$(CLASSPATH_SEPARATOR)$(TOPDIR)/src/linux/classes" |
|
218 |
JAAS_DOCDIR = $(DOCSDIR)/jre/api/security/jaas/spec |
|
219 |
JAAS_JAVADOCFLAGS = $(COMMON_JAVADOCFLAGS) \ |
|
220 |
-encoding ascii \ |
|
221 |
-nodeprecatedlist \ |
|
222 |
-d $(JAAS_DOCDIR) \ |
|
223 |
-sourcepath $(JAAS_SOURCEPATH) \ |
|
224 |
-windowtitle $(JAAS_WINDOWTITLE) \ |
|
225 |
-doctitle $(JAAS_DOCTITLE) \ |
|
226 |
-header $(JAAS_JAVADOCHEADER) \ |
|
2280
f51e04e4fd95
6550221: jaas, jgss and smartcardio javadoc files do not contain Copyrights
weijun
parents:
2169
diff
changeset
|
227 |
-bottom $(SECURITYAPI_JAVADOCBOTTOM) \ |
2 | 228 |
-linkoffline ../../../../../api $(DOCSDIR)/api/ \ |
229 |
-overview $(TOPDIR)/src/share/classes/com/sun/security/auth/jaas-overview.html |
|
230 |
JAAS_WINDOWTITLE = "Java Authentication and Authorization Service " |
|
231 |
JAAS_DOCTITLE = "Java$(TRADEMARK) Authentication and Authorization Service" |
|
232 |
JAAS_JAVADOCHEADER = "JAAS" |
|
233 |
# JAAS_PKGS is located in NON_CORE_PKGS.gmk |
|
234 |
||
235 |
# |
|
236 |
# Variables used by JGSS target |
|
237 |
# |
|
238 |
||
239 |
JGSS_SOURCEPATH = $(TOPDIR)/src/share/classes |
|
240 |
JGSS_DOCDIR = $(DOCSDIR)/jre/api/security/jgss/spec |
|
241 |
||
242 |
JGSS_JAVADOCFLAGS = $(COMMON_JAVADOCFLAGS) \ |
|
243 |
-encoding ascii \ |
|
244 |
-nodeprecatedlist \ |
|
245 |
-d $(JGSS_DOCDIR) \ |
|
246 |
-sourcepath $(JGSS_SOURCEPATH) \ |
|
247 |
-windowtitle $(JGSS_WINDOWTITLE) \ |
|
248 |
-doctitle $(JGSS_DOCTITLE) \ |
|
249 |
-header $(JGSS_JAVADOCHEADER) \ |
|
2280
f51e04e4fd95
6550221: jaas, jgss and smartcardio javadoc files do not contain Copyrights
weijun
parents:
2169
diff
changeset
|
250 |
-bottom $(SECURITYAPI_JAVADOCBOTTOM) \ |
2 | 251 |
-linkoffline ../../../../../api $(DOCSDIR)/api/ \ |
252 |
-overview $(JGSS_SOURCEPATH)/com/sun/security/jgss/jgss-overview.html |
|
253 |
||
254 |
JGSS_WINDOWTITLE = "Java GSS-API Utilities " |
|
255 |
JGSS_DOCTITLE = "Java$(TRADEMARK) GSS-API Utilities" |
|
256 |
JGSS_JAVADOCHEADER = "Java GSS-API Utilities" |
|
257 |
# JGSS_PKGS is located in NON_CORE_PKGS.gmk |
|
258 |
||
259 |
# |
|
260 |
# Variables used by SMARTCARDIO target |
|
261 |
# |
|
262 |
||
263 |
SMARTCARDIO_SOURCEPATH = $(TOPDIR)/src/share/classes |
|
264 |
SMARTCARDIO_DOCDIR = $(DOCSDIR)/jre/api/security/smartcardio/spec |
|
265 |
||
266 |
SMARTCARDIO_JAVADOCFLAGS = $(COMMON_JAVADOCFLAGS) \ |
|
267 |
-encoding ascii \ |
|
268 |
-nodeprecatedlist \ |
|
269 |
-d $(SMARTCARDIO_DOCDIR) \ |
|
270 |
-sourcepath $(SMARTCARDIO_SOURCEPATH) \ |
|
271 |
-windowtitle $(SMARTCARDIO_WINDOWTITLE) \ |
|
272 |
-doctitle $(SMARTCARDIO_DOCTITLE) \ |
|
273 |
-header $(SMARTCARDIO_JAVADOCHEADER) \ |
|
2280
f51e04e4fd95
6550221: jaas, jgss and smartcardio javadoc files do not contain Copyrights
weijun
parents:
2169
diff
changeset
|
274 |
-bottom $(SECURITYAPI_JAVADOCBOTTOM) \ |
2 | 275 |
-linkoffline ../../../../../api $(DOCSDIR)/api/ |
276 |
||
277 |
SMARTCARDIO_WINDOWTITLE = "Java Smart Card I/O" |
|
278 |
SMARTCARDIO_DOCTITLE = "Java$(TRADEMARK) Smart Card I/O" |
|
279 |
SMARTCARDIO_JAVADOCHEADER = "Java Smart Card I/O" |
|
280 |
# SMARTCARDIO_PKGS is located in NON_CORE_PKGS.gmk |
|
281 |
||
282 |
# |
|
406
bde3a21bcab0
6690122: Provide a mechanism for specifying Java-level USDT-like dtrace probes
kamg
parents:
2
diff
changeset
|
283 |
# Variables used by TRACING target |
bde3a21bcab0
6690122: Provide a mechanism for specifying Java-level USDT-like dtrace probes
kamg
parents:
2
diff
changeset
|
284 |
# |
bde3a21bcab0
6690122: Provide a mechanism for specifying Java-level USDT-like dtrace probes
kamg
parents:
2
diff
changeset
|
285 |
|
bde3a21bcab0
6690122: Provide a mechanism for specifying Java-level USDT-like dtrace probes
kamg
parents:
2
diff
changeset
|
286 |
TRACING_SOURCEPATH = $(TOPDIR)/src/share/classes |
bde3a21bcab0
6690122: Provide a mechanism for specifying Java-level USDT-like dtrace probes
kamg
parents:
2
diff
changeset
|
287 |
TRACING_DOCDIR = $(DOCSDIR)/jre/api/tracing |
bde3a21bcab0
6690122: Provide a mechanism for specifying Java-level USDT-like dtrace probes
kamg
parents:
2
diff
changeset
|
288 |
|
bde3a21bcab0
6690122: Provide a mechanism for specifying Java-level USDT-like dtrace probes
kamg
parents:
2
diff
changeset
|
289 |
TRACING_JAVADOCFLAGS = $(COMMON_JAVADOCFLAGS) \ |
bde3a21bcab0
6690122: Provide a mechanism for specifying Java-level USDT-like dtrace probes
kamg
parents:
2
diff
changeset
|
290 |
-encoding ascii \ |
bde3a21bcab0
6690122: Provide a mechanism for specifying Java-level USDT-like dtrace probes
kamg
parents:
2
diff
changeset
|
291 |
-nodeprecatedlist \ |
bde3a21bcab0
6690122: Provide a mechanism for specifying Java-level USDT-like dtrace probes
kamg
parents:
2
diff
changeset
|
292 |
-d $(TRACING_DOCDIR) \ |
bde3a21bcab0
6690122: Provide a mechanism for specifying Java-level USDT-like dtrace probes
kamg
parents:
2
diff
changeset
|
293 |
-sourcepath $(TRACING_SOURCEPATH) \ |
bde3a21bcab0
6690122: Provide a mechanism for specifying Java-level USDT-like dtrace probes
kamg
parents:
2
diff
changeset
|
294 |
-windowtitle $(TRACING_WINDOWTITLE) \ |
bde3a21bcab0
6690122: Provide a mechanism for specifying Java-level USDT-like dtrace probes
kamg
parents:
2
diff
changeset
|
295 |
-doctitle $(TRACING_DOCTITLE) \ |
bde3a21bcab0
6690122: Provide a mechanism for specifying Java-level USDT-like dtrace probes
kamg
parents:
2
diff
changeset
|
296 |
-header $(TRACING_JAVADOCHEADER) \ |
bde3a21bcab0
6690122: Provide a mechanism for specifying Java-level USDT-like dtrace probes
kamg
parents:
2
diff
changeset
|
297 |
-linkoffline ../../../../../api $(DOCSDIR)/api/ |
bde3a21bcab0
6690122: Provide a mechanism for specifying Java-level USDT-like dtrace probes
kamg
parents:
2
diff
changeset
|
298 |
|
bde3a21bcab0
6690122: Provide a mechanism for specifying Java-level USDT-like dtrace probes
kamg
parents:
2
diff
changeset
|
299 |
TRACING_WINDOWTITLE = "Tracing" |
bde3a21bcab0
6690122: Provide a mechanism for specifying Java-level USDT-like dtrace probes
kamg
parents:
2
diff
changeset
|
300 |
TRACING_DOCTITLE = "Java$(TRADEMARK) Platform Tracing" |
bde3a21bcab0
6690122: Provide a mechanism for specifying Java-level USDT-like dtrace probes
kamg
parents:
2
diff
changeset
|
301 |
TRACING_JAVADOCHEADER = "Platform Tracing" |
bde3a21bcab0
6690122: Provide a mechanism for specifying Java-level USDT-like dtrace probes
kamg
parents:
2
diff
changeset
|
302 |
# TRACING_PKGS is located in NON_CORE_PKGS.gmk |
bde3a21bcab0
6690122: Provide a mechanism for specifying Java-level USDT-like dtrace probes
kamg
parents:
2
diff
changeset
|
303 |
|
bde3a21bcab0
6690122: Provide a mechanism for specifying Java-level USDT-like dtrace probes
kamg
parents:
2
diff
changeset
|
304 |
# |
2 | 305 |
# Variables used by HTTPSERVER target |
306 |
# |
|
307 |
||
308 |
HTTPSERVER_SOURCEPATH = $(TOPDIR)/src/share/classes |
|
309 |
HTTPSERVER_DOCDIR = $(DOCSDIR)/jre/api/net/httpserver/spec |
|
310 |
||
311 |
HTTPSERVER_JAVADOCFLAGS = $(COMMON_JAVADOCFLAGS) \ |
|
312 |
-encoding ascii \ |
|
313 |
-nodeprecatedlist \ |
|
314 |
-d $(HTTPSERVER_DOCDIR) \ |
|
315 |
-sourcepath $(HTTPSERVER_SOURCEPATH) \ |
|
316 |
-windowtitle $(HTTPSERVER_WINDOWTITLE) \ |
|
317 |
-doctitle $(HTTPSERVER_DOCTITLE) \ |
|
318 |
-header $(HTTPSERVER_JAVADOCHEADER) \ |
|
319 |
-linkoffline ../../../../../api $(DOCSDIR)/api/ |
|
320 |
||
321 |
HTTPSERVER_WINDOWTITLE = "Java HTTP Server" |
|
322 |
HTTPSERVER_DOCTITLE = "Java$(TRADEMARK) HTTP Server" |
|
323 |
HTTPSERVER_JAVADOCHEADER = "Java HTTP Server" |
|
324 |
# HTTPSERVER_PKGS is located in NON_CORE_PKGS.gmk |
|
325 |
||
326 |
# |
|
2792 | 327 |
# Variables used by sctp target |
328 |
# |
|
329 |
||
330 |
SCTPAPI_SOURCEPATH = $(TOPDIR)/src/share/classes |
|
331 |
SCTPAPI_DOCDIR = $(DOCSDIR)/jre/api/nio/sctp/spec |
|
332 |
||
333 |
SCTPAPI_JAVADOCFLAGS = $(COMMON_JAVADOCFLAGS) \ |
|
334 |
-encoding ascii \ |
|
335 |
-nodeprecatedlist \ |
|
336 |
-d $(SCTPAPI_DOCDIR) \ |
|
337 |
-sourcepath $(SCTPAPI_SOURCEPATH) \ |
|
338 |
-windowtitle $(SCTPAPI_WINDOWTITLE) \ |
|
339 |
-doctitle $(SCTPAPI_DOCTITLE) \ |
|
340 |
-header $(SCTPAPI_JAVADOCHEADER) \ |
|
341 |
-bottom $(SCTPAPI_JAVADOCBOTTOM) \ |
|
342 |
-linkoffline ../../../../../api $(DOCSDIR)/api/ |
|
343 |
||
344 |
SCTPAPI_WINDOWTITLE = "SCTP API" |
|
345 |
SCTPAPI_DOCTITLE = "SCTP API" |
|
346 |
SCTPAPI_JAVADOCHEADER = "SCTP API" |
|
347 |
SCTPAPI_JAVADOCBOTTOM = '<font size="-1"><a href="http://bugs.sun.com/services/bugreport/index.jsp">Report a bug or request a feature.</a><br>Copyright $(THIS_YEAR) Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.</font>' |
|
348 |
# SCTPAPI_PKGS is located in NON_CORE_PKGS.gmk |
|
349 |
||
350 |
# |
|
2 | 351 |
# Variables used by jvmti target |
352 |
# |
|
353 |
JVMTI_DOCS_SUBDIR = platform/jvmti |
|
354 |
JVMTI_HTML = $(HOTSPOT_DOCS_IMPORT_PATH)/$(JVMTI_DOCS_SUBDIR)/jvmti.html |
|
355 |
||
356 |
# |
|
357 |
# Variables used by mgmt target |
|
358 |
# |
|
359 |
MGMT_DOCDIR = $(DOCSDIR)/jre/api/management/ |
|
360 |
MGMT_EXT_DIR = $(MGMT_DOCDIR)/extension |
|
361 |
MGMT_SOURCEPATH = $(TOPDIR)/src/share/classes |
|
362 |
JVM_MIB_NAME = JVM-MANAGEMENT-MIB.mib |
|
363 |
JVM_MIB_SRC = $(CLOSED_SRC)/share/classes/sun/management/snmp/$(JVM_MIB_NAME) |
|
364 |
||
365 |
ifdef OPENJDK |
|
366 |
COPY-MIB-TARGET = |
|
367 |
else |
|
368 |
COPY-MIB-TARGET = copy-mib |
|
369 |
endif |
|
370 |
MGMT_JAVADOCFLAGS = $(COMMON_JAVADOCFLAGS) \ |
|
371 |
-encoding ascii \ |
|
372 |
-nodeprecatedlist \ |
|
373 |
-d $(MGMT_EXT_DIR) \ |
|
374 |
-sourcepath $(MGMT_SOURCEPATH) \ |
|
375 |
-windowtitle $(MGMT_WINDOWTITLE) \ |
|
376 |
-doctitle $(MGMT_DOCTITLE) \ |
|
377 |
-header $(MGMT_HEADER) \ |
|
378 |
-linkoffline ../../../../api $(DOCSDIR)/api/ \ |
|
379 |
-overview $(MGMT_SOURCEPATH)/com/sun/management/mgmt-overview.html |
|
380 |
MGMT_WINDOWTITLE = "Monitoring and Management Interface for the Java Platform" |
|
381 |
MGMT_DOCTITLE = "Monitoring and Management Interface for the Java$(TRADEMARK) Platform" |
|
382 |
MGMT_HEADER = "Monitoring and Management Interface for the Java Platform" |
|
383 |
# MGMT_PKGS is located in NON_CORE_PKGS.gmk |
|
384 |
||
385 |
# |
|
386 |
# Variables used by attach target |
|
387 |
# |
|
388 |
||
389 |
ATTACH_SOURCEPATH = $(TOPDIR)/src/share/classes |
|
390 |
ATTACH_DOCDIR = $(DOCSDIR)/jdk/api/attach/spec |
|
391 |
ATTACH_JAVADOCFLAGS = $(COMMON_JAVADOCFLAGS) \ |
|
392 |
-encoding ascii \ |
|
393 |
-nodeprecatedlist \ |
|
394 |
-d $(ATTACH_DOCDIR) \ |
|
395 |
-sourcepath $(ATTACH_SOURCEPATH) \ |
|
396 |
-windowtitle $(ATTACH_WINDOWTITLE) \ |
|
397 |
-doctitle $(ATTACH_DOCTITLE) \ |
|
398 |
-header $(ATTACH_HEADER) \ |
|
399 |
-linkoffline ../../../../api $(DOCSDIR)/api/ |
|
400 |
ATTACH_WINDOWTITLE = "Attach API" |
|
401 |
ATTACH_DOCTITLE = "Attach API" |
|
402 |
ATTACH_HEADER = "Attach API" |
|
403 |
# ATTACH_PKGS is located in NON_CORE_PKGS.gmk |
|
404 |
||
405 |
# |
|
406 |
# Variables used by jconsole target |
|
407 |
# |
|
408 |
||
409 |
JCONSOLE_SOURCEPATH = $(TOPDIR)/src/share/classes |
|
410 |
JCONSOLE_DOCDIR = $(DOCSDIR)/jdk/api/jconsole/spec |
|
411 |
JCONSOLE_JAVADOCFLAGS = $(COMMON_JAVADOCFLAGS) \ |
|
412 |
-encoding ascii \ |
|
413 |
-nodeprecatedlist \ |
|
414 |
-d $(JCONSOLE_DOCDIR) \ |
|
415 |
-sourcepath $(JCONSOLE_SOURCEPATH) \ |
|
416 |
-windowtitle $(JCONSOLE_WINDOWTITLE) \ |
|
417 |
-doctitle $(JCONSOLE_DOCTITLE) \ |
|
418 |
-header $(JCONSOLE_HEADER) \ |
|
419 |
-linkoffline ../../../../api $(DOCSDIR)/api/ |
|
420 |
JCONSOLE_WINDOWTITLE = "JConsole API" |
|
421 |
JCONSOLE_DOCTITLE = "JConsole API" |
|
422 |
JCONSOLE_HEADER = "JConsole API" |
|
423 |
# JCONSOLE_PKGS is located in NON_CORE_PKGS.gmk |
|
424 |
||
425 |
# |
|
426 |
# Variables used by treeapidocs target |
|
427 |
# |
|
428 |
||
429 |
TREEAPI_JAVADOCFLAGS = $(COMMON_JAVADOCFLAGS) \ |
|
430 |
-encoding ascii \ |
|
431 |
-doctitle $(TREEAPI_JAVADOCTITLE) \ |
|
432 |
-windowtitle $(TREEAPI_JAVADOCWINDOWTITLE) \ |
|
433 |
-header $(TREEAPI_JAVADOCHEADER) \ |
|
434 |
-bottom $(TREEAPI_JAVADOCBOTTOM) \ |
|
435 |
-group $(TREEAPI_GROUPNAME) $(TREEAPI_REGEXP) |
|
436 |
# |
|
437 |
# -overview $(TREEAPI_OVERVIEW) |
|
438 |
# |
|
439 |
TREEAPI_JAVADOCTITLE = 'Compiler Tree API' |
|
440 |
TREEAPI_JAVADOCWINDOWTITLE = 'Compiler Tree API' |
|
1770
3b41559daa17
6790217: Javadoc HTML WCAG 2.0 accessibility issues in jdk docs makefile - Bold tags should be strong
bpatel
parents:
715
diff
changeset
|
441 |
TREEAPI_JAVADOCHEADER = '<strong>Compiler Tree API</strong>' |
2 | 442 |
TREEAPI_JAVADOCBOTTOM = '<font size="-1"><a href="http://bugs.sun.com/services/bugreport/index.jsp">Report a bug or request a feature.</a><br>Copyright $(THIS_YEAR) Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.</font>' |
443 |
TREEAPI_GROUPNAME = "Packages" |
|
444 |
TREEAPI_OVERVIEW = $(SHARE_SRC)/classes/com/sun/source/overview.html |
|
445 |
TREEAPI_REGEXP = "com.sun.source.*" |
|
446 |
TREEAPI_DESTDIR = $(DOCSDIR)/jdk/api/javac/tree |
|
447 |
TREEAPI_LINKOPT = -linkoffline ../../../../api $(DOCSDIR)/api/ |
|
448 |
# TREEAPI_PKGS is located in NON_CORE_PKGS.gmk |
|
449 |
||
450 |
# |
|
451 |
# Path where javadoc should find source files for release docs |
|
452 |
# |
|
453 |
RELEASEDOCS_SRCPATH = "$(SHARE_SRC)/classes$(CLASSPATH_SEPARATOR)$(PLATFORM_SRC)/classes$(CLASSPATH_SEPARATOR)$(GENSRCDIR)$(CLASSPATH_SEPARATOR)$(SHARE_SRC)/doc/stub$(CLASSPATH_SEPARATOR)$(CLOSED_SRC)/share/classes$(CLASSPATH_SEPARATOR)$(IMPORTSRCDIR)" |
|
454 |
||
455 |
# |
|
456 |
# CORE_PKGS environment variable has been moved to the following file |
|
457 |
# |
|
458 |
include CORE_PKGS.gmk |
|
459 |
||
460 |
# |
|
461 |
# Load environment variables for API package names that are not part of |
|
462 |
# the Java SE platform |
|
463 |
# |
|
464 |
include NON_CORE_PKGS.gmk |
|
465 |
||
466 |
# Targets for all APIs other than the core platform APIs |
|
467 |
ALL_OTHER_TARGETS = \ |
|
468 |
mirrordocs \ |
|
469 |
docletapidocs \ |
|
470 |
tagletapidocs \ |
|
471 |
domapidocs \ |
|
472 |
jpdadocs \ |
|
473 |
jaasdocs \ |
|
474 |
jgssdocs \ |
|
475 |
smartcardiodocs \ |
|
406
bde3a21bcab0
6690122: Provide a mechanism for specifying Java-level USDT-like dtrace probes
kamg
parents:
2
diff
changeset
|
476 |
tracingdocs \ |
2 | 477 |
httpserverdocs \ |
2792 | 478 |
sctpdocs \ |
2 | 479 |
mgmtdocs \ |
480 |
attachdocs \ |
|
481 |
jconsoledocs \ |
|
482 |
treeapidocs |
|
483 |
||
484 |
.PHONY: all docs |
|
485 |
all docs: coredocs otherdocs |
|
486 |
||
487 |
.PHONY: otherdocs |
|
488 |
otherdocs: ${ALL_OTHER_TARGETS} |
|
489 |
||
490 |
||
491 |
################################################################# |
|
492 |
# Production Targets -- USE THESE TARGETS WHEN: |
|
493 |
# a) You're generating docs outside of release engineering's |
|
494 |
# standard control build. |
|
495 |
# b) The docs will be pushed to the web and/or included in |
|
496 |
# the downloaded doc bundle. |
|
497 |
# |
|
498 |
# See: Notes.html#releaseTargets |
|
499 |
# Note: Spaces preceed ifdef/ifndef indents. Tabs preceed target commands (!) |
|
500 |
# |
|
501 |
.PHONY: sanitycheckcoredocs |
|
502 |
sanitycheckcoredocs: |
|
503 |
@$(ECHO) "" |
|
504 |
@$(ECHO) "Building core api docs with these values:" |
|
505 |
@$(ECHO) " BUILD_NUMBER = $(BUILD_NUMBER)" |
|
506 |
@$(ECHO) " MILESTONE = $(MILESTONE)" |
|
507 |
@$(ECHO) "" |
|
508 |
ifeq ($(BUILD_NUMBER), b00) |
|
509 |
@$(ECHO) "ERROR: Build number must be defined" |
|
510 |
@$(ECHO) "MILESTONE is set to $(MILESTONE)" |
|
511 |
@$(ECHO) "" |
|
512 |
exit 1 |
|
513 |
endif |
|
514 |
||
515 |
# Maximize performance and ensure that build number & milestone are set. |
|
516 |
.PHONY: rel-coredocs |
|
517 |
rel-coredocs: sanitycheckcoredocs |
|
518 |
@# ######## release version of core packages ######## |
|
519 |
$(MAKE) coredocs |
|
520 |
||
521 |
.PHONY: rel-docs |
|
522 |
rel-docs: rel-coredocs ${ALL_OTHER_TARGETS} |
|
523 |
# |
|
524 |
# end of production targets |
|
525 |
############################################################# |
|
526 |
||
527 |
.PHONY: coredocs |
|
528 |
coredocs: |
|
529 |
@# ######## core packages ####################### |
|
530 |
$(RM) -r $(DOCSDIR)/api |
|
531 |
$(MKDIR) -p $(DOCSDIR)/api |
|
532 |
$(JAVADOC_CMD) $(CORE_JAVADOCFLAGS) \ |
|
533 |
-d $(DOCSDIR)/api \ |
|
534 |
-sourcepath $(RELEASEDOCS_SRCPATH) \ |
|
535 |
$(CORE_PKGS) |
|
536 |
||
537 |
.PHONY: mirrordocs |
|
538 |
mirrordocs: |
|
539 |
@# ######## mirror api for apt ################## |
|
540 |
$(RM) -r $(MIRROR_DESTDIR) |
|
541 |
$(MKDIR) -p $(MIRROR_DESTDIR) |
|
542 |
$(JAVADOC_CMD) $(MIRROR_JAVADOCFLAGS) \ |
|
543 |
-d $(MIRROR_DESTDIR) \ |
|
544 |
-sourcepath $(RELEASEDOCS_SRCPATH) \ |
|
545 |
$(MIRROR_LINKOPT) \ |
|
546 |
$(MIRROR_PKGS) |
|
547 |
||
548 |
.PHONY: docletapidocs |
|
549 |
docletapidocs: |
|
550 |
@# ######## doclet api ############################ |
|
551 |
$(RM) -r $(DOCSDIR)/jdk/api/javadoc/doclet |
|
552 |
$(MKDIR) -p $(DOCSDIR)/jdk/api/javadoc/doclet |
|
553 |
$(JAVADOC_CMD) $(DOCLETAPI_JAVADOCFLAGS) \ |
|
554 |
-d $(DOCSDIR)/jdk/api/javadoc/doclet \ |
|
555 |
-sourcepath $(RELEASEDOCS_SRCPATH) \ |
|
556 |
$(DOCLETAPI_LINKOPT) \ |
|
557 |
$(DOCLETAPI_PKGS) |
|
558 |
||
559 |
.PHONY: tagletapidocs |
|
560 |
tagletapidocs: |
|
561 |
@# ######## taglet api ############################ |
|
562 |
$(RM) -r $(DOCSDIR)/jdk/api/javadoc/taglet |
|
563 |
$(MKDIR) -p $(DOCSDIR)/jdk/api/javadoc/taglet |
|
564 |
$(RM) -r $(DOCSTMPDIR) |
|
565 |
$(MKDIR) -p $(DOCSTMPDIR) |
|
566 |
$(JAVADOC_CMD) $(TAGLETAPI_JAVADOCFLAGS) \ |
|
567 |
-d $(DOCSTMPDIR) \ |
|
568 |
-linkoffline ../../../../api $(DOCSDIR)/api/ \ |
|
569 |
$(IMPORTSRCDIR)/$(TAGLETAPI_FILE) |
|
570 |
cp -r $(DOCSTMPDIR)/com $(DOCSDIR)/jdk/api/javadoc/taglet |
|
571 |
cp $(DOCSTMPDIR)/stylesheet.css $(DOCSDIR)/jdk/api/javadoc/taglet |
|
572 |
$(RM) -r $(DOCSTMPDIR) |
|
573 |
||
574 |
.PHONY: domapidocs |
|
575 |
domapidocs: |
|
576 |
@# ######## dom api ############################ |
|
577 |
$(RM) -r $(DOCSDIR)/jre/api/plugin/dom |
|
578 |
$(MKDIR) -p $(DOCSDIR)/jre/api/plugin/dom |
|
579 |
$(JAVADOC_CMD) $(DOMAPI_JAVADOCFLAGS) \ |
|
580 |
-d $(DOCSDIR)/jre/api/plugin/dom \ |
|
581 |
-sourcepath $(RELEASEDOCS_SRCPATH) \ |
|
582 |
-linkoffline ../../../../api $(DOCSDIR)/api/ \ |
|
583 |
$(DOMAPI_PKGS) |
|
584 |
||
585 |
.PHONY: jpdadocs |
|
586 |
jpdadocs: jdidocs jdwpdocs jvmtidocs |
|
587 |
||
588 |
.PHONY: jdidocs |
|
589 |
jdidocs: |
|
590 |
@# ######## jdi ################################# |
|
591 |
$(RM) -r $(DOCSDIR)/jdk/api/jpda/jdi |
|
592 |
$(MKDIR) -p $(DOCSDIR)/jdk/api/jpda/jdi |
|
593 |
$(JAVADOC_CMD) $(JDI_JAVADOCFLAGS) \ |
|
594 |
$(JDI_PKGS) |
|
595 |
||
596 |
JDWP_SPEC = $(BUILDDIR)/jpda/jdwp/jdwp.spec |
|
597 |
JDWP_DOC = $(DOCSDIR)/platform/jpda/jdwp/jdwp-protocol.html |
|
598 |
JDWPGEN_JARFILE = $(BUILDTOOLJARDIR)/jdwpgen.jar |
|
599 |
||
600 |
.PHONY: jdwpdocs |
|
601 |
jdwpdocs: $(JDWP_DOC) |
|
602 |
||
603 |
$(JDWP_DOC): $(JDWPGEN_JARFILE) $(JDWP_SPEC) |
|
604 |
$(prep-target) |
|
605 |
$(BOOT_JAVA_CMD) -jar $(JDWPGEN_JARFILE) $(JDWP_SPEC) -doc $(JDWP_DOC) |
|
606 |
||
607 |
.PHONY: jvmtidocs |
|
608 |
jvmtidocs: |
|
609 |
@# ######## jvmti ################################# |
|
610 |
@if [ -f $(JVMTI_HTML) ] ; then \ |
|
611 |
$(RM) -r $(DOCSDIR)/$(JVMTI_DOCS_SUBDIR); \ |
|
612 |
$(MKDIR) -p $(DOCSDIR)/$(JVMTI_DOCS_SUBDIR); \ |
|
613 |
$(ECHO) $(CP) $(JVMTI_HTML) $(DOCSDIR)/$(JVMTI_DOCS_SUBDIR); \ |
|
614 |
$(CP) $(JVMTI_HTML) $(DOCSDIR)/$(JVMTI_DOCS_SUBDIR); \ |
|
615 |
else \ |
|
616 |
$(ECHO) "WARNING: Generated jvmti file does not exist: $(JVMTI_HTML)"; \ |
|
617 |
fi |
|
618 |
||
619 |
.PHONY: jaasdocs |
|
620 |
jaasdocs: |
|
621 |
@# ######## api-jaas ############################ |
|
622 |
$(RM) -r $(JAAS_DOCDIR) |
|
623 |
$(MKDIR) -p $(JAAS_DOCDIR) |
|
624 |
$(JAVADOC_CMD) $(JAAS_JAVADOCFLAGS) \ |
|
625 |
$(JAAS_PKGS) |
|
626 |
||
627 |
.PHONY: jgssdocs |
|
628 |
jgssdocs: |
|
629 |
@# ######## api-jgss ############################ |
|
630 |
$(RM) -r $(JGSS_DOCDIR) |
|
631 |
$(MKDIR) -p $(JGSS_DOCDIR) |
|
632 |
$(JAVADOC_CMD) $(JGSS_JAVADOCFLAGS) \ |
|
633 |
$(JGSS_PKGS) |
|
634 |
||
635 |
.PHONY: smartcardiodocs |
|
636 |
smartcardiodocs: |
|
637 |
@# ######## api-smartcardio ############################ |
|
638 |
$(RM) -r $(SMARTCARDIO_DOCDIR) |
|
639 |
$(MKDIR) -p $(SMARTCARDIO_DOCDIR) |
|
640 |
$(JAVADOC_CMD) $(SMARTCARDIO_JAVADOCFLAGS) \ |
|
641 |
$(SMARTCARDIO_PKGS) |
|
642 |
||
406
bde3a21bcab0
6690122: Provide a mechanism for specifying Java-level USDT-like dtrace probes
kamg
parents:
2
diff
changeset
|
643 |
.PHONY: tracingdocs |
bde3a21bcab0
6690122: Provide a mechanism for specifying Java-level USDT-like dtrace probes
kamg
parents:
2
diff
changeset
|
644 |
tracingdocs: |
bde3a21bcab0
6690122: Provide a mechanism for specifying Java-level USDT-like dtrace probes
kamg
parents:
2
diff
changeset
|
645 |
@# ######## api-tracing ############################ |
407 | 646 |
$(RM) -r $(TRACING_DOCDIR) |
647 |
$(MKDIR) -p $(TRACING_DOCDIR) |
|
648 |
$(JAVADOC) $(TRACING_JAVADOCFLAGS) \ |
|
649 |
$(TRACING_PKGS) |
|
406
bde3a21bcab0
6690122: Provide a mechanism for specifying Java-level USDT-like dtrace probes
kamg
parents:
2
diff
changeset
|
650 |
|
2 | 651 |
.PHONY: httpserverdocs |
652 |
httpserverdocs: |
|
653 |
@# ######## api-httpserver ####################### |
|
654 |
$(RM) -r $(HTTPSERVER_DOCDIR) |
|
655 |
$(MKDIR) -p $(HTTPSERVER_DOCDIR) |
|
656 |
$(JAVADOC_CMD) $(HTTPSERVER_JAVADOCFLAGS) \ |
|
657 |
$(HTTPSERVER_PKGS) |
|
658 |
||
2792 | 659 |
.PHONY: sctpdocs |
660 |
sctpdocs: |
|
661 |
@# ######## api-sctp ####################### |
|
662 |
$(RM) -r $(SCTPAPI_DOCDIR) |
|
663 |
$(MKDIR) -p $(SCTPAPI_DOCDIR) |
|
664 |
$(JAVADOC_CMD) $(SCTPAPI_JAVADOCFLAGS) \ |
|
665 |
$(SCTPAPI_PKGS) |
|
666 |
||
2 | 667 |
.PHONY: mgmtdocs |
668 |
mgmtdocs: $(COPY-MIB-TARGET) |
|
669 |
@# ######## api-management ############################ |
|
670 |
$(RM) -r $(MGMT_EXT_DIR) |
|
671 |
$(MKDIR) -p $(MGMT_EXT_DIR) |
|
672 |
$(JAVADOC_CMD) $(MGMT_JAVADOCFLAGS) \ |
|
673 |
$(MGMT_PKGS) |
|
674 |
||
675 |
copy-mib: |
|
676 |
@# ######## copy-snmp-mib ############################ |
|
677 |
$(RM) $(MGMT_DOCDIR)/$(JVM_MIB_NAME) |
|
678 |
$(MKDIR) -p $(MGMT_DOCDIR) |
|
679 |
$(CP) $(JVM_MIB_SRC) $(MGMT_DOCDIR) |
|
680 |
||
681 |
.PHONY: attachdocs |
|
682 |
attachdocs: |
|
683 |
@# ######## api-attach ############################ |
|
684 |
$(RM) -r $(ATTACH_DOCDIR) |
|
685 |
$(MKDIR) -p $(ATTACH_DOCDIR) |
|
686 |
$(JAVADOC_CMD) $(ATTACH_JAVADOCFLAGS) \ |
|
687 |
$(ATTACH_PKGS) |
|
688 |
||
689 |
.PHONY: jconsoledocs |
|
690 |
jconsoledocs: |
|
691 |
@# ######## api-jconsole ############################ |
|
692 |
$(RM) -r $(JCONSOLE_DOCDIR) |
|
693 |
$(MKDIR) -p $(JCONSOLE_DOCDIR) |
|
694 |
$(JAVADOC_CMD) $(JCONSOLE_JAVADOCFLAGS) \ |
|
695 |
$(JCONSOLE_PKGS) |
|
696 |
||
697 |
.PHONY: treeapidocs |
|
698 |
treeapidocs: |
|
699 |
@# ######## tree api for javac ################## |
|
700 |
$(RM) -r $(TREEAPI_DESTDIR) |
|
701 |
$(MKDIR) -p $(TREEAPI_DESTDIR) |
|
702 |
$(JAVADOC_CMD) $(TREEAPI_JAVADOCFLAGS) \ |
|
703 |
-d $(TREEAPI_DESTDIR) \ |
|
704 |
-sourcepath $(RELEASEDOCS_SRCPATH) \ |
|
705 |
$(TREEAPI_LINKOPT) \ |
|
706 |
$(TREEAPI_PKGS) |
|
707 |
||
708 |
# DEBUG TARGET |
|
709 |
# List the values defined in the makefile hierarchy, to make sure everything |
|
710 |
# is set properly, and to help identify values we can use instead of making new ones. |
|
711 |
# (Most of them come from common/shared/Defs.gmk) |
|
712 |
# |
|
713 |
# Notes: |
|
714 |
# * BUILD_NUMBER defaults to b00 if not set on command line with BUILD_NUMBER=<value> |
|
715 |
# * MILESTONE defaults to internal unless set to beta, rc, or fcs on command line |
|
716 |
# |
|
717 |
.PHONY: echovalues |
|
718 |
echovalues: |
|
719 |
@$(ECHO) "" |
|
720 |
@$(ECHO) --------------Shared--------------------------- |
|
721 |
@$(ECHO) BUILD_NUMBER = $(BUILD_NUMBER) |
|
722 |
@$(ECHO) FULL_VERSION = $(FULL_VERSION) |
|
723 |
@$(ECHO) JDK_VERSION = $(JDK_VERSION) |
|
724 |
@$(ECHO) JDK_MAJOR_VERSION = $(JDK_MAJOR_VERSION) |
|
725 |
@$(ECHO) JDK_MINOR_VERSION = $(JDK_MINOR_VERSION) |
|
726 |
@$(ECHO) JDK_MICRO_VERSION = $(JDK_MICRO_VERSION) |
|
727 |
@$(ECHO) JDK_UPDATE_VERSION = $(JDK_UPDATE_VERSION) |
|
728 |
@$(ECHO) JDK_MKTG_VERSION = $(JDK_MKTG_VERSION) |
|
729 |
@$(ECHO) JDK_UNDERSCORE_VERSION = $(JDK_UNDERSCORE_VERSION) |
|
730 |
@$(ECHO) JDK_MKTG_UNDERSCORE_VERSION = $(JDK_MKTG_UNDERSCORE_VERSION) |
|
731 |
@$(ECHO) MARKETING_NUMBER = $(MARKETING_NUMBER) |
|
732 |
@$(ECHO) MARKET_NAME = $(MARKET_NAME) |
|
733 |
@$(ECHO) MILESTONE = $(MILESTONE) |
|
734 |
@$(ECHO) RELEASE = $(RELEASE) |
|
735 |
@$(ECHO) USER_RELEASE_SUFFIX = $(USER_RELEASE_SUFFIX) |
|
736 |
@$(ECHO) --------------Shared--------------------------- |
|
737 |
@$(ECHO) "" |
|
738 |
@$(ECHO) --------------common/Defs--------------------------- |
|
739 |
@$(ECHO) "RELEASEDOCS_SRCPATH" |
|
740 |
@$(ECHO) " SHARE_SRC/classes: $(SHARE_SRC)/classes" |
|
741 |
@$(ECHO) " PLATFORM_SRC/classes: $(PLATFORM_SRC)/classes" |
|
742 |
@$(ECHO) " GENSRCDIR: $(GENSRCDIR)" |
|
743 |
@$(ECHO) " IMPORTSRCDIR: $(IMPORTSRCDIR)" |
|
744 |
@$(ECHO) " SHARE_SRC/doc/stub: $(SHARE_SRC)/doc/stub" |
|
745 |
@$(ECHO) --------------common/Defs--------------------------- |
|
746 |
@$(ECHO) "" |