# HG changeset patch # User Doug Simon # Date 1366147083 -7200 # Node ID 1d584a42941f8873dd7e16318d075cd7ae4ee86c # Parent f0fc8329bf98308a7922b7186600543d4b542105 added BUILD_GRAAL_JAR build variable to Makefile to control whether or not graal.jar is built by make diff -r f0fc8329bf98 -r 1d584a42941f make/Makefile --- 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)