Makefile revision 2073
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
37fef4ce36912bd528fe400406d24f115de1422eAutomatic Updater# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# This code is free software; you can redistribute it and/or modify it
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# under the terms of the GNU General Public License version 2 only, as
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# published by the Free Software Foundation.
37fef4ce36912bd528fe400406d24f115de1422eAutomatic Updater# This code is distributed in the hope that it will be useful, but WITHOUT
37fef4ce36912bd528fe400406d24f115de1422eAutomatic Updater# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# version 2 for more details (a copy is included in the LICENSE file that
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# accompanied this code).
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# You should have received a copy of the GNU General Public License version
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# 2 along with this work; if not, write to the Free Software Foundation,
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# or visit www.oracle.com if you need additional information or have any
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# This makefile creates a build tree and lights off a build.
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# You can go back into the build tree and perform rebuilds or
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# incremental builds as desired. Be sure to reestablish
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# environment variable settings for LD_LIBRARY_PATH and JAVA_HOME.
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# The make process now relies on java and javac. These can be
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# specified either implicitly on the PATH, by setting the
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# (JDK-inherited) ALT_BOOTDIR environment variable to full path to a
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# JDK in which bin/java and bin/javac are present and working (e.g.,
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# /usr/local/java/jdk1.3/solaris), or via the (JDK-inherited)
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# default BOOTDIR path value. Note that one of ALT_BOOTDIR
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# or BOOTDIR has to be set. We do *not* search javac, javah, rmic etc.
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# from the PATH.
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# One can set ALT_BOOTDIR or BOOTDIR to point to a jdk that runs on
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# an architecture that differs from the target architecture, as long
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# as the bootstrap jdk runs under the same flavor of OS as the target
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# (i.e., if the target is linux, point to a jdk that runs on a linux
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# box). In order to use such a bootstrap jdk, set the make variable
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# REMOTE to the desired remote command mechanism, e.g.,
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# make REMOTE="rsh -l me myotherlinuxbox"
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# Along with VM, Serviceability Agent (SA) is built for SA/JDI binding.
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# JDI binding on SA produces two binaries:
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# 1. sa-jdi.jar - This is build before building libjvm[_g].so
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# Please refer to ./makefiles/sa.make
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# 2. libsa[_g].so - Native library for SA - This is built after
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# libjsig[_g].so (signal interposition library)
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# Please refer to ./makefiles/vm.make
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# If $(GAMMADIR)/agent dir is not present, SA components are not built.
ef421f66f47224a42073deaf087378c5d0c9952eEvan Huntinclude $(GAMMADIR)/make/$(OSNAME)/makefiles/rules.make
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt $(OSNAME) $(ARCH) "*** ERROR: this platform does not support 64-bit compilers!")
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# we need to set up LP64 correctly to satisfy sanity checks in adlc
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# pass USE_SUNCC further, through MFLAGS
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# The following renders pathnames in generated Makefiles valid on
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# machines other than the machine containing the build tree.
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# For example, let's say my build tree lives on /files12 on
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# exact.east.sun.com. This logic will cause GAMMADIR to begin with
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# We only do this on SunOS variants, for a couple of reasons:
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# * It is extremely rare that source trees exist on other systems
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# * It has been claimed that the Linux automounter is flakey, so
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# changing GAMMADIR in a way that exercises the automounter could
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# prove to be a source of unreliability in the build process.
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# Obviously, this Makefile is only relevant on SunOS boxes to begin
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# with, but the SunOS conditionalization will make it easier to
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# combine Makefiles in the future (assuming we ever do that).
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt # prepend current directory to relative pathnames.
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt # If NEW_GAMMADIR doesn't already start with "/net/":
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt # prepend /net/$(HOST)
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt # remove /net/$(HOST) if name already began with /home/
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt # remove /net/$(HOST) if name already began with /java/
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt # remove /net/$(HOST) if name already began with /lab/
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt # Don't use the new value for GAMMADIR unless a file with the new
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt # name actually exists.
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# BUILDARCH is set to "zero" for Zero builds. VARIANTARCH
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# is used to give the build directories meaningful names.
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# There is a (semi-) regular correspondence between make targets and actions:
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# Target Tree Type Build Dir
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# debug compiler2 <os>_<arch>_compiler2/debug
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# fastdebug compiler2 <os>_<arch>_compiler2/fastdebug
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# jvmg compiler2 <os>_<arch>_compiler2/jvmg
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# optimized compiler2 <os>_<arch>_compiler2/optimized
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# profiled compiler2 <os>_<arch>_compiler2/profiled
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# product compiler2 <os>_<arch>_compiler2/product
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# debug1 compiler1 <os>_<arch>_compiler1/debug
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# fastdebug1 compiler1 <os>_<arch>_compiler1/fastdebug
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# jvmg1 compiler1 <os>_<arch>_compiler1/jvmg
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# optimized1 compiler1 <os>_<arch>_compiler1/optimized
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# profiled1 compiler1 <os>_<arch>_compiler1/profiled
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# product1 compiler1 <os>_<arch>_compiler1/product
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# debugcore core <os>_<arch>_core/debug
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# fastdebugcore core <os>_<arch>_core/fastdebug
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# jvmgcore core <os>_<arch>_core/jvmg
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# optimizedcore core <os>_<arch>_core/optimized
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# profiledcore core <os>_<arch>_core/profiled
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# productcore core <os>_<arch>_core/product
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# debugzero zero <os>_<arch>_zero/debug
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# fastdebugzero zero <os>_<arch>_zero/fastdebug
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# jvmgzero zero <os>_<arch>_zero/jvmg
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# optimizedzero zero <os>_<arch>_zero/optimized
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# profiledzero zero <os>_<arch>_zero/profiled
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# productzero zero <os>_<arch>_zero/product
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# debugshark shark <os>_<arch>_shark/debug
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# fastdebugshark shark <os>_<arch>_shark/fastdebug
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# jvmgshark shark <os>_<arch>_shark/jvmg
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# optimizedshark shark <os>_<arch>_shark/optimized
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# profiledshark shark <os>_<arch>_shark/profiled
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# productshark shark <os>_<arch>_shark/product
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# What you get with each target:
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# debug* - "thin" libjvm_g - debug info linked into the gamma_g launcher
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# fastdebug* - optimized compile, but with asserts enabled
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# jvmg* - "fat" libjvm_g - debug info linked into libjvm_g.so
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# optimized* - optimized compile, no asserts
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# profiled* - gprof
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# product* - the shippable thing: optimized compile, no asserts, -DPRODUCT
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# This target list needs to be coordinated with the usage message
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# in the build.sh script:
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntTARGETS = debug jvmg fastdebug optimized profiled product
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntSUBDIRS_C1 = $(addprefix $(OSNAME)_$(BUILDARCH)_compiler1/,$(TARGETS))
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntSUBDIRS_C2 = $(addprefix $(OSNAME)_$(BUILDARCH)_compiler2/,$(TARGETS))
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntSUBDIRS_TIERED = $(addprefix $(OSNAME)_$(BUILDARCH)_tiered/,$(TARGETS))
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntSUBDIRS_CORE = $(addprefix $(OSNAME)_$(BUILDARCH)_core/,$(TARGETS))
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntSUBDIRS_ZERO = $(addprefix $(OSNAME)_$(VARIANTARCH)_zero/,$(TARGETS))
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntSUBDIRS_SHARK = $(addprefix $(OSNAME)_$(VARIANTARCH)_shark/,$(TARGETS))
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntBUILDTREE_MAKE = $(GAMMADIR)/make/$(OSNAME)/makefiles/buildtree.make
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntBUILDTREE_VARS = GAMMADIR=$(GAMMADIR) OS_FAMILY=$(OSNAME) SRCARCH=$(SRCARCH) BUILDARCH=$(BUILDARCH) LIBARCH=$(LIBARCH)
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntBUILDTREE_VARS += HOTSPOT_RELEASE_VERSION=$(HOTSPOT_RELEASE_VERSION) HOTSPOT_BUILD_VERSION=$(HOTSPOT_BUILD_VERSION) JRE_RELEASE_VERSION=$(JRE_RELEASE_VERSION)
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntBUILDTREE = $(MAKE) -f $(BUILDTREE_MAKE) $(BUILDTREE_VARS)
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt#-------------------------------------------------------------------------------
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# Could make everything by default, but that would take a while.
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt @echo "Try '$(MAKE) <target> ...' where <target> is one or more of"
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# We do not want people accidentally building on old systems (e.g. Linux 2.2.x,
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# Solaris 2.5.1, 2.6).
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# Disable this check by setting DISABLE_HOTSPOT_OS_VERSION_CHECK=ok.
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntEMPTY_IF_NOT_SUPPORTED = $(filter $(SUPPORTED_OS_VERSION),$(OS_VERSION))
ef421f66f47224a42073deaf087378c5d0c9952eEvan Huntifeq ($(DISABLE_HOTSPOT_OS_VERSION_CHECK)$(EMPTY_IF_NOT_SUPPORTED),)
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt $(QUIETLY) >&2 echo "*** This OS is not supported:" `uname -a`; exit 1;
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# jvmti.make requires XSLT (J2SE 1.4.x or newer):
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntXSLT_CHECK = $(REMOTE) $(RUN.JAVAP) javax.xml.transform.TransformerFactory
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# If not found then fail fast.
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt echo "*** An XSLT processor (J2SE 1.4.x or newer) is required" \
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt $(BUILDTREE) VARIANT=zero VARIANTARCH=$(VARIANTARCH)
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt $(BUILDTREE) VARIANT=shark VARIANTARCH=$(VARIANTARCH)
ef421f66f47224a42073deaf087378c5d0c9952eEvan Huntplatform_zero: $(GAMMADIR)/make/$(OSNAME)/platform_zero.in
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt $(SED) 's/@ZERO_ARCHDEF@/$(ZERO_ARCHDEF)/g;s/@ZERO_LIBARCH@/$(ZERO_LIBARCH)/g;' < $< > $@
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# Define INSTALL=y at command line to automatically copy JVM into JAVA_HOME
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt cd $(OSNAME)_$(BUILDARCH)_compiler2/$@ && $(MAKE) $(MFLAGS)
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt cd $(OSNAME)_$(BUILDARCH)_compiler2/$@ && ./test_gamma
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt cd $(OSNAME)_$(BUILDARCH)_compiler2/$@ && $(MAKE) $(MFLAGS) install
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt cd $(OSNAME)_$(BUILDARCH)_tiered/$(patsubst %tiered,%,$@) && $(MAKE) $(MFLAGS)
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt cd $(OSNAME)_$(BUILDARCH)_tiered/$(patsubst %tiered,%,$@) && ./test_gamma
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt cd $(OSNAME)_$(BUILDARCH)_tiered/$(patsubst %tiered,%,$@) && $(MAKE) $(MFLAGS) install
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt cd $(OSNAME)_$(BUILDARCH)_compiler1/$(patsubst %1,%,$@) && $(MAKE) $(MFLAGS)
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt cd $(OSNAME)_$(BUILDARCH)_compiler1/$(patsubst %1,%,$@) && ./test_gamma
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt cd $(OSNAME)_$(BUILDARCH)_compiler1/$(patsubst %1,%,$@) && $(MAKE) $(MFLAGS) install
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt cd $(OSNAME)_$(BUILDARCH)_core/$(patsubst %core,%,$@) && $(MAKE) $(MFLAGS)
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt cd $(OSNAME)_$(BUILDARCH)_core/$(patsubst %core,%,$@) && ./test_gamma
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt cd $(OSNAME)_$(BUILDARCH)_core/$(patsubst %core,%,$@) && $(MAKE) $(MFLAGS) install
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt cd $(OSNAME)_$(VARIANTARCH)_zero/$(patsubst %zero,%,$@) && $(MAKE) $(MFLAGS)
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt cd $(OSNAME)_$(VARIANTARCH)_zero/$(patsubst %zero,%,$@) && ./test_gamma
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt cd $(OSNAME)_$(VARIANTARCH)_zero/$(patsubst %zero,%,$@) && $(MAKE) $(MFLAGS) install
37fef4ce36912bd528fe400406d24f115de1422eAutomatic Updater cd $(OSNAME)_$(VARIANTARCH)_shark/$(patsubst %shark,%,$@) && $(MAKE) $(MFLAGS)
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt cd $(OSNAME)_$(VARIANTARCH)_shark/$(patsubst %shark,%,$@) && ./test_gamma
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt cd $(OSNAME)_$(VARIANTARCH)_shark/$(patsubst %shark,%,$@) && $(MAKE) $(MFLAGS) install
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# Just build the tree, and nothing else:
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# Doc target. This is the same for all build options.
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# Hence create a docs directory beside ...$(ARCH)_[...]
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/makefiles/jvmti.make $(MFLAGS) $(BUILDTREE_VARS) JvmtiOutDir=$(SUBDIR_DOCS) jvmtidocs
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# Synonyms for win32-like targets.
ef421f66f47224a42073deaf087378c5d0c9952eEvan Huntclean_compiler1 clean_compiler2 clean_core clean_zero clean_shark:
ef421f66f47224a42073deaf087378c5d0c9952eEvan Huntclean: clean_compiler2 clean_compiler1 clean_core clean_zero clean_shark clean_docs
ef421f66f47224a42073deaf087378c5d0c9952eEvan Huntinclude $(GAMMADIR)/make/$(OSNAME)/makefiles/cscope.make
37fef4ce36912bd528fe400406d24f115de1422eAutomatic Updater#-------------------------------------------------------------------------------
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt.PHONY: $(TARGETS_C2) $(TARGETS_C1) $(TARGETS_CORE) $(TARGETS_ZERO) $(TARGETS_SHARK)
37fef4ce36912bd528fe400406d24f115de1422eAutomatic Updater.PHONY: all compiler1 compiler2 core zero shark