Makefile revision 325
293N/A# Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved. 293N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 293N/A# This code is free software; you can redistribute it and/or modify it 293N/A# under the terms of the GNU General Public License version 2 only, as 293N/A# published by the Free Software Foundation. Oracle designates this 293N/A# particular file as subject to the "Classpath" exception as provided 293N/A# by Oracle in the LICENSE file that accompanied this code. 293N/A# This code is distributed in the hope that it will be useful, but WITHOUT 293N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 293N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 293N/A# version 2 for more details (a copy is included in the LICENSE file that 293N/A# accompanied this code). 293N/A# You should have received a copy of the GNU General Public License version 293N/A# 2 along with this work; if not, write to the Free Software Foundation, 293N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 293N/A# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 293N/A# On Solaris, the 'make' utility from Sun will not work with these makefiles. 293N/A# This little rule is only understood by Sun's make, and is harmless 1116N/A# when seen by the GNU make tool. If using Sun's make, this causes the 293N/A# and the somewhat misnamed CLASS_VERSION (-target NN) 293N/A# If downloads are allowed 293N/A# Figure out the platform we are using # Where is /java in case we need it $(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 # Just for compat reasons, delete in future. # 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)