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