make/Javadoc.gmk
changeset 27560 adc258b13e2c
parent 27328 17f2bc9cd16a
child 27602 236555ddac42
equal deleted inserted replaced
27559:23d1529db8c7 27560:adc258b13e2c
    42 
    42 
    43 #
    43 #
    44 # Definitions for directories
    44 # Definitions for directories
    45 #
    45 #
    46 
    46 
    47 DOCSDIR := $(OUTPUT_ROOT)/docs
    47 DOCSDIR := $(IMAGES_OUTPUTDIR)/docs
    48 TEMPDIR := $(OUTPUT_ROOT)/docstemp
    48 DOCSTMPDIR = $(SUPPORT_OUTPUTDIR)/docs
    49 
    49 
    50 HOTSPOT_DOCS_IMPORT_PATH=$(HOTSPOT_OUTPUTDIR)/docs
    50 HOTSPOT_DOCS_IMPORT_PATH=$(HOTSPOT_OUTPUTDIR)/docs
    51 
    51 
    52 BUILD_NUMBER=$(JDK_BUILD_NUMBER)
    52 BUILD_NUMBER=$(JDK_BUILD_NUMBER)
    53 
    53 
   140       $(JDK_TOPDIR)/src/*/$(OPENJDK_TARGET_OS_API_DIR)/classes \
   140       $(JDK_TOPDIR)/src/*/$(OPENJDK_TARGET_OS_API_DIR)/classes \
   141       $(LANGTOOLS_TOPDIR)/src/*/share/classes \
   141       $(LANGTOOLS_TOPDIR)/src/*/share/classes \
   142       $(CORBA_TOPDIR)/src/*/share/classes \
   142       $(CORBA_TOPDIR)/src/*/share/classes \
   143       $(JAXP_TOPDIR)/src/*/share/classes \
   143       $(JAXP_TOPDIR)/src/*/share/classes \
   144       $(JAXWS_TOPDIR)/src/*/share/classes \
   144       $(JAXWS_TOPDIR)/src/*/share/classes \
   145       $(JDK_OUTPUTDIR)/gensrc/j* \
   145       $(SUPPORT_OUTPUTDIR)/gensrc/j* \
   146       $(JDK_OUTPUTDIR)/gendocsrc_rmic \
   146       $(SUPPORT_OUTPUTDIR)/rmic/j* \
   147       $(CORBA_OUTPUTDIR)/gensrc/j* \
       
   148       $(JDK_TOPDIR)/src/*/share/doc/stub \
   147       $(JDK_TOPDIR)/src/*/share/doc/stub \
   149       ) \
   148       ) \
   150       #
   149       #
   151 
   150 
   152 # List with classpath separator between them
   151 # List with classpath separator between them
   200 	@($(ECHO) "# Options (`$(BASENAME) $1`):"; $(SED) -e 's@^@#   @' $1) $(LOG_DEBUG)
   199 	@($(ECHO) "# Options (`$(BASENAME) $1`):"; $(SED) -e 's@^@#   @' $1) $(LOG_DEBUG)
   201 	@($(ECHO) "# Packages (`$(BASENAME) $2`):";$(SED) -e 's@^@#   @' $2) $(LOG_DEBUG)
   200 	@($(ECHO) "# Packages (`$(BASENAME) $2`):";$(SED) -e 's@^@#   @' $2) $(LOG_DEBUG)
   202 endef
   201 endef
   203 
   202 
   204 #
   203 #
   205 # Temporary directory for javadoc creation
       
   206 #
       
   207 DOCSTMPDIR = $(TEMPDIR)/doctmp
       
   208 
       
   209 #
       
   210 # Different api directories created from root directory
   204 # Different api directories created from root directory
   211 #
   205 #
   212 COREAPI_DOCSDIR = $(DOCSDIR)/api
   206 COREAPI_DOCSDIR = $(DOCSDIR)/api
   213 JDK_API_DOCSDIR = $(DOCSDIR)/jdk/api
   207 JDK_API_DOCSDIR = $(DOCSDIR)/jdk/api
   214 JRE_API_DOCSDIR = $(DOCSDIR)/jre/api
   208 JRE_API_DOCSDIR = $(DOCSDIR)/jre/api
   269 define COMMON_JAVADOCFLAGS
   263 define COMMON_JAVADOCFLAGS
   270     $(call OptionOnly,-XDignore.symbol.file=true) ; \
   264     $(call OptionOnly,-XDignore.symbol.file=true) ; \
   271     $(call OptionOnly,-quiet) ; \
   265     $(call OptionOnly,-quiet) ; \
   272     $(call OptionOnly,-use) ; \
   266     $(call OptionOnly,-use) ; \
   273     $(call OptionOnly,-keywords) ; \
   267     $(call OptionOnly,-keywords) ; \
   274     $(call OptionPair,-Xprofilespath,$(JDK_TOPDIR)/make/profile-rtjar-includes.txt) ; \
       
   275     $(call OptionOnly,$(ADDITIONAL_JAVADOCFLAGS))
   268     $(call OptionOnly,$(ADDITIONAL_JAVADOCFLAGS))
   276 endef
   269 endef
   277 
   270 
   278 # Common javadoc tags used by all bundles
   271 # Common javadoc tags used by all bundles
   279 
   272 
   666 ALL_OTHER_TARGETS += jdwpdocs
   659 ALL_OTHER_TARGETS += jdwpdocs
   667 
   660 
   668 JDWP_DOCDIR = $(PLATFORM_DOCSDIR)/jpda/jdwp
   661 JDWP_DOCDIR = $(PLATFORM_DOCSDIR)/jpda/jdwp
   669 
   662 
   670 jdwpdocs: $(JDWP_DOCDIR)/jdwp-protocol.html
   663 jdwpdocs: $(JDWP_DOCDIR)/jdwp-protocol.html
   671 $(JDWP_DOCDIR)/jdwp-protocol.html : $(JDK_OUTPUTDIR)/gensrc_jdwp_doc/jdwp-protocol.html
   664 $(JDWP_DOCDIR)/jdwp-protocol.html : $(SUPPORT_OUTPUTDIR)/gensrc/jdk.jdi/jdwp-protocol.html
   672 	$(MKDIR) -p $(@D)
   665 	$(MKDIR) -p $(@D)
   673 	$(RM) $@
   666 	$(RM) $@
   674 	$(CP) $< $@
   667 	$(CP) $< $@
   675 
   668 
   676 #############################################################
   669 #############################################################