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