1127 $(SCTPAPI_OPTIONS_FILE): 1128 $(prep-target) 1129 @($(call OptionOnly,$(COMMON_JAVADOCFLAGS)) ; \ 1130 $(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \ 1131 $(call OptionPair,-encoding,ascii) ; \ 1132 $(call OptionOnly,-nodeprecatedlist) ; \ 1133 $(call OptionPair,-doctitle,$(SCTPAPI_DOCTITLE)) ; \ 1134 $(call OptionPair,-windowtitle,$(SCTPAPI_WINDOWTITLE) $(DRAFT_WINTITLE));\ 1135 $(call OptionPair,-header,$(SCTPAPI_HEADER)$(DRAFT_HEADER)) ; \ 1136 $(call OptionPair,-bottom,$(SCTPAPI_BOTTOM)$(DRAFT_BOTTOM)) ; \ 1137 $(call OptionTrip,-linkoffline,$(SCTPAPI2COREAPI),$(COREAPI_DOCSDIR)/); \ 1138 ) >> $@ 1139 1140 # Create a file with the package names in it 1141 $(SCTPAPI_PACKAGES_FILE): $(DIRECTORY_CACHE) $(call PackageDependencies,$(SCTPAPI_PKGS)) 1142 $(prep-target) 1143 $(call PackageFilter,$(SCTPAPI_PKGS)) 1144 1145 ############################################################# 1146 # 1147 # tracingdocs 1148 # 1149 1150 ALL_OTHER_TARGETS += tracingdocs 1151 1152 TRACING_DOCDIR := $(JRE_API_DOCSDIR)/tracing 1153 TRACING2COREAPI := ../$(JDKJRE2COREAPI) 1154 TRACING_DOCTITLE := Java$(TRADEMARK) Platform Tracing 1155 TRACING_WINDOWTITLE := Platform Tracing 1156 TRACING_HEADER := <strong>Platform Tracing</strong> 1157 TRACING_BOTTOM := $(call CommonBottom,$(TRACING_FIRST_COPYRIGHT_YEAR)) 1158 # TRACING_PKGS is located in NON_CORE_PKGS.gmk 1159 1160 TRACING_INDEX_HTML = $(TRACING_DOCDIR)/index.html 1161 TRACING_OPTIONS_FILE = $(DOCSTMPDIR)/tracing.options 1162 TRACING_PACKAGES_FILE = $(DOCSTMPDIR)/tracing.packages 1163 1164 tracingdocs: $(TRACING_INDEX_HTML) 1165 1166 # Set relative location to core api document root 1167 $(TRACING_INDEX_HTML): GET2DOCSDIR=$(TRACING2COREAPI)/.. 1168 1169 # Run javadoc if the index file is out of date or missing 1170 $(TRACING_INDEX_HTML): $(TRACING_OPTIONS_FILE) $(TRACING_PACKAGES_FILE) 1171 $(prep-javadoc) 1172 $(call JavadocSummary,$(TRACING_OPTIONS_FILE),$(TRACING_PACKAGES_FILE)) 1173 $(JAVADOC_CMD) $(JAVADOC_VM_MEMORY_FLAGS) -d $(@D) \ 1174 @$(TRACING_OPTIONS_FILE) @$(TRACING_PACKAGES_FILE) 1175 1176 # Create file with javadoc options in it 1177 $(TRACING_OPTIONS_FILE): 1178 $(prep-target) 1179 @($(call OptionOnly,$(COMMON_JAVADOCFLAGS)) ; \ 1180 $(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \ 1181 $(call OptionPair,-encoding,ascii) ; \ 1182 $(call OptionOnly,-nodeprecatedlist) ; \ 1183 $(call OptionPair,-doctitle,$(TRACING_DOCTITLE)) ; \ 1184 $(call OptionPair,-windowtitle,$(TRACING_WINDOWTITLE) $(DRAFT_WINTITLE));\ 1185 $(call OptionPair,-header,$(TRACING_HEADER)$(DRAFT_HEADER)) ; \ 1186 $(call OptionPair,-bottom,$(TRACING_BOTTOM)$(DRAFT_BOTTOM)) ; \ 1187 $(call OptionTrip,-linkoffline,$(TRACING2COREAPI),$(COREAPI_DOCSDIR)/); \ 1188 ) >> $@ 1189 1190 # Create a file with the package names in it 1191 $(TRACING_PACKAGES_FILE): $(DIRECTORY_CACHE) $(call PackageDependencies,$(TRACING_PKGS)) 1192 $(prep-target) 1193 $(call PackageFilter,$(TRACING_PKGS)) 1194 1195 ############################################################# 1196 # 1197 # Get a cache of all the directories 1198 1199 $(DIRECTORY_CACHE): $(ALL_EXISTING_SOURCE_DIRS) 1200 $(prep-target) 1201 @for cp in $(ALL_EXISTING_SOURCE_DIRS) ; do \ 1202 $(ECHO) "$(FIND) $${cp} -type f >> $@"; \ 1203 $(FIND) $${cp} -type f >> $@; \ 1204 done 1205 1206 ############################################################# 1207 #release version of core packages ######## 1208 # Maximize performance and ensure that build number & milestone are set. 1209 1210 rel-coredocs: sanitycheckcoredocs 1211 $(MAKE) coredocs 1212 1213 rel-docs: rel-coredocs $(ALL_OTHER_TARGETS) 1214 # 1215 # end of production targets 1216 | 1127 $(SCTPAPI_OPTIONS_FILE): 1128 $(prep-target) 1129 @($(call OptionOnly,$(COMMON_JAVADOCFLAGS)) ; \ 1130 $(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \ 1131 $(call OptionPair,-encoding,ascii) ; \ 1132 $(call OptionOnly,-nodeprecatedlist) ; \ 1133 $(call OptionPair,-doctitle,$(SCTPAPI_DOCTITLE)) ; \ 1134 $(call OptionPair,-windowtitle,$(SCTPAPI_WINDOWTITLE) $(DRAFT_WINTITLE));\ 1135 $(call OptionPair,-header,$(SCTPAPI_HEADER)$(DRAFT_HEADER)) ; \ 1136 $(call OptionPair,-bottom,$(SCTPAPI_BOTTOM)$(DRAFT_BOTTOM)) ; \ 1137 $(call OptionTrip,-linkoffline,$(SCTPAPI2COREAPI),$(COREAPI_DOCSDIR)/); \ 1138 ) >> $@ 1139 1140 # Create a file with the package names in it 1141 $(SCTPAPI_PACKAGES_FILE): $(DIRECTORY_CACHE) $(call PackageDependencies,$(SCTPAPI_PKGS)) 1142 $(prep-target) 1143 $(call PackageFilter,$(SCTPAPI_PKGS)) 1144 1145 ############################################################# 1146 # 1147 # Get a cache of all the directories 1148 1149 $(DIRECTORY_CACHE): $(ALL_EXISTING_SOURCE_DIRS) 1150 $(prep-target) 1151 @for cp in $(ALL_EXISTING_SOURCE_DIRS) ; do \ 1152 $(ECHO) "$(FIND) $${cp} -type f >> $@"; \ 1153 $(FIND) $${cp} -type f >> $@; \ 1154 done 1155 1156 ############################################################# 1157 #release version of core packages ######## 1158 # Maximize performance and ensure that build number & milestone are set. 1159 1160 rel-coredocs: sanitycheckcoredocs 1161 $(MAKE) coredocs 1162 1163 rel-docs: rel-coredocs $(ALL_OTHER_TARGETS) 1164 # 1165 # end of production targets 1166 |