common/makefiles/javadoc/Javadoc.gmk
changeset 15586 d04f034525c6
parent 15583 74d53e1f9364
parent 15393 e3761cf4e010
child 17067 61167bc712a4
equal deleted inserted replaced
15585:9400e3513052 15586:d04f034525c6
     1 # Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
     1 # Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
     2 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     2 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3 #
     3 #
     4 # This code is free software; you can redistribute it and/or modify it
     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
     5 # under the terms of the GNU General Public License version 2 only, as
     6 # published by the Free Software Foundation.  Oracle designates this
     6 # published by the Free Software Foundation.  Oracle designates this
    44 
    44 
    45 HOTSPOT_DOCS_IMPORT_PATH=$(HOTSPOT_OUTPUTDIR)/docs
    45 HOTSPOT_DOCS_IMPORT_PATH=$(HOTSPOT_OUTPUTDIR)/docs
    46 
    46 
    47 BUILD_NUMBER=$(JDK_BUILD_NUMBER)
    47 BUILD_NUMBER=$(JDK_BUILD_NUMBER)
    48 
    48 
    49 BOOT_JAVA_CMD=$(JAVA)
    49 JAVADOC_CMD = $(JAVA) \
    50 
       
    51 JAVADOC_JAR = $(LANGTOOLS_DIST)/bootstrap/lib/javadoc.jar
       
    52 JAVADOC_CMD = $(BOOT_JAVA_CMD) \
       
    53               -Xmx1024m \
    50               -Xmx1024m \
    54 	      -Djava.awt.headless=true \
    51 	      -Djava.awt.headless=true \
    55               "-Xbootclasspath/p:$(JAVADOC_JAR)" \
    52 	      $(NEW_JAVADOC) \
    56               -jar $(JAVADOC_JAR) -bootclasspath $(JDK_OUTPUTDIR)/classes
    53 	      -bootclasspath $(JDK_OUTPUTDIR)/classes
    57 
    54 
    58 # Copyright year for beginning of Java and some of the apis
    55 # Copyright year for beginning of Java and some of the apis
    59 #   (Needed when creating the javadocs)
    56 #   (Needed when creating the javadocs)
    60 FIRST_COPYRIGHT_YEAR                = 1993
    57 FIRST_COPYRIGHT_YEAR                = 1993
    61 DOMAPI_FIRST_COPYRIGHT_YEAR         = 2005
    58 DOMAPI_FIRST_COPYRIGHT_YEAR         = 2005
   267 COMMON_JAVADOCFLAGS =					\
   264 COMMON_JAVADOCFLAGS =					\
   268                 -XDignore.symbol.file=true              \
   265                 -XDignore.symbol.file=true              \
   269 		-quiet					\
   266 		-quiet					\
   270                 -use					\
   267                 -use					\
   271                 -keywords				\
   268                 -keywords				\
       
   269 		-Xdoclint:none				\
   272                 -Xprofilespath $(JDK_TOPDIR)/makefiles/profile-rtjar-includes.txt \
   270                 -Xprofilespath $(JDK_TOPDIR)/makefiles/profile-rtjar-includes.txt \
   273 		$(ADDITIONAL_JAVADOCFLAGS)
   271 		$(ADDITIONAL_JAVADOCFLAGS)
   274 
   272 
   275 ifdef OPENJDK
   273 ifdef OPENJDK
   276   ADDITIONAL_JAVADOCFLAGS =				\
   274   ADDITIONAL_JAVADOCFLAGS =				\