Makefile revision 2537
2537N/A# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. 0N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 0N/A# This code is free software; you can redistribute it and/or modify it 0N/A# under the terms of the GNU General Public License version 2 only, as 2362N/A# published by the Free Software Foundation. Oracle designates this 0N/A# particular file as subject to the "Classpath" exception as provided 2362N/A# by Oracle in the LICENSE file that accompanied this code. 0N/A# This code is distributed in the hope that it will be useful, but WITHOUT 0N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 0N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 0N/A# version 2 for more details (a copy is included in the LICENSE file that 0N/A# accompanied this code). 0N/A# You should have received a copy of the GNU General Public License version 0N/A# 2 along with this work; if not, write to the Free Software Foundation, 0N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 2362N/A# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 0N/A# Definitions for $(DOCSDIR), $(MKDIR), $(BINDIR), etc. 2537N/A# Get CopyrightLine macro and other shared variables 2537N/A# Url to copyright html file 2537N/A# Common line for how to submit a bug or rfe 2537N/A# Common Java trademark line 2537N/A# Definitions for imported components 0N/A# We override whatever the max VM memory setting is here. 0N/A# NOTE: javadoc will not complete without these larger settings. 0N/A# WARNING: This could cause thrashing on low memory machines. 2537N/A# List of all possible directories for javadoc to look for sources 2537N/A# NOTE: Quotes are required around sourcepath argument only on Windows. 2537N/A# Otherwise, you get "No packages or classes specified." due 2537N/A# to $(CLASSPATH_SEPARATOR) being interpreted as an end of 2537N/A# command (newline or shell ; character) 2537N/A@
if [ -f
"$@" -a
"$?" !=
"" ] ;
then \
2537N/A# A cache of the directories in ALL_SOURCE_DIRS 2537N/A# Given a list of packages, return a list of files or dirs to be dependent on 2537N/A# (Currently only returning a list of directories) 2537N/A# Given a list of packages, add packages that exist to $@, print summary 2537N/A if [
"$${found}" =
"false" ] ;
then \
2537N/A# Print out a summary of the javadoc command about to be run 2537N/A# Temporary directory for javadoc creation 2537N/A# Different api directories created from root directory 2537N/A# The non-core api javadocs need to be able to access the root of the core 2537N/A# directory we would use this: 2537N/A# Common trademark bottom argument (Not sure why this is used sometimes) 2537N/A# Core api bottom argument (with special sauce) 2537N/A# Common javadoc options used by all 2537N/A# Draft used for non-fcs documents 2537N/A # Early access top text (not used in FCS releases) 2537N/A################################################################# 0N/A# CORE_PKGS environment variable has been moved to the following file 0N/A# Load environment variables for API package names that are not part of 0N/A# the Java SE platform 2537N/A################################################################# 2537N/A# Default target is same as docs target, create core api and all others it can 0N/A################################################################# 0N/A# Production Targets -- USE THESE TARGETS WHEN: 0N/A# a) You're generating docs outside of release engineering's 0N/A# standard control build. 0N/A# b) The docs will be pushed to the web and/or included in 0N/A# the downloaded doc bundle. 0N/A @
$(ECHO) "Building core api docs with these values:" 0N/A @
$(ECHO) "ERROR: Build number must be defined" 2537N/A############################################################# 2537N/A# Java language specification cite 2537N/A# Overview file for core apis 2537N/A# Set relative location to core api document root 2537N/A# Run javadoc if the index file is out of date or missing 2537N/A# Create file with javadoc options in it 2537N/A# Create a file with the package names in it 2537N/A############################################################# 2537N/A# Set relative location to core api document root 2537N/A# Run javadoc if the index file is out of date or missing 2537N/A# Create file with javadoc options in it 2537N/A# Create a file with the package names in it 2537N/A############################################################# 2537N/A# Set relative location to core api document root 2537N/A# Run javadoc if the index file is out of date or missing 2537N/A# Create file with javadoc options in it 2537N/A# Create a file with the package names in it 2537N/A############################################################# 2537N/A# Temporary directory (special generation rules) 2537N/A# Set relative location to core api document root 2537N/A# Run javadoc if the index file is out of date or missing 2537N/A# Create file with javadoc options in it 2537N/A# Create a file with the package names in it 2537N/A############################################################# 2537N/A# Set relative location to core api document root 2537N/A# Run javadoc if the index file is out of date or missing 2537N/A# Create file with javadoc options in it 2537N/A# Create a file with the package names in it 2537N/A############################################################# 2537N/A############################################################# 2537N/A# Set relative location to core api document root 2537N/A# Run javadoc if the index file is out of date or missing 2537N/A# Create file with javadoc options in it 2537N/A# Create a file with the package names in it 2537N/A############################################################# 2537N/A############################################################# 2537N/A############################################################# 2537N/A# Set relative location to core api document root 2537N/A# Run javadoc if the index file is out of date or missing 2537N/A# Create file with javadoc options in it 2537N/A# Create a file with the package names in it 2537N/A############################################################# 2537N/A# Set relative location to core api document root 2537N/A# Run javadoc if the index file is out of date or missing 2537N/A# Create file with javadoc options in it 2537N/A# Create a file with the package names in it 2537N/A############################################################# 2537N/A# Set relative location to core api document root 2537N/A# Run javadoc if the index file is out of date or missing 2537N/A# Create file with javadoc options in it 2537N/A# Create a file with the package names in it 2537N/A############################################################# 2537N/A# Set relative location to core api document root 2537N/A# Run javadoc if the index file is out of date or missing 2537N/A# Create file with javadoc options in it 2537N/A# Create a file with the package names in it 2537N/A############################################################# 2537N/A# Set relative location to core api document root 2537N/A# Run javadoc if the index file is out of date or missing 2537N/A# Create file with javadoc options in it 2537N/A# Create a file with the package names in it 2537N/A############################################################# 2537N/A# Set relative location to core api document root 2537N/A# Run javadoc if the index file is out of date or missing 2537N/A# Create file with javadoc options in it 2537N/A# Create a file with the package names in it 2537N/A############################################################# 2537N/A# Set relative location to core api document root 2537N/A# Run javadoc if the index file is out of date or missing 2537N/A# Create file with javadoc options in it 2537N/A# Create a file with the package names in it 2537N/A############################################################# 2537N/A# Set relative location to core api document root 2537N/A# Run javadoc if the index file is out of date or missing 2537N/A# Create file with javadoc options in it 2537N/A# Create a file with the package names in it 2537N/A############################################################# 2537N/A# Set relative location to core api document root 2537N/A# Run javadoc if the index file is out of date or missing 2537N/A# Create file with javadoc options in it 2537N/A# Create a file with the package names in it 2537N/A############################################################# 2537N/A# Set relative location to core api document root 2537N/A# Run javadoc if the index file is out of date or missing 2537N/A# Create file with javadoc options in it 2537N/A# Create a file with the package names in it 2537N/A############################################################# 2537N/A# Get a cache of all the directories 2537N/A############################################################# 2537N/A#release version of core packages ######## 2537N/A# Maximize performance and ensure that build number & milestone are set. 2537N/A############################################################# 0N/A# List the values defined in the makefile hierarchy, to make sure everything 0N/A# is set properly, and to help identify values we can use instead of making new ones. 0N/A# * BUILD_NUMBER defaults to b00 if not set on command line with BUILD_NUMBER=<value> 0N/A# * MILESTONE defaults to internal unless set to beta, rc, or fcs on command line 2537N/A#############################################################