common/makefiles/javadoc/Javadoc.gmk

changeset 626
bebeaa04ab8e
parent 623
b80abec66e70
parent 607
12782ec1da5f
child 704
a7a8302473d3
equal deleted inserted replaced
625:2f8fd30f02e6 626:bebeaa04ab8e
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 = \

mercurial