Makefile revision 187
1N/A# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. 1N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1N/A# This code is free software; you can redistribute it and/or modify it 1N/A# under the terms of the GNU General Public License version 2 only, as 1N/A# published by the Free Software Foundation. Oracle designates this 1N/A# particular file as subject to the "Classpath" exception as provided 1N/A# by Oracle in the LICENSE file that accompanied this code. 1N/A# This code is distributed in the hope that it will be useful, but WITHOUT 1N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 1N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 1N/A# version 2 for more details (a copy is included in the LICENSE file that 1N/A# accompanied this code). 1N/A# You should have received a copy of the GNU General Public License version 1N/A# 2 along with this work; if not, write to the Free Software Foundation, 1N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 1N/A# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 1N/A# On Solaris, the 'make' utility from Sun will not work with these makefiles. 1N/A# This little rule is only understood by Sun's make, and is harmless 1N/A# when seen by the GNU make tool. If using Sun's make, this causes the 1N/A# make command to fail. 1N/A# and the somewhat misnamed CLASS_VERSION (-target NN) 1N/A# If downloads are allowed 1N/A# Figure out the platform we are using 1N/A# Where is /java in case we need it 1N/A# Do we have the drops already downloaded? 1N/A# Check ALT_DROPS_DIR for a full path first, 1N/A# before trying to use the devtools path, 1N/A# Add in path to drops already downloaded 1N/A $(error "'ant' not found; please set ANT_HOME or put 'ant' on your PATH") 1N/A# Default target and expected 'do everything' target 1N/A# All ant targets of interest 1N/A# Create a make target for each 1N/A@
echo " $1";
echo " $2" 1N/A @
echo "----------------------------------------------------------" 1N/A @
echo "Help information for this Makefile:" 1N/A @
echo " Targets (see ant project information for descriptions):" 1N/A @
echo " Environment or command line variables (all optional):" 1N/A "JAVA_HOME to use when running ant") 1N/A "path to langtools repository dist directory") 1N/A "path to root of output") 1N/A "if SOURCE_LANGUAGE_VERSION not set uses this to set ant property javac.source") 1N/A "if TARGET_CLASS_VERSION not set uses this to set ant property javac.target") 1N/A "if set will pass -quiet to ant") 1N/A "JAVA_HOME to use when running ant") 1N/A "if set will pass -verbose to ant") 1N/A @
echo "----------------------------------------------------------" 1N/A @
echo "Ant project file help information:" 1N/A @
echo "----------------------------------------------------------" 1N/A# Targets for Sun's internal JPRT build system 1N/A# Declare these phony (not filenames)