Makefile revision 1003
# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # This code is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License version 2 only, as # published by the Free Software Foundation. Oracle designates this # particular file as subject to the "Classpath" exception as provided # by Oracle in the LICENSE file that accompanied this code. # This code is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License # version 2 for more details (a copy is included in the LICENSE file that # accompanied this code). # You should have received a copy of the GNU General Public License version # 2 along with this work; if not, write to the Free Software Foundation, # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA # or visit www.oracle.com if you need additional information or have any # Makefile for langtools: wrapper around Ant build.xml file # On Solaris, the standard 'make' utility will not work with these makefiles. # This little rule is only understood by Solaris make, and is harmless # when seen by the GNU make tool. If using Solaris make, this causes the # Need FullPath because we can't rely on gnumake abspath, until we use v3.81 # Where is unwanted output to be delivered? # On Windows, MKS uses the special file "NUL", cygwin uses the customary unix file. # and the somewhat misnamed CLASS_VERSION (-target NN) # To facilitate bootstrapping, much of langtools can be compiled with (just) # a boot JDK. However, some source files need to be compiled against # new JDK API. In a bootstrap build, an import JDK may not be available, # so build.xml can also build against the source files in a jdk repo, # in which case it will automatically generate stub files for the new JDK API. #ABS_OUTPUTDIR = $(abspath $(OUTPUTDIR)) # Default target and expected 'do everything' target # Standard make clobber target # All ant targets of interest # Create diagnostics log (careful, ant 1.8.0 -diagnostics always does an exit 1) # Create a make target for each #------------------------------------------------------------------- # Targets for Oracle's internal JPRT build system #------------------------------------------------------------------- # Declare these phony (not filenames)