author | gromero |
Sun, 07 May 2017 16:42:03 -0400 | |
changeset 46442 | b833f0dbbb5b |
parent 44397 | f932d6b9f7fe |
child 44725 | 8747b14eb49c |
child 46202 | 6221728aa15e |
permissions | -rw-r--r-- |
43047
28be7f773e4e
8172562: Changing log level on Javadoc causes total rebuild
ihse
parents:
43044
diff
changeset
|
1 |
# Copyright (c) 1997, 2017, 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 |
||
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
25 |
default: all |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
26 |
|
13697 | 27 |
include $(SPEC) |
28 |
include MakeBase.gmk |
|
43285
223c3eea12e4
8173354: javadoc warning notice for types in Incubator Modules
chegar
parents:
43171
diff
changeset
|
29 |
include $(JDK_TOPDIR)/make/Tools.gmk |
44397
f932d6b9f7fe
8173303: Add module-subgraph images to main platform documentation
mchung
parents:
44071
diff
changeset
|
30 |
include $(JDK_TOPDIR)/make/ModuleTools.gmk |
13697 | 31 |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
32 |
################################################################################ |
13697 | 33 |
|
34 |
# List of all possible directories for javadoc to look for sources |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
35 |
# Allow custom to overwrite. |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
36 |
JAVADOC_SOURCE_DIRS = \ |
36506 | 37 |
$(SUPPORT_OUTPUTDIR)/gensrc/* \ |
42289
08548fd6e608
8169069: Module system implementation refresh (11/2016)
alanb
parents:
41652
diff
changeset
|
38 |
$(addsuffix /*, $(IMPORT_MODULES_SRC)) \ |
36506 | 39 |
$(JDK_TOPDIR)/src/*/$(OPENJDK_TARGET_OS)/classes \ |
40 |
$(JDK_TOPDIR)/src/*/$(OPENJDK_TARGET_OS_TYPE)/classes \ |
|
41 |
$(JDK_TOPDIR)/src/*/share/classes \ |
|
42 |
$(HOTSPOT_TOPDIR)/src/*/share/classes \ |
|
43 |
$(LANGTOOLS_TOPDIR)/src/*/share/classes \ |
|
44 |
$(NASHORN_TOPDIR)/src/*/share/classes \ |
|
45 |
$(CORBA_TOPDIR)/src/*/share/classes \ |
|
46 |
$(JAXP_TOPDIR)/src/*/share/classes \ |
|
47 |
$(JAXWS_TOPDIR)/src/*/share/classes \ |
|
48 |
$(SUPPORT_OUTPUTDIR)/rmic/* \ |
|
49 |
$(JDK_TOPDIR)/src/*/share/doc/stub \ |
|
50 |
# |
|
51 |
||
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
52 |
# Should we use -Xdocrootparent? Allow custom to overwrite. |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
53 |
DOCROOTPARENT_FLAG = TRUE |
37034
b63fd4af003e
8154313: Generated javadoc scattered all over the place
neugens
parents:
36792
diff
changeset
|
54 |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
55 |
# URLs |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
56 |
JAVADOC_BASE_URL := http://docs.oracle.com/javase/$(VERSION_SPECIFICATION)/docs |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
57 |
BUG_SUBMIT_URL := http://bugreport.java.com/bugreport/ |
13697 | 58 |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
59 |
################################################################################ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
60 |
# Text snippets |
13697 | 61 |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
62 |
FULL_COMPANY_NAME := Oracle and/or its affiliates |
42134
bbcdb49521b1
8169860: Clean up and unify the refactored Javadoc generation
ihse
parents:
41652
diff
changeset
|
63 |
COMPANY_ADDRESS := 500 Oracle Parkway<br>Redwood Shores, CA 94065 USA |
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
64 |
BUG_SUBMIT_LINE := <a href="$(BUG_SUBMIT_URL)">Submit a bug or feature</a> |
13697 | 65 |
|
42134
bbcdb49521b1
8169860: Clean up and unify the refactored Javadoc generation
ihse
parents:
41652
diff
changeset
|
66 |
COMMON_BOTTOM_TEXT := $(BUG_SUBMIT_LINE)<br> Java is a trademark or registered \ |
bbcdb49521b1
8169860: Clean up and unify the refactored Javadoc generation
ihse
parents:
41652
diff
changeset
|
67 |
trademark of $(FULL_COMPANY_NAME) in the US and other countries. |
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
68 |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
69 |
CORE_BOTTOM_COPYRIGHT_URL := {@docroot}/../legal/cpyr.html |
42135 | 70 |
CORE_BOTTOM_TEXT := \ |
71 |
$(BUG_SUBMIT_LINE) \ |
|
72 |
<br>For further API reference and developer documentation, see \ |
|
73 |
<a href="$(JAVADOC_BASE_URL)/index.html" target="_blank">Java SE \ |
|
74 |
Documentation</a>. That documentation contains more detailed, \ |
|
75 |
developer-targeted descriptions, with conceptual overviews, definitions of \ |
|
76 |
terms, workarounds, and working code examples. |
|
25614
0d18591d71d8
8051010: Support @apiNote, @implSpec and @implNote in all javadoc bundles
mduigou
parents:
25046
diff
changeset
|
77 |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
78 |
ifeq ($(VERSION_IS_GA), true) |
42135 | 79 |
DRAFT_MARKER := |
80 |
DRAFT_WINDOW_TITLE_MARKER := |
|
81 |
EARLYACCESS_TOP := |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
82 |
else |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
83 |
# We need a draft format when not building the GA version. |
42135 | 84 |
DRAFT_MARKER := <br><strong>DRAFT $(VERSION_STRING)</strong> |
42134
bbcdb49521b1
8169860: Clean up and unify the refactored Javadoc generation
ihse
parents:
41652
diff
changeset
|
85 |
ifeq ($(VERSION_BUILD), 0) |
42135 | 86 |
DRAFT_WINDOW_TITLE_MARKER := $(SPACE)[ad-hoc build] |
42134
bbcdb49521b1
8169860: Clean up and unify the refactored Javadoc generation
ihse
parents:
41652
diff
changeset
|
87 |
else |
42135 | 88 |
DRAFT_WINDOW_TITLE_MARKER := $(SPACE)[build $(VERSION_BUILD)] |
42134
bbcdb49521b1
8169860: Clean up and unify the refactored Javadoc generation
ihse
parents:
41652
diff
changeset
|
89 |
endif |
42135 | 90 |
EARLYACCESS_TOP := \ |
43044 | 91 |
<div style="background-color: $(HASH)EEEEEE"><div style="padding: 6px; \ |
42135 | 92 |
margin-top: 2px; margin-bottom: 6px; margin-left: 6px; margin-right: \ |
93 |
6px; text-align: justify; font-size: 80%; font-family: Helvetica, Arial, \ |
|
94 |
sans-serif; font-weight: normal;">Please note that the specifications \ |
|
95 |
and other information contained herein are not final and are subject to \ |
|
96 |
change. The information is being made available to you solely for \ |
|
97 |
purpose of evaluation.</div></div> |
|
13697 | 98 |
endif |
99 |
||
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
100 |
################################################################################ |
42135 | 101 |
# Special treatment for the core package list. All separate "small" javadoc |
102 |
# invocation needs to be able to see the core package list. |
|
103 |
||
104 |
ALL_PKG_DIRS := $(dir $(filter %.java, $(call CacheFind, \ |
|
105 |
$(wildcard $(JAVADOC_SOURCE_DIRS))))) |
|
106 |
ALL_SRC_PREFIXES := $(addsuffix /%, $(wildcard $(JAVADOC_SOURCE_DIRS))) |
|
107 |
ALL_PKG_DIRNAMES := $(foreach prefix, $(ALL_SRC_PREFIXES), \ |
|
108 |
$(patsubst $(prefix),%, $(filter $(prefix), $(ALL_PKG_DIRS)))) |
|
109 |
ALL_PACKAGES := $(sort $(subst /,., $(patsubst %/, %, $(ALL_PKG_DIRNAMES)))) |
|
110 |
||
111 |
# Core packages are all packages beginning with java, javax or org, except a few |
|
112 |
# excludes. |
|
113 |
JAVA_PACKAGES := $(filter java.%, $(ALL_PACKAGES)) |
|
114 |
JAVAX_PACKAGES := $(filter javax.%, $(ALL_PACKAGES)) |
|
115 |
ORG_PACKAGES := $(filter org.%, $(ALL_PACKAGES)) |
|
116 |
||
117 |
# Allow custom makefile to add more excluded packages |
|
118 |
CORE_EXCLUDED_PACKAGES += \ |
|
119 |
java.awt.dnd.peer \ |
|
120 |
java.awt.peer \ |
|
121 |
javax.smartcardio \ |
|
122 |
org.jcp.xml.dsig.internal% \ |
|
123 |
org.w3c.dom.css \ |
|
124 |
org.w3c.dom.html \ |
|
125 |
org.w3c.dom.stylesheets \ |
|
126 |
org.w3c.dom.xpath \ |
|
42531
37ee95196b17
8166417: Integrate Graal-core into JDK for AOT compiler
kvn
parents:
42290
diff
changeset
|
127 |
org.graalvm.compiler.% \ |
42135 | 128 |
# |
129 |
||
130 |
CORE_PACKAGES := $(filter-out $(CORE_EXCLUDED_PACKAGES), \ |
|
131 |
$(JAVA_PACKAGES) $(JAVAX_PACKAGES) $(ORG_PACKAGES)) |
|
132 |
||
133 |
CORE_PACKAGES_LIST_DIR := $(SUPPORT_OUTPUTDIR)/docs/core-packages |
|
134 |
CORE_PACKAGES_LIST_FILE := $(CORE_PACKAGES_LIST_DIR)/package-list |
|
135 |
||
136 |
CORE_PACKAGES_VARDEPS_FILE := $(call DependOnVariable, CORE_PACKAGES, \ |
|
137 |
$(CORE_PACKAGES_LIST_FILE).vardeps) |
|
138 |
||
139 |
$(CORE_PACKAGES_LIST_FILE): $(CORE_PACKAGES_VARDEPS_FILE) |
|
140 |
$(call MakeDir, $(@D)) |
|
141 |
$(eval $(call ListPathsSafely, CORE_PACKAGES, $@)) |
|
142 |
||
143 |
################################################################################ |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
144 |
# Support functions for SetupJavadocGeneration |
13697 | 145 |
|
42135 | 146 |
# Generate the text used in the -bottom argument. |
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
147 |
# Note that COPYRIGHT_YEAR is the current year (from spec.gmk) |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
148 |
# Arguments: |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
149 |
# arg 1: first copyright year |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
150 |
# arg 2: copyright url (optional) |
42134
bbcdb49521b1
8169860: Clean up and unify the refactored Javadoc generation
ihse
parents:
41652
diff
changeset
|
151 |
# arg 3: free-form text snippet (optional) |
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
152 |
define GenerateBottom |
42851
72e5b4fb1e1b
8171978: docs should use CSS-friendly <span> instead of <font>
jjg
parents:
42539
diff
changeset
|
153 |
<span style="font-size:smaller">$(if $(strip $3), $(strip $3))<br> $(if \ |
42134
bbcdb49521b1
8169860: Clean up and unify the refactored Javadoc generation
ihse
parents:
41652
diff
changeset
|
154 |
$(strip $2),<a href="$(strip $2)">Copyright</a>,Copyright) \ |
bbcdb49521b1
8169860: Clean up and unify the refactored Javadoc generation
ihse
parents:
41652
diff
changeset
|
155 |
© $(strip $1), $(COPYRIGHT_YEAR), $(FULL_COMPANY_NAME). \ |
42851
72e5b4fb1e1b
8171978: docs should use CSS-friendly <span> instead of <font>
jjg
parents:
42539
diff
changeset
|
156 |
$(COMPANY_ADDRESS). All rights reserved.</span> |
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
157 |
endef |
27328 | 158 |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
159 |
# Speed up finding by filling cache |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
160 |
$(eval $(call FillCacheFind, $(wildcard $(JAVADOC_SOURCE_DIRS)))) |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
161 |
|
42135 | 162 |
# In order to get a specific ordering it's necessary to specify the total |
163 |
# ordering of tags as the tags are otherwise ordered in order of definition. |
|
164 |
DEFAULT_JAVADOC_TAGS := \ |
|
165 |
-tag beaninfo:X \ |
|
166 |
-tag revised:X \ |
|
167 |
-tag since.unbundled:X \ |
|
168 |
-tag spec:X \ |
|
169 |
-tag specdefault:X \ |
|
170 |
-tag Note:X \ |
|
171 |
-tag ToDo:X \ |
|
172 |
-tag 'apiNote:a:API Note:' \ |
|
173 |
-tag 'implSpec:a:Implementation Requirements:' \ |
|
174 |
-tag 'implNote:a:Implementation Note:' \ |
|
175 |
-tag param \ |
|
176 |
-tag return \ |
|
177 |
-tag throws \ |
|
44397
f932d6b9f7fe
8173303: Add module-subgraph images to main platform documentation
mchung
parents:
44071
diff
changeset
|
178 |
-taglet build.tools.taglet.ModuleGraph \ |
42135 | 179 |
-tag since \ |
180 |
-tag version \ |
|
181 |
-tag serialData \ |
|
182 |
-tag factory \ |
|
183 |
-tag see \ |
|
184 |
-tag 'jvms:a:See <cite>The Java™ Virtual Machine Specification</cite>:' \ |
|
185 |
-tag 'jls:a:See <cite>The Java™ Language Specification</cite>:' \ |
|
43285
223c3eea12e4
8173354: javadoc warning notice for types in Incubator Modules
chegar
parents:
43171
diff
changeset
|
186 |
-taglet build.tools.taglet.Incubating \ |
223c3eea12e4
8173354: javadoc warning notice for types in Incubator Modules
chegar
parents:
43171
diff
changeset
|
187 |
-tagletpath $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes \ |
42135 | 188 |
# |
189 |
||
190 |
DEFAULT_JAVADOC_OPTIONS := -XDignore.symbol.file=true -use -keywords -notimestamp \ |
|
191 |
-serialwarn -encoding ISO-8859-1 -breakiterator --system none |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
192 |
|
44397
f932d6b9f7fe
8173303: Add module-subgraph images to main platform documentation
mchung
parents:
44071
diff
changeset
|
193 |
# |
f932d6b9f7fe
8173303: Add module-subgraph images to main platform documentation
mchung
parents:
44071
diff
changeset
|
194 |
# TODO: this should be set by the configure option. |
f932d6b9f7fe
8173303: Add module-subgraph images to main platform documentation
mchung
parents:
44071
diff
changeset
|
195 |
# |
f932d6b9f7fe
8173303: Add module-subgraph images to main platform documentation
mchung
parents:
44071
diff
changeset
|
196 |
ifndef ENABLE_MODULE_GRAPH |
f932d6b9f7fe
8173303: Add module-subgraph images to main platform documentation
mchung
parents:
44071
diff
changeset
|
197 |
ENABLE_MODULE_GRAPH=false |
f932d6b9f7fe
8173303: Add module-subgraph images to main platform documentation
mchung
parents:
44071
diff
changeset
|
198 |
endif |
f932d6b9f7fe
8173303: Add module-subgraph images to main platform documentation
mchung
parents:
44071
diff
changeset
|
199 |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
200 |
################################################################################ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
201 |
# Setup make rules for running javadoc. |
13697 | 202 |
# |
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
203 |
# Parameter 1 is the name of the rule. This name is used as variable prefix, |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
204 |
# and the targets generated are listed in a variable by that name. Note that |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
205 |
# the index.html file will work as a "touch file" for all the magnitude of |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
206 |
# files that are generated by javadoc. |
37034
b63fd4af003e
8154313: Generated javadoc scattered all over the place
neugens
parents:
36792
diff
changeset
|
207 |
# |
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
208 |
# Remaining parameters are named arguments. These include: |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
209 |
# MODULES - Modules to include |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
210 |
# PACKAGES - Packages to include |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
211 |
# IS_CORE - Set to TRUE for the Core API package which needs special treatment |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
212 |
# API_ROOT - Where to base the documentation (jre or jdk) |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
213 |
# DEST_DIR - A directory relative to the API root |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
214 |
# OVERVIEW - Path to a html overview file |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
215 |
# TITLE - Default title to use for the more specific versions below |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
216 |
# WINDOW_TITLE - Title to use in -windowtitle. Computed from TITLE if empty. |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
217 |
# HEADER_TITLE - Title to use in -header. Computed from TITLE if empty. |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
218 |
# DOC_TITLE - Title to use in -doctitle. Computed from TITLE if empty. |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
219 |
# FIRST_COPYRIGHT_YEAR - First year this bundle was introduced |
42134
bbcdb49521b1
8169860: Clean up and unify the refactored Javadoc generation
ihse
parents:
41652
diff
changeset
|
220 |
# DISABLED_DOCLINT - Doclint warnings to exclude. |
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
221 |
# DOCLINT_PACKAGES - Optional -Xdoclint/package value |
42134
bbcdb49521b1
8169860: Clean up and unify the refactored Javadoc generation
ihse
parents:
41652
diff
changeset
|
222 |
# SPLIT_INDEX - Enable -splitIndex (split index-all.html if it is too large) |
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
223 |
# BOTTOM_COPYRIGHT_URL - Copyright URL to use in -bottom |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
224 |
# BOTTOM_TEXT - Extra text to use in -bottom |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
225 |
# EXTRA_TOP - Additional -top data |
13697 | 226 |
# |
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
227 |
SetupJavadocGeneration = $(NamedParamsMacroTemplate) |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
228 |
define SetupJavadocGenerationBody |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
229 |
ifeq ($$($1_IS_CORE), TRUE) |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
230 |
$1_JAVA := $$(JAVA) |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
231 |
$1_OUTPUT_DIRNAME := api |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
232 |
else |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
233 |
$1_JAVA := $$(JAVA_SMALL) |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
234 |
$1_OUTPUT_DIRNAME := $$($1_API_ROOT)/api/$$($1_DEST_DIR) |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
235 |
|
42134
bbcdb49521b1
8169860: Clean up and unify the refactored Javadoc generation
ihse
parents:
41652
diff
changeset
|
236 |
# Compute a relative path to core root. |
bbcdb49521b1
8169860: Clean up and unify the refactored Javadoc generation
ihse
parents:
41652
diff
changeset
|
237 |
# The non-core api javadocs need to be able to access the root of the core |
bbcdb49521b1
8169860: Clean up and unify the refactored Javadoc generation
ihse
parents:
41652
diff
changeset
|
238 |
# api directory, so for jdk/api or jre/api to get to the core api/ |
bbcdb49521b1
8169860: Clean up and unify the refactored Javadoc generation
ihse
parents:
41652
diff
changeset
|
239 |
# directory we would use this |
42135 | 240 |
$1_RELATIVE_CORE_DIR := $$(call DirToDotDot, $$($1_OUTPUT_DIRNAME))/api |
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
241 |
|
42135 | 242 |
# We need to tell javadoc the directory in which to find the core package-list |
243 |
$1_OPTIONS += -linkoffline $$($1_RELATIVE_CORE_DIR) $$(CORE_PACKAGES_LIST_DIR) |
|
244 |
||
245 |
$1_DEPS += $(CORE_PACKAGES_LIST_FILE) |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
246 |
endif |
13697 | 247 |
|
42135 | 248 |
$1_OPTIONS += --add-modules $$(call CommaList, $$($1_MODULES)) |
249 |
||
250 |
ifneq ($$($1_DISABLED_DOCLINT), ) |
|
251 |
# Create a string like ",-syntax,-html" |
|
252 |
$1_DOCLINT_EXCEPTIONS := ,$$(call CommaList, $$(addprefix -, $$($1_DISABLED_DOCLINT))) |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
253 |
endif |
42135 | 254 |
$1_OPTIONS += -Xdoclint:all$$($1_DOCLINT_EXCEPTIONS) |
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
255 |
|
42135 | 256 |
ifneq ($$($1_DOCLINT_PACKAGES), ) |
257 |
$1_OPTIONS += -Xdoclint/package:$$(call CommaList, $$($1_DOCLINT_PACKAGES)) |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
258 |
endif |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
259 |
|
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
260 |
ifeq ($$($1_DOC_TITLE), ) |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
261 |
$1_DOC_TITLE := $$($1_TITLE) |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
262 |
endif |
42135 | 263 |
$1_OPTIONS += -doctitle '$$($1_DOC_TITLE)' |
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
264 |
|
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
265 |
ifeq ($$($1_WINDOW_TITLE), ) |
42134
bbcdb49521b1
8169860: Clean up and unify the refactored Javadoc generation
ihse
parents:
41652
diff
changeset
|
266 |
$1_WINDOW_TITLE := $$(strip $$(subst ™,, $$($1_TITLE))) |
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
267 |
endif |
42135 | 268 |
$1_OPTIONS += -windowtitle '$$($1_WINDOW_TITLE)$$(DRAFT_WINDOW_TITLE_MARKER)' |
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
269 |
|
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
270 |
ifeq ($$($1_HEADER_TITLE), ) |
42134
bbcdb49521b1
8169860: Clean up and unify the refactored Javadoc generation
ihse
parents:
41652
diff
changeset
|
271 |
$1_HEADER_TITLE := $$(strip $$(subst ™,, $$($1_TITLE))) |
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
272 |
endif |
42135 | 273 |
$1_OPTIONS += -header '<strong>$$($1_HEADER_TITLE)</strong>$$(DRAFT_MARKER)' |
13697 | 274 |
|
42135 | 275 |
ifneq ($$($1_EXTRA_TOP), ) |
276 |
$1_OPTIONS += -top '$$($1_EXTRA_TOP)' |
|
277 |
endif |
|
13697 | 278 |
|
42134
bbcdb49521b1
8169860: Clean up and unify the refactored Javadoc generation
ihse
parents:
41652
diff
changeset
|
279 |
ifeq ($$($1_BOTTOM_TEXT), ) |
bbcdb49521b1
8169860: Clean up and unify the refactored Javadoc generation
ihse
parents:
41652
diff
changeset
|
280 |
$1_BOTTOM_TEXT := $(COMMON_BOTTOM_TEXT) |
bbcdb49521b1
8169860: Clean up and unify the refactored Javadoc generation
ihse
parents:
41652
diff
changeset
|
281 |
endif |
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
282 |
$1_BOTTOM := $$(call GenerateBottom, $$($1_FIRST_COPYRIGHT_YEAR), \ |
42134
bbcdb49521b1
8169860: Clean up and unify the refactored Javadoc generation
ihse
parents:
41652
diff
changeset
|
283 |
$$($1_BOTTOM_COPYRIGHT_URL), $$($1_BOTTOM_TEXT)) |
42135 | 284 |
$1_OPTIONS += -bottom '$$($1_BOTTOM)$$(DRAFT_MARKER)' |
13697 | 285 |
|
42135 | 286 |
ifneq ($$($1_OVERVIEW), ) |
287 |
$1_OPTIONS += -overview $$($1_OVERVIEW) |
|
288 |
$1_DEPS += $$($1_OVERVIEW) |
|
289 |
endif |
|
13697 | 290 |
|
42135 | 291 |
ifneq ($$($1_SPLIT_INDEX), ) |
292 |
$1_OPTIONS += -splitIndex |
|
293 |
endif |
|
294 |
||
295 |
ifneq ($$($DOCROOTPARENT_FLAG), ) |
|
296 |
$1_OPTIONS += -Xdocrootparent $(JAVADOC_BASE_URL) |
|
297 |
endif |
|
298 |
||
299 |
$1_VARDEPS := $$($1_OPTIONS) $$($1_PACKAGES) |
|
300 |
$1_VARDEPS_FILE := $$(call DependOnVariable, $1_VARDEPS, \ |
|
301 |
$$(SUPPORT_OUTPUTDIR)/docs/$1.vardeps) |
|
13697 | 302 |
|
43047
28be7f773e4e
8172562: Changing log level on Javadoc causes total rebuild
ihse
parents:
43044
diff
changeset
|
303 |
# Do not store debug level options in VARDEPS. |
28be7f773e4e
8172562: Changing log level on Javadoc causes total rebuild
ihse
parents:
43044
diff
changeset
|
304 |
ifneq ($$(LOG_LEVEL), trace) |
28be7f773e4e
8172562: Changing log level on Javadoc causes total rebuild
ihse
parents:
43044
diff
changeset
|
305 |
$1_OPTIONS += -quiet |
28be7f773e4e
8172562: Changing log level on Javadoc causes total rebuild
ihse
parents:
43044
diff
changeset
|
306 |
else |
28be7f773e4e
8172562: Changing log level on Javadoc causes total rebuild
ihse
parents:
43044
diff
changeset
|
307 |
$1_OPTIONS += -verbose |
28be7f773e4e
8172562: Changing log level on Javadoc causes total rebuild
ihse
parents:
43044
diff
changeset
|
308 |
endif |
28be7f773e4e
8172562: Changing log level on Javadoc causes total rebuild
ihse
parents:
43044
diff
changeset
|
309 |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
310 |
$1_PACKAGE_DEPS := $$(call CacheFind, $$(wildcard $$(foreach p, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
311 |
$$(subst .,/,$$(strip $$($1_PACKAGES))), \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
312 |
$$(addsuffix /$$p, $$(wildcard $$(JAVADOC_SOURCE_DIRS)))))) |
13697 | 313 |
|
42135 | 314 |
# If there are many packages, use an @-file... |
315 |
ifneq ($$(word 17, $$($1_PACKAGES)), ) |
|
316 |
$1_PACKAGES_FILE := $$(SUPPORT_OUTPUTDIR)/docs/$1.packages |
|
317 |
$1_PACKAGES_ARG := @$$($1_PACKAGES_FILE) |
|
318 |
else |
|
319 |
$1_PACKAGES_ARG := $$($1_PACKAGES) |
|
320 |
endif |
|
321 |
||
322 |
# The index.html which is a marker for all the output from javadoc. |
|
323 |
$1_INDEX_FILE := $$(JAVADOC_OUTPUTDIR)/$$($1_OUTPUT_DIRNAME)/index.html |
|
324 |
||
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
325 |
# Rule for actually running javadoc |
43781 | 326 |
$$($1_INDEX_FILE): $$(BUILD_TOOLS_JDK) $$($1_VARDEPS_FILE) $$($1_PACKAGE_DEPS) $$($1_DEPS) |
42135 | 327 |
$$(call LogWarn, Generating Javadoc from $$(words $$($1_PACKAGES)) package(s) for $$($1_OUTPUT_DIRNAME)) |
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
328 |
$$(call MakeDir, $$(@D)) |
42135 | 329 |
ifneq ($$($1_PACKAGES_FILE), ) |
330 |
$$(eval $$(call ListPathsSafely, $1_PACKAGES, $$($1_PACKAGES_FILE))) |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
331 |
endif |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
332 |
$$(call ExecuteWithLog, $$(SUPPORT_OUTPUTDIR)/docs/$1.javadoc, \ |
44397
f932d6b9f7fe
8173303: Add module-subgraph images to main platform documentation
mchung
parents:
44071
diff
changeset
|
333 |
$$($1_JAVA) -Djava.awt.headless=true -DenableModuleGraph=$(ENABLE_MODULE_GRAPH) \ |
f932d6b9f7fe
8173303: Add module-subgraph images to main platform documentation
mchung
parents:
44071
diff
changeset
|
334 |
$(NEW_JAVADOC) -d $$(@D) \ |
42135 | 335 |
$$(DEFAULT_JAVADOC_TAGS) $$(DEFAULT_JAVADOC_OPTIONS) \ |
336 |
--module-source-path $$(call PathList, $$(JAVADOC_SOURCE_DIRS)) \ |
|
337 |
$$($1_OPTIONS) $$($1_PACKAGES_ARG)) |
|
13697 | 338 |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
339 |
# The output returned will be the index.html file |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
340 |
$1 := $$($1_INDEX_FILE) |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
341 |
endef |
13697 | 342 |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
343 |
################################################################################ |
35367
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
344 |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
345 |
$(eval $(call SetupJavadocGeneration, coredocs, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
346 |
MODULES := java.se.ee, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
347 |
PACKAGES := $(CORE_PACKAGES), \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
348 |
IS_CORE := TRUE, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
349 |
OVERVIEW := $(JDK_TOPDIR)/src/java.base/share/classes/overview-core.html, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
350 |
WINDOW_TITLE := Java Platform SE $(VERSION_SPECIFICATION), \ |
42134
bbcdb49521b1
8169860: Clean up and unify the refactored Javadoc generation
ihse
parents:
41652
diff
changeset
|
351 |
HEADER_TITLE := Java™ Platform<br>Standard Ed. $(VERSION_SPECIFICATION), \ |
bbcdb49521b1
8169860: Clean up and unify the refactored Javadoc generation
ihse
parents:
41652
diff
changeset
|
352 |
DOC_TITLE := Java™ Platform$(COMMA) Standard Edition \ |
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
353 |
$(VERSION_SPECIFICATION)<br>API Specification, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
354 |
FIRST_COPYRIGHT_YEAR := 1993, \ |
42134
bbcdb49521b1
8169860: Clean up and unify the refactored Javadoc generation
ihse
parents:
41652
diff
changeset
|
355 |
DISABLED_DOCLINT := accessibility html missing syntax, \ |
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
356 |
DOCLINT_PACKAGES := -org.omg.* jdk.internal.logging.*, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
357 |
SPLIT_INDEX := TRUE, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
358 |
BOTTOM_COPYRIGHT_URL := $(CORE_BOTTOM_COPYRIGHT_URL), \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
359 |
BOTTOM_TEXT := $(CORE_BOTTOM_TEXT), \ |
42135 | 360 |
EXTRA_TOP := $(EARLYACCESS_TOP), \ |
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
361 |
)) |
35367
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
362 |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
363 |
TARGETS += $(coredocs) |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
364 |
|
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
365 |
################################################################################ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
366 |
|
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
367 |
$(eval $(call SetupJavadocGeneration, docletapi, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
368 |
MODULES := jdk.javadoc, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
369 |
PACKAGES := \ |
44071 | 370 |
jdk.javadoc.doclet, \ |
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
371 |
API_ROOT := jdk, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
372 |
DEST_DIR := javadoc/doclet, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
373 |
TITLE := Doclet API, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
374 |
FIRST_COPYRIGHT_YEAR := 1993, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
375 |
)) |
35367
48968f91bab4
8035473: [javadoc] Revamp the existing Doclet APIs
ksrini
parents:
33934
diff
changeset
|
376 |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
377 |
TARGETS += $(docletapi) |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
378 |
|
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
379 |
################################################################################ |
13697 | 380 |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
381 |
$(eval $(call SetupJavadocGeneration, old-docletapi, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
382 |
MODULES := jdk.javadoc, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
383 |
PACKAGES := com.sun.javadoc, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
384 |
API_ROOT := jdk, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
385 |
DEST_DIR := javadoc/old/doclet, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
386 |
TITLE := Doclet API, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
387 |
FIRST_COPYRIGHT_YEAR := 1993, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
388 |
)) |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
389 |
|
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
390 |
TARGETS += $(old-docletapi) |
13697 | 391 |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
392 |
################################################################################ |
13697 | 393 |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
394 |
$(eval $(call SetupJavadocGeneration, tagletapi, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
395 |
MODULES := jdk.javadoc, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
396 |
PACKAGES := com.sun.tools.doclets, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
397 |
API_ROOT := jdk, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
398 |
DEST_DIR := javadoc/old/taglet, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
399 |
TITLE := Taglet API, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
400 |
FIRST_COPYRIGHT_YEAR := 1993, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
401 |
)) |
13697 | 402 |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
403 |
TARGETS += $(tagletapi) |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
404 |
|
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
405 |
################################################################################ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
406 |
|
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
407 |
$(eval $(call SetupJavadocGeneration, domapi, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
408 |
MODULES := \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
409 |
java.xml \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
410 |
jdk.xml.dom, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
411 |
PACKAGES := \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
412 |
org.w3c.dom \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
413 |
org.w3c.dom.bootstrap \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
414 |
org.w3c.dom.ls \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
415 |
org.w3c.dom.ranges \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
416 |
org.w3c.dom.traversal \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
417 |
org.w3c.dom.html \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
418 |
org.w3c.dom.stylesheets \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
419 |
org.w3c.dom.css \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
420 |
org.w3c.dom.events \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
421 |
org.w3c.dom.views, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
422 |
API_ROOT := jre, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
423 |
DEST_DIR := plugin/dom, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
424 |
TITLE := Common DOM API, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
425 |
FIRST_COPYRIGHT_YEAR := 2005, \ |
42134
bbcdb49521b1
8169860: Clean up and unify the refactored Javadoc generation
ihse
parents:
41652
diff
changeset
|
426 |
DISABLED_DOCLINT := accessibility html missing, \ |
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
427 |
SPLIT_INDEX := TRUE, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
428 |
)) |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
429 |
|
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
430 |
TARGETS += $(domapi) |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
431 |
|
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
432 |
################################################################################ |
13697 | 433 |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
434 |
$(eval $(call SetupJavadocGeneration, jdi, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
435 |
MODULES := jdk.jdi, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
436 |
PACKAGES := \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
437 |
com.sun.jdi \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
438 |
com.sun.jdi.event \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
439 |
com.sun.jdi.request \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
440 |
com.sun.jdi.connect \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
441 |
com.sun.jdi.connect.spi, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
442 |
API_ROOT := jdk, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
443 |
DEST_DIR := jpda/jdi, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
444 |
OVERVIEW := $(JDK_TOPDIR)/src/jdk.jdi/share/classes/jdi-overview.html, \ |
42134
bbcdb49521b1
8169860: Clean up and unify the refactored Javadoc generation
ihse
parents:
41652
diff
changeset
|
445 |
TITLE := Java™ Debug Interface, \ |
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
446 |
FIRST_COPYRIGHT_YEAR := 1999, \ |
42134
bbcdb49521b1
8169860: Clean up and unify the refactored Javadoc generation
ihse
parents:
41652
diff
changeset
|
447 |
DISABLED_DOCLINT := accessibility missing syntax, \ |
bbcdb49521b1
8169860: Clean up and unify the refactored Javadoc generation
ihse
parents:
41652
diff
changeset
|
448 |
SPLIT_INDEX := TRUE, \ |
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
449 |
)) |
13697 | 450 |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
451 |
TARGETS += $(jdi) |
13697 | 452 |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
453 |
################################################################################ |
13697 | 454 |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
455 |
$(eval $(call SetupJavadocGeneration, jaas, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
456 |
MODULES := jdk.security.auth, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
457 |
PACKAGES := \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
458 |
com.sun.security.auth \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
459 |
com.sun.security.auth.callback \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
460 |
com.sun.security.auth.login \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
461 |
com.sun.security.auth.module, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
462 |
API_ROOT := jre, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
463 |
DEST_DIR := security/jaas/spec, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
464 |
OVERVIEW := $(JDK_TOPDIR)/src/jdk.security.auth/share/classes/jaas-overview.html, \ |
42134
bbcdb49521b1
8169860: Clean up and unify the refactored Javadoc generation
ihse
parents:
41652
diff
changeset
|
465 |
TITLE := Java™ Authentication and Authorization Service, \ |
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
466 |
FIRST_COPYRIGHT_YEAR := 1998, \ |
42134
bbcdb49521b1
8169860: Clean up and unify the refactored Javadoc generation
ihse
parents:
41652
diff
changeset
|
467 |
DISABLED_DOCLINT := missing, \ |
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
468 |
)) |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
469 |
|
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
470 |
TARGETS += $(jaas) |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
471 |
|
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
472 |
################################################################################ |
13697 | 473 |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
474 |
$(eval $(call SetupJavadocGeneration, jgss, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
475 |
MODULES := jdk.security.jgss, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
476 |
PACKAGES := com.sun.security.jgss, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
477 |
API_ROOT := jre, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
478 |
DEST_DIR := security/jgss/spec, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
479 |
OVERVIEW := $(JDK_TOPDIR)/src/java.security.jgss/share/classes/jgss-overview.html, \ |
42134
bbcdb49521b1
8169860: Clean up and unify the refactored Javadoc generation
ihse
parents:
41652
diff
changeset
|
480 |
TITLE := Java™ GSS-API Utilities, \ |
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
481 |
FIRST_COPYRIGHT_YEAR := 2000, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
482 |
)) |
13697 | 483 |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
484 |
TARGETS += $(jgss) |
36506 | 485 |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
486 |
################################################################################ |
13697 | 487 |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
488 |
$(eval $(call SetupJavadocGeneration, smartcardio, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
489 |
MODULES := java.smartcardio, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
490 |
PACKAGES := javax.smartcardio, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
491 |
API_ROOT := jre, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
492 |
DEST_DIR := security/smartcardio/spec, \ |
42134
bbcdb49521b1
8169860: Clean up and unify the refactored Javadoc generation
ihse
parents:
41652
diff
changeset
|
493 |
TITLE := Java™ Smart Card I/O, \ |
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
494 |
FIRST_COPYRIGHT_YEAR := 2005, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
495 |
)) |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
496 |
|
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
497 |
TARGETS += $(smartcardio) |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
498 |
|
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
499 |
################################################################################ |
13697 | 500 |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
501 |
$(eval $(call SetupJavadocGeneration, httpserver, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
502 |
MODULES := jdk.httpserver, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
503 |
PACKAGES := \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
504 |
com.sun.net.httpserver \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
505 |
com.sun.net.httpserver.spi, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
506 |
API_ROOT := jre, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
507 |
DEST_DIR := net/httpserver/spec, \ |
42134
bbcdb49521b1
8169860: Clean up and unify the refactored Javadoc generation
ihse
parents:
41652
diff
changeset
|
508 |
TITLE := Java™ HTTP Server, \ |
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
509 |
FIRST_COPYRIGHT_YEAR := 2005, \ |
42134
bbcdb49521b1
8169860: Clean up and unify the refactored Javadoc generation
ihse
parents:
41652
diff
changeset
|
510 |
DISABLED_DOCLINT := accessibility missing syntax, \ |
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
511 |
)) |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
512 |
|
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
513 |
TARGETS += $(httpserver) |
13697 | 514 |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
515 |
################################################################################ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
516 |
|
42427
2c48c5ffb581
8170648: Move java.net.http package out of Java SE to incubator namespace
michaelm
parents:
42290
diff
changeset
|
517 |
$(eval $(call SetupJavadocGeneration, httpclient, \ |
2c48c5ffb581
8170648: Move java.net.http package out of Java SE to incubator namespace
michaelm
parents:
42290
diff
changeset
|
518 |
MODULES := jdk.incubator.httpclient, \ |
2c48c5ffb581
8170648: Move java.net.http package out of Java SE to incubator namespace
michaelm
parents:
42290
diff
changeset
|
519 |
PACKAGES := \ |
2c48c5ffb581
8170648: Move java.net.http package out of Java SE to incubator namespace
michaelm
parents:
42290
diff
changeset
|
520 |
jdk.incubator.http, \ |
2c48c5ffb581
8170648: Move java.net.http package out of Java SE to incubator namespace
michaelm
parents:
42290
diff
changeset
|
521 |
API_ROOT := jre, \ |
2c48c5ffb581
8170648: Move java.net.http package out of Java SE to incubator namespace
michaelm
parents:
42290
diff
changeset
|
522 |
DEST_DIR := incubator/httpclient/spec, \ |
2c48c5ffb581
8170648: Move java.net.http package out of Java SE to incubator namespace
michaelm
parents:
42290
diff
changeset
|
523 |
TITLE := Java™ HTTP Client API (incubator module), \ |
2c48c5ffb581
8170648: Move java.net.http package out of Java SE to incubator namespace
michaelm
parents:
42290
diff
changeset
|
524 |
FIRST_COPYRIGHT_YEAR := 2015, \ |
2c48c5ffb581
8170648: Move java.net.http package out of Java SE to incubator namespace
michaelm
parents:
42290
diff
changeset
|
525 |
DISABLED_DOCLINT := accessibility missing syntax, \ |
2c48c5ffb581
8170648: Move java.net.http package out of Java SE to incubator namespace
michaelm
parents:
42290
diff
changeset
|
526 |
)) |
2c48c5ffb581
8170648: Move java.net.http package out of Java SE to incubator namespace
michaelm
parents:
42290
diff
changeset
|
527 |
|
2c48c5ffb581
8170648: Move java.net.http package out of Java SE to incubator namespace
michaelm
parents:
42290
diff
changeset
|
528 |
TARGETS += $(httpclient) |
2c48c5ffb581
8170648: Move java.net.http package out of Java SE to incubator namespace
michaelm
parents:
42290
diff
changeset
|
529 |
|
2c48c5ffb581
8170648: Move java.net.http package out of Java SE to incubator namespace
michaelm
parents:
42290
diff
changeset
|
530 |
################################################################################ |
2c48c5ffb581
8170648: Move java.net.http package out of Java SE to incubator namespace
michaelm
parents:
42290
diff
changeset
|
531 |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
532 |
$(eval $(call SetupJavadocGeneration, jsobject, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
533 |
MODULES := jdk.jsobject, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
534 |
PACKAGES := netscape.javascript, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
535 |
API_ROOT := jre, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
536 |
DEST_DIR := plugin/jsobject, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
537 |
FIRST_COPYRIGHT_YEAR := 1993, \ |
42134
bbcdb49521b1
8169860: Clean up and unify the refactored Javadoc generation
ihse
parents:
41652
diff
changeset
|
538 |
TITLE := Java™ JSObject Doc, \ |
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
539 |
)) |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
540 |
|
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
541 |
TARGETS += $(jsobject) |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
542 |
|
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
543 |
################################################################################ |
13697 | 544 |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
545 |
$(eval $(call SetupJavadocGeneration, mgmt, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
546 |
MODULES := jdk.management, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
547 |
PACKAGES := com.sun.management, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
548 |
API_ROOT := jre, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
549 |
DEST_DIR := management/extension, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
550 |
OVERVIEW := $(JDK_TOPDIR)/src/java.management/share/classes/mgmt-overview.html, \ |
42134
bbcdb49521b1
8169860: Clean up and unify the refactored Javadoc generation
ihse
parents:
41652
diff
changeset
|
551 |
TITLE := Monitoring and Management Interface for the Java™ Platform, \ |
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
552 |
FIRST_COPYRIGHT_YEAR := 2003, \ |
42134
bbcdb49521b1
8169860: Clean up and unify the refactored Javadoc generation
ihse
parents:
41652
diff
changeset
|
553 |
DISABLED_DOCLINT := accessibility missing reference, \ |
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
554 |
)) |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
555 |
|
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
556 |
TARGETS += $(mgmt) |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
557 |
|
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
558 |
################################################################################ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
559 |
|
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
560 |
$(eval $(call SetupJavadocGeneration, attach, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
561 |
MODULES := jdk.attach, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
562 |
PACKAGES := \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
563 |
com.sun.tools.attach \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
564 |
com.sun.tools.attach.spi, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
565 |
API_ROOT := jdk, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
566 |
DEST_DIR := attach/spec, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
567 |
TITLE := Attach API, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
568 |
FIRST_COPYRIGHT_YEAR := 2005, \ |
42134
bbcdb49521b1
8169860: Clean up and unify the refactored Javadoc generation
ihse
parents:
41652
diff
changeset
|
569 |
DISABLED_DOCLINT := reference, \ |
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
570 |
)) |
13697 | 571 |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
572 |
TARGETS += $(attach) |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
573 |
|
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
574 |
################################################################################ |
13697 | 575 |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
576 |
$(eval $(call SetupJavadocGeneration, jconsole, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
577 |
MODULES := jdk.jconsole, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
578 |
PACKAGES := com.sun.tools.jconsole, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
579 |
API_ROOT := jdk, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
580 |
DEST_DIR := jconsole/spec, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
581 |
TITLE := JConsole API, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
582 |
FIRST_COPYRIGHT_YEAR := 2006, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
583 |
)) |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
584 |
|
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
585 |
TARGETS += $(jconsole) |
13697 | 586 |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
587 |
################################################################################ |
13697 | 588 |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
589 |
$(eval $(call SetupJavadocGeneration, jshellapi, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
590 |
MODULES := jdk.jshell, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
591 |
PACKAGES := \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
592 |
jdk.jshell \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
593 |
jdk.jshell.spi \ |
42539
d706d00a2719
8170195: jshell tool (make): update javadoc generation for jdk.jshell
rfield
parents:
42533
diff
changeset
|
594 |
jdk.jshell.execution \ |
d706d00a2719
8170195: jshell tool (make): update javadoc generation for jdk.jshell
rfield
parents:
42533
diff
changeset
|
595 |
jdk.jshell.tool, \ |
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
596 |
API_ROOT := jdk, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
597 |
DEST_DIR := jshell, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
598 |
TITLE := JShell API, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
599 |
FIRST_COPYRIGHT_YEAR := 2015, \ |
42539
d706d00a2719
8170195: jshell tool (make): update javadoc generation for jdk.jshell
rfield
parents:
42533
diff
changeset
|
600 |
SPLIT_INDEX := TRUE, \ |
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
601 |
)) |
13697 | 602 |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
603 |
TARGETS += $(jshellapi) |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
604 |
|
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
605 |
################################################################################ |
13697 | 606 |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
607 |
$(eval $(call SetupJavadocGeneration, treeapi, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
608 |
MODULES := jdk.compiler, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
609 |
PACKAGES := \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
610 |
com.sun.source.doctree \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
611 |
com.sun.source.tree \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
612 |
com.sun.source.util, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
613 |
API_ROOT := jdk, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
614 |
DEST_DIR := javac/tree, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
615 |
TITLE := Compiler Tree API, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
616 |
FIRST_COPYRIGHT_YEAR := 2005, \ |
42134
bbcdb49521b1
8169860: Clean up and unify the refactored Javadoc generation
ihse
parents:
41652
diff
changeset
|
617 |
SPLIT_INDEX := TRUE, \ |
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
618 |
)) |
13697 | 619 |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
620 |
TARGETS += $(treeapi) |
36506 | 621 |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
622 |
################################################################################ |
13697 | 623 |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
624 |
$(eval $(call SetupJavadocGeneration, nashornapi, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
625 |
MODULES := jdk.scripting.nashorn, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
626 |
PACKAGES := \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
627 |
jdk.nashorn.api.scripting \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
628 |
jdk.nashorn.api.tree, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
629 |
API_ROOT := jdk, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
630 |
DEST_DIR := nashorn, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
631 |
TITLE := Nashorn API, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
632 |
FIRST_COPYRIGHT_YEAR := 2014, \ |
42134
bbcdb49521b1
8169860: Clean up and unify the refactored Javadoc generation
ihse
parents:
41652
diff
changeset
|
633 |
SPLIT_INDEX := TRUE, \ |
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
634 |
)) |
13697 | 635 |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
636 |
TARGETS += $(nashornapi) |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
637 |
|
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
638 |
################################################################################ |
13697 | 639 |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
640 |
$(eval $(call SetupJavadocGeneration, dynalinkapi, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
641 |
MODULES := jdk.dynalink, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
642 |
PACKAGES := \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
643 |
jdk.dynalink \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
644 |
jdk.dynalink.beans \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
645 |
jdk.dynalink.linker \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
646 |
jdk.dynalink.linker.support \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
647 |
jdk.dynalink.support, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
648 |
API_ROOT := jdk, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
649 |
DEST_DIR := dynalink, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
650 |
TITLE := Dynalink API, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
651 |
FIRST_COPYRIGHT_YEAR := 2015, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
652 |
)) |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
653 |
|
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
654 |
TARGETS += $(dynalinkapi) |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
655 |
|
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
656 |
################################################################################ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
657 |
|
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
658 |
$(eval $(call SetupJavadocGeneration, sctp, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
659 |
MODULES := jdk.sctp, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
660 |
PACKAGES := com.sun.nio.sctp, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
661 |
API_ROOT := jre, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
662 |
DEST_DIR := nio/sctp/spec, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
663 |
TITLE := SCTP API, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
664 |
FIRST_COPYRIGHT_YEAR := 2009, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
665 |
)) |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
666 |
|
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
667 |
TARGETS += $(sctp) |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
668 |
|
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
669 |
################################################################################ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
670 |
|
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
671 |
$(eval $(call SetupJavadocGeneration, jaccess, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
672 |
MODULES := jdk.accessibility, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
673 |
PACKAGES := com.sun.java.accessibility.util, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
674 |
API_ROOT := jre, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
675 |
DEST_DIR := accessibility/jaccess/spec, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
676 |
TITLE := JACCESS API, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
677 |
FIRST_COPYRIGHT_YEAR := 2002, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
678 |
)) |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
679 |
|
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
680 |
TARGETS += $(jaccess) |
13697 | 681 |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
682 |
################################################################################ |
13697 | 683 |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
684 |
$(eval $(call SetupJavadocGeneration, jdknet, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
685 |
MODULES := jdk.net, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
686 |
PACKAGES := jdk.net, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
687 |
API_ROOT := jre, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
688 |
DEST_DIR := net/socketoptions/spec, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
689 |
TITLE := jdk.net API, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
690 |
FIRST_COPYRIGHT_YEAR := 2014, \ |
42134
bbcdb49521b1
8169860: Clean up and unify the refactored Javadoc generation
ihse
parents:
41652
diff
changeset
|
691 |
DISABLED_DOCLINT := missing, \ |
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
692 |
)) |
13697 | 693 |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
694 |
TARGETS += $(jdknet) |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
695 |
|
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
696 |
################################################################################ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
697 |
# Copy JDWP html file |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
698 |
|
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
699 |
JDWP_HTML := $(SUPPORT_OUTPUTDIR)/gensrc/jdk.jdi/jdwp-protocol.html |
13697 | 700 |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
701 |
$(eval $(call SetupCopyFiles, COPY_JDWP_HTML, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
702 |
FILES := $(JDWP_HTML), \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
703 |
DEST := $(JAVADOC_OUTPUTDIR)/platform/jpda/jdwp, \ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
704 |
)) |
13697 | 705 |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
706 |
COPY_TARGETS += $(COPY_JDWP_HTML) |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
707 |
|
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
708 |
################################################################################ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
709 |
# Copy JVMTI html file |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
710 |
|
41260 | 711 |
# Pick jvmti.html from any jvm variant, they are all the same. |
712 |
JVMTI_HTML := $(firstword \ |
|
713 |
$(wildcard $(HOTSPOT_OUTPUTDIR)/variant-*/gensrc/jvmtifiles/jvmti.html)) |
|
13697 | 714 |
|
41260 | 715 |
$(eval $(call SetupCopyFiles, COPY_JVMTI_HTML, \ |
716 |
FILES := $(JVMTI_HTML), \ |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
717 |
DEST := $(JAVADOC_OUTPUTDIR)/platform/jvmti, \ |
41260 | 718 |
)) |
719 |
||
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
720 |
COPY_TARGETS += $(COPY_JVMTI_HTML) |
13697 | 721 |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
722 |
################################################################################ |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
723 |
# Optional target which bundles all generated javadocs into a zip archive. |
37034
b63fd4af003e
8154313: Generated javadoc scattered all over the place
neugens
parents:
36792
diff
changeset
|
724 |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
725 |
JAVADOC_ARCHIVE_NAME := jdk-$(VERSION_STRING)-docs.zip |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
726 |
JAVADOC_ARCHIVE_ASSEMBLY_DIR := $(SUPPORT_OUTPUTDIR)/docs/zip-docs |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
727 |
JAVADOC_ARCHIVE_DIR := $(OUTPUT_ROOT)/bundles |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
728 |
JAVADOC_ARCHIVE := $(JAVADOC_ARCHIVE_DIR)/$(JAVADOC_ARCHIVE_NAME) |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
729 |
|
42135 | 730 |
$(JAVADOC_ARCHIVE): $(TARGETS) $(COPY_TARGETS) |
37034
b63fd4af003e
8154313: Generated javadoc scattered all over the place
neugens
parents:
36792
diff
changeset
|
731 |
$(call LogInfo, Compressing javadoc to single $(JAVADOC_ARCHIVE_NAME)) |
b63fd4af003e
8154313: Generated javadoc scattered all over the place
neugens
parents:
36792
diff
changeset
|
732 |
$(MKDIR) -p $(JAVADOC_ARCHIVE_DIR) |
b63fd4af003e
8154313: Generated javadoc scattered all over the place
neugens
parents:
36792
diff
changeset
|
733 |
$(RM) -r $(JAVADOC_ARCHIVE_ASSEMBLY_DIR) |
b63fd4af003e
8154313: Generated javadoc scattered all over the place
neugens
parents:
36792
diff
changeset
|
734 |
$(MKDIR) -p $(JAVADOC_ARCHIVE_ASSEMBLY_DIR) |
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
735 |
all_roots=`$(FIND) $(JAVADOC_OUTPUTDIR) | $(GREP) index.html | grep -v old/doclet`; \ |
37034
b63fd4af003e
8154313: Generated javadoc scattered all over the place
neugens
parents:
36792
diff
changeset
|
736 |
pushd $(JAVADOC_ARCHIVE_ASSEMBLY_DIR); \ |
b63fd4af003e
8154313: Generated javadoc scattered all over the place
neugens
parents:
36792
diff
changeset
|
737 |
for index_file in $${all_roots} ; do \ |
b63fd4af003e
8154313: Generated javadoc scattered all over the place
neugens
parents:
36792
diff
changeset
|
738 |
target_dir=`dirname $${index_file}`; \ |
b63fd4af003e
8154313: Generated javadoc scattered all over the place
neugens
parents:
36792
diff
changeset
|
739 |
name=`$(ECHO) $${target_dir} | $(SED) "s;/spec;;" | $(SED) "s;.*/;;"`; \ |
b63fd4af003e
8154313: Generated javadoc scattered all over the place
neugens
parents:
36792
diff
changeset
|
740 |
$(LN) -s $${target_dir} $${name}; \ |
b63fd4af003e
8154313: Generated javadoc scattered all over the place
neugens
parents:
36792
diff
changeset
|
741 |
done; \ |
42136
f872c8278074
8168037: Use ZIPEXE instead of ZIP to avoid clash with options for zip
ihse
parents:
42135
diff
changeset
|
742 |
$(ZIPEXE) -q -r $(JAVADOC_ARCHIVE) * ; \ |
37034
b63fd4af003e
8154313: Generated javadoc scattered all over the place
neugens
parents:
36792
diff
changeset
|
743 |
popd ; |
b63fd4af003e
8154313: Generated javadoc scattered all over the place
neugens
parents:
36792
diff
changeset
|
744 |
|
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
745 |
ZIP_TARGETS += $(JAVADOC_ARCHIVE) |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
746 |
|
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
747 |
################################################################################ |
44397
f932d6b9f7fe
8173303: Add module-subgraph images to main platform documentation
mchung
parents:
44071
diff
changeset
|
748 |
# generate .dot files for module graphs |
f932d6b9f7fe
8173303: Add module-subgraph images to main platform documentation
mchung
parents:
44071
diff
changeset
|
749 |
|
f932d6b9f7fe
8173303: Add module-subgraph images to main platform documentation
mchung
parents:
44071
diff
changeset
|
750 |
JAVADOC_MODULE_GRAPHS_DIR := $(SUPPORT_OUTPUTDIR)/docs/module-graphs |
f932d6b9f7fe
8173303: Add module-subgraph images to main platform documentation
mchung
parents:
44071
diff
changeset
|
751 |
JAVADOC_MODULE_GRAPHS := $(JAVADOC_MODULE_GRAPHS_DIR)/java.se.dot |
f932d6b9f7fe
8173303: Add module-subgraph images to main platform documentation
mchung
parents:
44071
diff
changeset
|
752 |
JAVADOC_MODULE_GRAPHS_PROPS := $(JDK_TOPDIR)/make/src/classes/build/tools/jigsaw/javadoc-graphs.properties |
f932d6b9f7fe
8173303: Add module-subgraph images to main platform documentation
mchung
parents:
44071
diff
changeset
|
753 |
|
f932d6b9f7fe
8173303: Add module-subgraph images to main platform documentation
mchung
parents:
44071
diff
changeset
|
754 |
$(JAVADOC_MODULE_GRAPHS): $(BUILD_JIGSAW_TOOLS) $(JAVADOC_MODULE_GRAPHS_PROPS) |
f932d6b9f7fe
8173303: Add module-subgraph images to main platform documentation
mchung
parents:
44071
diff
changeset
|
755 |
$(MKDIR) -p $(@D) |
f932d6b9f7fe
8173303: Add module-subgraph images to main platform documentation
mchung
parents:
44071
diff
changeset
|
756 |
$(TOOL_GENGRAPHS) --spec --output $(JAVADOC_MODULE_GRAPHS_DIR) \ |
f932d6b9f7fe
8173303: Add module-subgraph images to main platform documentation
mchung
parents:
44071
diff
changeset
|
757 |
--dot-attributes $(JAVADOC_MODULE_GRAPHS_PROPS) |
f932d6b9f7fe
8173303: Add module-subgraph images to main platform documentation
mchung
parents:
44071
diff
changeset
|
758 |
|
f932d6b9f7fe
8173303: Add module-subgraph images to main platform documentation
mchung
parents:
44071
diff
changeset
|
759 |
MODULE_GRAPH_TARGETS += $(JAVADOC_MODULE_GRAPHS) |
f932d6b9f7fe
8173303: Add module-subgraph images to main platform documentation
mchung
parents:
44071
diff
changeset
|
760 |
|
f932d6b9f7fe
8173303: Add module-subgraph images to main platform documentation
mchung
parents:
44071
diff
changeset
|
761 |
################################################################################ |
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
762 |
|
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
763 |
# Hook to include the corresponding custom file, if present. |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
764 |
$(eval $(call IncludeCustomExtension, , Javadoc.gmk)) |
39384
adde8cb7d01b
8003593: build-infra: Paths to optional platform-specific files should not be hardwired to src/closed
erikj
parents:
39381
diff
changeset
|
765 |
|
adde8cb7d01b
8003593: build-infra: Paths to optional platform-specific files should not be hardwired to src/closed
erikj
parents:
39381
diff
changeset
|
766 |
################################################################################ |
adde8cb7d01b
8003593: build-infra: Paths to optional platform-specific files should not be hardwired to src/closed
erikj
parents:
39381
diff
changeset
|
767 |
|
44397
f932d6b9f7fe
8173303: Add module-subgraph images to main platform documentation
mchung
parents:
44071
diff
changeset
|
768 |
docs-module-graphs: $(MODULE_GRAPH_TARGETS) |
f932d6b9f7fe
8173303: Add module-subgraph images to main platform documentation
mchung
parents:
44071
diff
changeset
|
769 |
|
43781 | 770 |
docs-javadoc: $(TARGETS) |
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
771 |
|
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
772 |
docs-copy: $(COPY_TARGETS) |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
773 |
|
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
774 |
docs-zip: $(ZIP_TARGETS) |
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
775 |
|
44397
f932d6b9f7fe
8173303: Add module-subgraph images to main platform documentation
mchung
parents:
44071
diff
changeset
|
776 |
all: docs-module-graphs docs-javadoc docs-copy docs-zip |
41652
a0664e2b49a1
8168772: Convert javadoc generation to build-infra standards
ihse
parents:
41260
diff
changeset
|
777 |
|
44397
f932d6b9f7fe
8173303: Add module-subgraph images to main platform documentation
mchung
parents:
44071
diff
changeset
|
778 |
.PHONY: default all docs-module-graphs docs-javadoc docs-copy docs-zip |