changeset 9170:1d584a42941f

added BUILD_GRAAL_JAR build variable to Makefile to control whether or not graal.jar is built by make
author Doug Simon <doug.simon@oracle.com>
date Tue, 16 Apr 2013 23:18:03 +0200
parents f0fc8329bf98
children ff622b1b2c94
files make/Makefile
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/make/Makefile	Tue Apr 16 22:55:31 2013 +0200
+++ b/make/Makefile	Tue Apr 16 23:18:03 2013 +0200
@@ -86,6 +86,7 @@
 
 # Directory for shared code (e.g. graal.jar)
 SHARED_DIR=$(OUTPUTDIR)/shared
+BUILD_GRAAL_JAR ?= true
 
 # Typical C1/C2 targets made available with this Makefile
 C1_VM_TARGETS=product1 fastdebug1 optimized1 debug1
@@ -267,9 +268,12 @@
 		$(MAKE) -f $(ABS_OS_MAKEFILE) \
 			$(MAKE_ARGS) $(VM_TARGET) 
 
+
 # Builds code that can be shared among different build flavors
 buildshared:
+ifeq ($(BUILD_GRAAL_JAR),true)
 	$(REMOTE) $(ANT) -f $(GAMMADIR)/make/build-graal.xml -Dgamma.dir=$(GAMMADIR) -Dshared.dir=$(SHARED_DIR)
+endif
 
 # Export file rule
 generic_export: $(EXPORT_LIST)