Makefile revision 810
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# This code is free software; you can redistribute it and/or modify it
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# under the terms of the GNU General Public License version 2 only, as
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# published by the Free Software Foundation. Oracle designates this
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# particular file as subject to the "Classpath" exception as provided
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# by Oracle in the LICENSE file that accompanied this code.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# This code is distributed in the hope that it will be useful, but WITHOUT
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# version 2 for more details (a copy is included in the LICENSE file that
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# accompanied this code).
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# You should have received a copy of the GNU General Public License version
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# 2 along with this work; if not, write to the Free Software Foundation,
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# or visit www.oracle.com if you need additional information or have any
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Makefile for langtools: wrapper around Ant build.xml file
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# On Solaris, the standard 'make' utility will not work with these makefiles.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# This little rule is only understood by Solaris make, and is harmless
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# when seen by the GNU make tool. If using Solaris make, this causes the
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# make command to fail.
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterSUN_MAKE_TEST:sh = @echo "ERROR: PLEASE USE GNU VERSION OF MAKE"; exit 33
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Minimal platform defs
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Need FullPath because we can't rely on gnumake abspath, until we use v3.81
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Where is unwanted output to be delivered?
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# On Windows, MKS uses the special file "NUL", cygwin uses the customary unix file.
USING_CYGWIN = true
# so build.xml can also build against the source files in a jdk repo,
OUTPUTDIR = ..
@$(RM) $@
CD = cd