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