From: Eric Anholt Date: Thu, 24 May 2012 22:56:27 +0000 (-0700) Subject: glapi: Enable silent rules for generation when used from automake. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=79273b1a7a14f1302c8962acbf323075d7b7a829;p=mesa.git glapi: Enable silent rules for generation when used from automake. This variable won't be set when called from non-automake makefiles, but it cleans up shared-glapi's output. Reviewed-by: Matt Turner Reviewed-by: Kenneth Graunke --- diff --git a/src/mapi/glapi/gen/glapi_gen.mk b/src/mapi/glapi/gen/glapi_gen.mk index c7fa7c0153d..1b05a405b93 100644 --- a/src/mapi/glapi/gen/glapi_gen.mk +++ b/src/mapi/glapi/gen/glapi_gen.mk @@ -17,7 +17,7 @@ glapi_gen_mapi_deps := \ # $(2): name of the printer define glapi_gen_mapi @mkdir -p $(dir $@) -$(PYTHON2) $(PYTHON_FLAGS) $(glapi_gen_mapi_script) \ +$(AM_V_GEN)$(PYTHON2) $(PYTHON_FLAGS) $(glapi_gen_mapi_script) \ --mode lib --printer $(2) $(1) > $@ endef @@ -28,7 +28,7 @@ glapi_gen_dispatch_deps := $(glapi_gen_common_deps) # $(2): empty, es1, or es2 for entry point filtering define glapi_gen_dispatch @mkdir -p $(dir $@) -$(PYTHON2) $(PYTHON_FLAGS) $(glapi_gen_dispatch_script) \ +$(AM_V_GEN)$(PYTHON2) $(PYTHON_FLAGS) $(glapi_gen_dispatch_script) \ -f $(1) -m remap_table $(if $(2),-c $(2),) > $@ endef @@ -39,6 +39,6 @@ glapi_gen_remap_deps := $(glapi_gen_common_deps) # $(2): empty, es1, or es2 for entry point filtering define glapi_gen_remap @mkdir -p $(dir $@) -$(PYTHON2) $(PYTHON_FLAGS) $(glapi_gen_remap_script) \ +$(AM_V_GEN)$(PYTHON2) $(PYTHON_FLAGS) $(glapi_gen_remap_script) \ -f $(1) $(if $(2),-c $(2),) > $@ endef