Makefile revision 62
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync# Copyright 2007 Sun Microsystems, Inc. All Rights Reserved.
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync# This code is free software; you can redistribute it and/or modify it
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync# under the terms of the GNU General Public License version 2 only, as
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync# published by the Free Software Foundation. Sun designates this
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync# particular file as subject to the "Classpath" exception as provided
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync# by Sun in the LICENSE file that accompanied this code.
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync# This code is distributed in the hope that it will be useful, but WITHOUT
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync# version 2 for more details (a copy is included in the LICENSE file that
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync# accompanied this code).
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync# You should have received a copy of the GNU General Public License version
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync# 2 along with this work; if not, write to the Free Software Foundation,
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync# CA 95054 USA or visit www.sun.com if you need additional information or
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync# have any questions.
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync# Makefile for jaxws: wrapper around Ant build.xml file
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync# On Solaris, the 'make' utility from Sun will not work with these makefiles.
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync# This little rule is only understood by Sun's make, and is harmless
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync# when seen by the GNU make tool. If using Sun's make, this causes the
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync# make command to fail.
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncSUN_MAKE_TEST:sh = @echo "ERROR: PLEASE USE GNU VERSION OF MAKE"; exit 33
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync ANT_OPTIONS += -Dfull.version='$(FULL_VERSION)' # will contain spaces
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync# Note: jdk/make/common/Defs.gmk uses LANGUAGE_VERSION (-source NN)
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync# and the somewhat misnamed CLASS_VERSION (-target NN)
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync ANT_OPTIONS += -Djavac.target=$(TARGET_CLASS_VERSION)
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync ANT_OPTIONS += -Djavac.source=$(SOURCE_LANGUAGE_VERSION)
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync ANT_OPTIONS += -Dbootstrap.dir=$(ALT_LANGTOOLS_DIST)/bootstrap
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync $(error "$(ANT) not found; please update ANT_HOME")
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync ifneq ($(shell which $(ANT) > /dev/null; echo $$?), 0)
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync $(error "\"ant\" not found; please set ANT_HOME or put \"ant\" on your PATH")
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync# Default target and expected 'do everything' target
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync# Standard make clobber target
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync# All ant targets of interest
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync# Create a make target for each
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync# Targets for Sun's internal JPRT build system
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsyncjprt_build_product jprt_build_debug jprt_build_fastdebug: all
74fe172698ba936102e120dae998c9ebd09cfbdfvboxsync# Declare these phony (not filenames)