summaryrefslogtreecommitdiffstats
path: root/src/mapi
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-05-24 15:56:27 -0700
committerEric Anholt <[email protected]>2012-05-29 12:39:37 -0700
commit79273b1a7a14f1302c8962acbf323075d7b7a829 (patch)
tree842e1db782ddd69d2809b1f7754a3bdede1e1f2c /src/mapi
parent559d5924483b8872cdd7c8123666d1762662c6c7 (diff)
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 <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mapi')
-rw-r--r--src/mapi/glapi/gen/glapi_gen.mk6
1 files changed, 3 insertions, 3 deletions
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