summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmil Velikov <emil.velikov@collabora.com>2016-05-27 15:35:45 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2016-05-30 10:31:08 +0100
commite7bd5b4b77ec521c3e00ffeb276904d2da1e7078 (patch)
tree019a8dca90d7c5491021ac2eab8cc11618b05419
parent04987ef229f9f45f4452c95e894fcff980f84776 (diff)
swr: automake: silence the python invocation
Cc: Tim Rowley <timothy.o.rowley@intel.com> Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
-rw-r--r--src/gallium/drivers/swr/Makefile.am15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/gallium/drivers/swr/Makefile.am b/src/gallium/drivers/swr/Makefile.am
index 90dd0408cc..d211f2e58c 100644
--- a/src/gallium/drivers/swr/Makefile.am
+++ b/src/gallium/drivers/swr/Makefile.am
@@ -57,28 +57,29 @@ BUILT_SOURCES = \
rasterizer/jitter/builder_x86.cpp
MKDIR_GEN = $(AM_V_at)$(MKDIR_P) $(@D)
+PYTHON_GEN = $(AM_V_GEN)$(PYTHON2) $(PYTHON_FLAGS)
swr_context_llvm.h: rasterizer/jitter/scripts/gen_llvm_types.py swr_context.h
- $(PYTHON2) $(PYTHON_FLAGS) \
+ $(PYTHON_GEN) \
$(srcdir)/rasterizer/jitter/scripts/gen_llvm_types.py \
--input $(srcdir)/swr_context.h \
--output swr_context_llvm.h
rasterizer/scripts/gen_knobs.cpp rasterizer/scripts/gen_knobs.h: rasterizer/scripts/gen_knobs.py rasterizer/scripts/knob_defs.py rasterizer/scripts/templates/knobs.template
$(MKDIR_GEN)
- $(PYTHON2) $(PYTHON_FLAGS) \
+ $(PYTHON_GEN) \
$(srcdir)/rasterizer/scripts/gen_knobs.py \
rasterizer/scripts
rasterizer/jitter/state_llvm.h: rasterizer/jitter/scripts/gen_llvm_types.py rasterizer/core/state.h
$(MKDIR_GEN)
- $(PYTHON2) $(PYTHON_FLAGS) \
+ $(PYTHON_GEN) \
$(srcdir)/rasterizer/jitter/scripts/gen_llvm_types.py \
--input $(srcdir)/rasterizer/core/state.h \
--output rasterizer/jitter/state_llvm.h
rasterizer/jitter/builder_gen.h: rasterizer/jitter/scripts/gen_llvm_ir_macros.py
$(MKDIR_GEN)
- $(PYTHON2) $(PYTHON_FLAGS) \
+ $(PYTHON_GEN) \
$(srcdir)/rasterizer/jitter/scripts/gen_llvm_ir_macros.py \
--input $(LLVM_INCLUDEDIR)/llvm/IR/IRBuilder.h \
--output rasterizer/jitter/builder_gen.h \
@@ -86,7 +87,7 @@ rasterizer/jitter/builder_gen.h: rasterizer/jitter/scripts/gen_llvm_ir_macros.py
rasterizer/jitter/builder_gen.cpp: rasterizer/jitter/scripts/gen_llvm_ir_macros.py
$(MKDIR_GEN)
- $(PYTHON2) $(PYTHON_FLAGS) \
+ $(PYTHON_GEN) \
$(srcdir)/rasterizer/jitter/scripts/gen_llvm_ir_macros.py \
--input $(LLVM_INCLUDEDIR)/llvm/IR/IRBuilder.h \
--output rasterizer/jitter/builder_gen.cpp \
@@ -94,14 +95,14 @@ rasterizer/jitter/builder_gen.cpp: rasterizer/jitter/scripts/gen_llvm_ir_macros.
rasterizer/jitter/builder_x86.h: rasterizer/jitter/scripts/gen_llvm_ir_macros.py
$(MKDIR_GEN)
- $(PYTHON2) $(PYTHON_FLAGS) \
+ $(PYTHON_GEN) \
$(srcdir)/rasterizer/jitter/scripts/gen_llvm_ir_macros.py \
--output rasterizer/jitter/builder_x86.h \
--gen_x86_h
rasterizer/jitter/builder_x86.cpp: rasterizer/jitter/scripts/gen_llvm_ir_macros.py
$(MKDIR_GEN)
- $(PYTHON2) $(PYTHON_FLAGS) \
+ $(PYTHON_GEN) \
$(srcdir)/rasterizer/jitter/scripts/gen_llvm_ir_macros.py \
--output rasterizer/jitter/builder_x86.cpp \
--gen_x86_cpp