Makefile revision 1612
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater# Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
c78c39caab4cf8b5daefc9c65878f7f5ed3eb7a0Tinderbox User# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
ab496cc3df1648e9ad992a87c35c2c0870fdc69dTinderbox User# This code is free software; you can redistribute it and/or modify it
7c1468ed500356839a4a222517364e6ce18cb1a2Tinderbox User# under the terms of the GNU General Public License version 2 only, as
c57668a2fbbe558c1bd21652813616f2f517c469Tinderbox User# published by the Free Software Foundation.
287a6a8f9040dc43560cd69cddf83bfc0f53b76fTinderbox User# This code is distributed in the hope that it will be useful, but WITHOUT
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
8de3f14f1c300c3e1ed99084cc03485b42c92bf1Tinderbox User# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
950d203b64f512b85fcc093ee1e9e3e531a1aea3Tinderbox User# version 2 for more details (a copy is included in the LICENSE file that
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User# accompanied this code).
3759f10fc543747668b1ca4b4671f35b0dea8445Francis Dupont# You should have received a copy of the GNU General Public License version
e676a596869d8a80a644c99a848afb53d1c5975eMark Andrews# 2 along with this work; if not, write to the Free Software Foundation,
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
d5637bdbb931ff79fced3d4858d83212ea58ed15Tinderbox User# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# or visit www.oracle.com if you need additional information or have any
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User# This makefile creates a build tree and lights off a build.
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# You can go back into the build tree and perform rebuilds or
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User# incremental builds as desired. Be sure to reestablish
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# environment variable settings for LD_LIBRARY_PATH and JAVA_HOME.
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# The make process now relies on java and javac. These can be
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User# specified either implicitly on the PATH, by setting the
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews# (JDK-inherited) ALT_BOOTDIR environment variable to full path to a
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# JDK in which bin/java and bin/javac are present and working (e.g.,
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User# /usr/local/java/jdk1.3/solaris), or via the (JDK-inherited)
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# default BOOTDIR path value. Note that one of ALT_BOOTDIR
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User# or BOOTDIR has to be set. We do *not* search javac, javah, rmic etc.
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# from the PATH.
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# One can set ALT_BOOTDIR or BOOTDIR to point to a jdk that runs on
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User# an architecture that differs from the target architecture, as long
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# as the bootstrap jdk runs under the same flavor of OS as the target
015055b6e23f5c08f6a5b34726f90b62597e9e45Tinderbox User# (i.e., if the target is linux, point to a jdk that runs on a linux
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews# box). In order to use such a bootstrap jdk, set the make variable
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt# REMOTE to the desired remote command mechanism, e.g.,
0e573cdd111e060e5f6c18249b5ccacbe8abe278Tinderbox User# make REMOTE="rsh -l me myotherlinuxbox"
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# Along with VM, Serviceability Agent (SA) is built for SA/JDI binding.
3759f10fc543747668b1ca4b4671f35b0dea8445Francis Dupont# JDI binding on SA produces two binaries:
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# 1. sa-jdi.jar - This is build before building libjvm[_g].so
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt# Please refer to ./makefiles/sa.make
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User# 2. libsa[_g].so - Native library for SA - This is built after
0e573cdd111e060e5f6c18249b5ccacbe8abe278Tinderbox User# libjsig[_g].so (signal interposition library)
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt# Please refer to ./makefiles/vm.make
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User# If $(GAMMADIR)/agent dir is not present, SA components are not built.
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrewsinclude $(GAMMADIR)/make/$(OSNAME)/makefiles/rules.make
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews ifeq ("$(filter $(LP64_ARCH),$(BUILDARCH))","")
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews $(OSNAME) $(ARCH) "*** ERROR: this platform does not support 64-bit compilers!")
2ae159b376dac23870d8005563c585acf85a4b5aEvan Hunt# we need to set up LP64 correctly to satisfy sanity checks in adlc
2ae159b376dac23870d8005563c585acf85a4b5aEvan Hunt# pass USE_SUNCC further, through MFLAGS
2ae159b376dac23870d8005563c585acf85a4b5aEvan Hunt# The following renders pathnames in generated Makefiles valid on
7cc0a5d21ef046bfd630c4769943d896a7d7472cTinderbox User# machines other than the machine containing the build tree.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# For example, let's say my build tree lives on /files12 on
ee11dfc481f2ef6a032a715454f6290961a722d2Tinderbox User# exact.east.sun.com. This logic will cause GAMMADIR to begin with
e40c4e4c17d4df338e2a7db0f84d8dbb3858964cTinderbox User# We only do this on SunOS variants, for a couple of reasons:
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# * It is extremely rare that source trees exist on other systems
e40c4e4c17d4df338e2a7db0f84d8dbb3858964cTinderbox User# * It has been claimed that the Linux automounter is flakey, so
0e573cdd111e060e5f6c18249b5ccacbe8abe278Tinderbox User# changing GAMMADIR in a way that exercises the automounter could
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# prove to be a source of unreliability in the build process.
e40c4e4c17d4df338e2a7db0f84d8dbb3858964cTinderbox User# Obviously, this Makefile is only relevant on SunOS boxes to begin
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# with, but the SunOS conditionalization will make it easier to
e40c4e4c17d4df338e2a7db0f84d8dbb3858964cTinderbox User# combine Makefiles in the future (assuming we ever do that).
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson # prepend current directory to relative pathnames.
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews # If NEW_GAMMADIR doesn't already start with "/net/":
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User ifeq ($(strip $(filter /net/%,$(NEW_GAMMADIR))),)
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews # prepend /net/$(HOST)
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User # remove /net/$(HOST) if name already began with /home/
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson # remove /net/$(HOST) if name already began with /java/
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User # remove /net/$(HOST) if name already began with /lab/
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User # Don't use the new value for GAMMADIR unless a file with the new
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews # name actually exists.
e40c4e4c17d4df338e2a7db0f84d8dbb3858964cTinderbox User# BUILDARCH is set to "zero" for Zero builds. VARIANTARCH
37d8e0a4455876fe1e4cca511076cc2c5ab9eedeTinderbox User# is used to give the build directories meaningful names.
fd972434c29fc1169d66594e4cc7697d33036c2bTinderbox UserVARIANTARCH = $(subst i386,i486,$(ZERO_LIBARCH))
e40c4e4c17d4df338e2a7db0f84d8dbb3858964cTinderbox User# There is a (semi-) regular correspondence between make targets and actions:
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# Target Tree Type Build Dir
e40c4e4c17d4df338e2a7db0f84d8dbb3858964cTinderbox User# debug compiler2 <os>_<arch>_compiler2/debug
5747235bf35e7398984fd6b4632743396895ea7aTinderbox User# fastdebug compiler2 <os>_<arch>_compiler2/fastdebug
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# jvmg compiler2 <os>_<arch>_compiler2/jvmg
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrews# optimized compiler2 <os>_<arch>_compiler2/optimized
a03cb08d0c4f1ca5fbc121d2f02bdffa7eb52286Mark Andrews# profiled compiler2 <os>_<arch>_compiler2/profiled
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews# product compiler2 <os>_<arch>_compiler2/product
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrews# debug1 compiler1 <os>_<arch>_compiler1/debug
e40c4e4c17d4df338e2a7db0f84d8dbb3858964cTinderbox User# fastdebug1 compiler1 <os>_<arch>_compiler1/fastdebug
5747235bf35e7398984fd6b4632743396895ea7aTinderbox User# jvmg1 compiler1 <os>_<arch>_compiler1/jvmg
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrews# optimized1 compiler1 <os>_<arch>_compiler1/optimized
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# profiled1 compiler1 <os>_<arch>_compiler1/profiled
e40c4e4c17d4df338e2a7db0f84d8dbb3858964cTinderbox User# product1 compiler1 <os>_<arch>_compiler1/product
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# debugcore core <os>_<arch>_core/debug
e20788e1216ed720aefa84f3295f7899d9f28c22Mark Andrews# fastdebugcore core <os>_<arch>_core/fastdebug
e40c4e4c17d4df338e2a7db0f84d8dbb3858964cTinderbox User# jvmgcore core <os>_<arch>_core/jvmg
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews# optimizedcore core <os>_<arch>_core/optimized
01a5c5503482fb3ba52088bf0178a7213273bf96Mark Andrews# profiledcore core <os>_<arch>_core/profiled
e40c4e4c17d4df338e2a7db0f84d8dbb3858964cTinderbox User# productcore core <os>_<arch>_core/product
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User# debugzero zero <os>_<arch>_zero/debug
cdfc81e048bd34c1d628380247bda6b80a89e20eAutomatic Updater# fastdebugzero zero <os>_<arch>_zero/fastdebug
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# jvmgzero zero <os>_<arch>_zero/jvmg
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User# optimizedzero zero <os>_<arch>_zero/optimized
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# profiledzero zero <os>_<arch>_zero/profiled
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User# productzero zero <os>_<arch>_zero/product
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User# debugshark shark <os>_<arch>_shark/debug
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# fastdebugshark shark <os>_<arch>_shark/fastdebug
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User# jvmgshark shark <os>_<arch>_shark/jvmg
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# optimizedshark shark <os>_<arch>_shark/optimized
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User# profiledshark shark <os>_<arch>_shark/profiled
fa0326cc2cf428f67575b6ba3b97b528a31b0010Tinderbox User# productshark shark <os>_<arch>_shark/product
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# What you get with each target:
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# debug* - "thin" libjvm_g - debug info linked into the gamma_g launcher
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User# fastdebug* - optimized compile, but with asserts enabled
fe80a4909bf62b602feaf246866e9d29f7654194Automatic Updater# jvmg* - "fat" libjvm_g - debug info linked into libjvm_g.so
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User# optimized* - optimized compile, no asserts
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# profiled* - gprof
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User# product* - the shippable thing: optimized compile, no asserts, -DPRODUCT
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User# This target list needs to be coordinated with the usage message
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson# in the build.sh script:
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox UserTARGETS = debug jvmg fastdebug optimized profiled product
0eb371ca0dab50ae3462e98794a6126198c52f4bMark AndrewsSUBDIRS_C1 = $(addprefix $(OSNAME)_$(BUILDARCH)_compiler1/,$(TARGETS))
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox UserSUBDIRS_C2 = $(addprefix $(OSNAME)_$(BUILDARCH)_compiler2/,$(TARGETS))
0eb371ca0dab50ae3462e98794a6126198c52f4bMark AndrewsSUBDIRS_TIERED = $(addprefix $(OSNAME)_$(BUILDARCH)_tiered/,$(TARGETS))
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox UserSUBDIRS_CORE = $(addprefix $(OSNAME)_$(BUILDARCH)_core/,$(TARGETS))
133e6d43fa82e80d3798be4de00f4540f485ec6cAutomatic UpdaterSUBDIRS_ZERO = $(addprefix $(OSNAME)_$(VARIANTARCH)_zero/,$(TARGETS))
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox UserSUBDIRS_SHARK = $(addprefix $(OSNAME)_$(VARIANTARCH)_shark/,$(TARGETS))
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox UserTARGETS_TIERED = $(addsuffix tiered,$(TARGETS))
91216cff91b34c9ff6e846dc23f248219cafe660Andreas GustafssonTARGETS_CORE = $(addsuffix core,$(TARGETS))
0eb371ca0dab50ae3462e98794a6126198c52f4bMark AndrewsBUILDTREE_MAKE = $(GAMMADIR)/make/$(OSNAME)/makefiles/buildtree.make
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox UserBUILDTREE_VARS = GAMMADIR=$(GAMMADIR) OS_FAMILY=$(OSNAME) ARCH=$(SRCARCH) BUILDARCH=$(BUILDARCH) LIBARCH=$(LIBARCH)
5f7586ddbd3edd11272cdd30ed613d936129328bTinderbox UserBUILDTREE_VARS += HOTSPOT_RELEASE_VERSION=$(HOTSPOT_RELEASE_VERSION) HOTSPOT_BUILD_VERSION=$(HOTSPOT_BUILD_VERSION) JRE_RELEASE_VERSION=$(JRE_RELEASE_VERSION)
0eb371ca0dab50ae3462e98794a6126198c52f4bMark AndrewsBUILDTREE = $(MAKE) -f $(BUILDTREE_MAKE) $(BUILDTREE_VARS)
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews#-------------------------------------------------------------------------------
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews# Could make everything by default, but that would take a while.
a7c412f37cc73d0332887a746e81220cbf09dd00Mark Andrews @echo "Try '$(MAKE) <target> ...' where <target> is one or more of"
8711e5c73ca872d59810760af0332194cbdd619bAutomatic Updater# We do not want people accidentally building on old systems (e.g. Linux 2.2.x,
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# Solaris 2.5.1, 2.6).
bac4435d473c9a0281507524f084480c34aa942aTinderbox User# Disable this check by setting DISABLE_HOTSPOT_OS_VERSION_CHECK=ok.
933799f3641f4f78445d015008bad0038900a82aTinderbox UserEMPTY_IF_NOT_SUPPORTED = $(filter $(SUPPORTED_OS_VERSION),$(OS_VERSION))
bc0a53583d92309bebcf93c408e2f3247ebd3d3cAutomatic Updaterifeq ($(DISABLE_HOTSPOT_OS_VERSION_CHECK)$(EMPTY_IF_NOT_SUPPORTED),)
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater $(QUIETLY) >&2 echo "*** This OS is not supported:" `uname -a`; exit 1;
b02be031b9ff37b042adc8e68e36b8bbc1f672b7Tinderbox User# jvmti.make requires XSLT (J2SE 1.4.x or newer):
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterXSLT_CHECK = $(REMOTE) $(RUN.JAVAP) javax.xml.transform.TransformerFactory
ba8b771c371967dd1254c7fa82ebe4158ee04b24Tinderbox User# If not found then fail fast.
933799f3641f4f78445d015008bad0038900a82aTinderbox User echo "*** An XSLT processor (J2SE 1.4.x or newer) is required" \
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks
c2abd6efeb9affa70aabb63da2acb23e135cf7f2Mark Andrews $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks
96ea71632887c58a9d00f47eb318bf76b35903c3Mark Andrews $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks
4cda4fd158d6ded5586bacea8c388445d99611eaAutomatic Updater $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews$(SUBDIRS_ZERO): $(BUILDTREE_MAKE) platform_zero
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks
bac4435d473c9a0281507524f084480c34aa942aTinderbox User $(BUILDTREE) VARIANT=zero VARIANTARCH=$(VARIANTARCH)
ba8b771c371967dd1254c7fa82ebe4158ee04b24Tinderbox User$(SUBDIRS_SHARK): $(BUILDTREE_MAKE) platform_zero
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater $(BUILDTREE) VARIANT=shark VARIANTARCH=$(VARIANTARCH)
933799f3641f4f78445d015008bad0038900a82aTinderbox Userplatform_zero: $(GAMMADIR)/make/$(OSNAME)/platform_zero.in
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater $(SED) 's/@ZERO_ARCHDEF@/$(ZERO_ARCHDEF)/g;s/@ZERO_LIBARCH@/$(ZERO_LIBARCH)/g;' < $< > $@
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews# Define INSTALL=y at command line to automatically copy JVM into JAVA_HOME
757ff043760e4743dda1a10e7d58349275934902Tinderbox User cd $(OSNAME)_$(BUILDARCH)_compiler2/$@ && $(MAKE) $(MFLAGS)
ae454ec746d1d4db8d04e107d4d25ff13158c37fMark Andrews cd $(OSNAME)_$(BUILDARCH)_compiler2/$@ && ./test_gamma
a03cb08d0c4f1ca5fbc121d2f02bdffa7eb52286Mark Andrews cd $(OSNAME)_$(BUILDARCH)_compiler2/$@ && $(MAKE) $(MFLAGS) install
1bcc3273a80c256f11d9098a00ba2c041939e233Mark Andrews cd $(OSNAME)_$(BUILDARCH)_tiered/$(patsubst %tiered,%,$@) && $(MAKE) $(MFLAGS)
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson cd $(OSNAME)_$(BUILDARCH)_tiered/$(patsubst %tiered,%,$@) && ./test_gamma
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews cd $(OSNAME)_$(BUILDARCH)_tiered/$(patsubst %tiered,%,$@) && $(MAKE) $(MFLAGS) install
bac4435d473c9a0281507524f084480c34aa942aTinderbox User cd $(OSNAME)_$(BUILDARCH)_compiler1/$(patsubst %1,%,$@) && $(MAKE) $(MFLAGS)
f520803b46dc189fdaf84adc87ef327d3587b435Mark Andrews cd $(OSNAME)_$(BUILDARCH)_compiler1/$(patsubst %1,%,$@) && ./test_gamma
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User cd $(OSNAME)_$(BUILDARCH)_compiler1/$(patsubst %1,%,$@) && $(MAKE) $(MFLAGS) install
e64202536ea72d8f371dd0df9fc763f8d70bf886Tinderbox User cd $(OSNAME)_$(BUILDARCH)_core/$(patsubst %core,%,$@) && $(MAKE) $(MFLAGS)
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews cd $(OSNAME)_$(BUILDARCH)_core/$(patsubst %core,%,$@) && ./test_gamma
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson cd $(OSNAME)_$(BUILDARCH)_core/$(patsubst %core,%,$@) && $(MAKE) $(MFLAGS) install
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews cd $(OSNAME)_$(VARIANTARCH)_zero/$(patsubst %zero,%,$@) && $(MAKE) $(MFLAGS)
015055b6e23f5c08f6a5b34726f90b62597e9e45Tinderbox User cd $(OSNAME)_$(VARIANTARCH)_zero/$(patsubst %zero,%,$@) && ./test_gamma
8292deab031e7599cd7622aa7675fbe139ca6095Mark Andrews cd $(OSNAME)_$(VARIANTARCH)_zero/$(patsubst %zero,%,$@) && $(MAKE) $(MFLAGS) install
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrews cd $(OSNAME)_$(VARIANTARCH)_shark/$(patsubst %shark,%,$@) && $(MAKE) $(MFLAGS)
3759f10fc543747668b1ca4b4671f35b0dea8445Francis Dupont cd $(OSNAME)_$(VARIANTARCH)_shark/$(patsubst %shark,%,$@) && ./test_gamma
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrews cd $(OSNAME)_$(VARIANTARCH)_shark/$(patsubst %shark,%,$@) && $(MAKE) $(MFLAGS) install
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews# Just build the tree, and nothing else:
3759f10fc543747668b1ca4b4671f35b0dea8445Francis Dupont# Doc target. This is the same for all build options.
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews# Hence create a docs directory beside ...$(ARCH)_[...]
e8fc8c884b44371784805e1e0d3100da403dd3f1Automatic Updater $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/makefiles/jvmti.make $(MFLAGS) $(BUILDTREE_VARS) JvmtiOutDir=$(SUBDIR_DOCS) jvmtidocs
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews# Synonyms for win32-like targets.
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrewsclean_compiler1 clean_compiler2 clean_core clean_zero clean_shark:
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews rm -rf $(OSNAME)_$(BUILDARCH)_$(subst clean_,,$@)
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrewsclean: clean_compiler2 clean_compiler1 clean_core clean_zero clean_shark clean_docs
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrewsinclude $(GAMMADIR)/make/$(OSNAME)/makefiles/cscope.make
b30ec46fec40a1b246f7965fbcd341fc6cfd1cc1Mark Andrews#-------------------------------------------------------------------------------
c5a97a549c89d562e999d4f906b882c5a2a474e1Tinderbox User.PHONY: $(TARGETS_C2) $(TARGETS_C1) $(TARGETS_CORE) $(TARGETS_ZERO) $(TARGETS_SHARK)
0e573cdd111e060e5f6c18249b5ccacbe8abe278Tinderbox User.PHONY: tree tree1 treecore treezero treeshark
95c3a5e116c1da135f669c3f15398172fac6279dMark Andrews.PHONY: clean clean_compiler1 clean_compiler2 clean_core clean_zero clean_shark docs clean_docs