summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/swr/Makefile.am
diff options
context:
space:
mode:
authorTim Rowley <[email protected]>2017-03-15 13:37:50 -0500
committerTim Rowley <[email protected]>2017-03-20 18:05:54 -0500
commit8a5069e81f91d8ee4dad35f303782e6ce0b27391 (patch)
tree6410f7a0f56cee18e54f5db04a4133a344ec0b1d /src/gallium/drivers/swr/Makefile.am
parent5d0b3b05a28b2e236d3d8aa7b6335b0be4f02eda (diff)
swr: [rasterizer codegen] Rewrite gen_llvm_types.py to use mako
Reviewed-by: Bruce Cherniak <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr/Makefile.am')
-rw-r--r--src/gallium/drivers/swr/Makefile.am9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/gallium/drivers/swr/Makefile.am b/src/gallium/drivers/swr/Makefile.am
index 771f1a82439..99a7df5f6c4 100644
--- a/src/gallium/drivers/swr/Makefile.am
+++ b/src/gallium/drivers/swr/Makefile.am
@@ -65,11 +65,11 @@ BUILT_SOURCES = \
MKDIR_GEN = $(AM_V_at)$(MKDIR_P) $(@D)
PYTHON_GEN = $(AM_V_GEN)$(PYTHON2) $(PYTHON_FLAGS)
-swr_context_llvm.h: rasterizer/codegen/gen_llvm_types.py swr_context.h
+swr_context_llvm.h: rasterizer/codegen/gen_llvm_types.py rasterizer/codegen/templates/gen_llvm.hpp swr_context.h
$(PYTHON_GEN) \
$(srcdir)/rasterizer/codegen/gen_llvm_types.py \
--input $(srcdir)/swr_context.h \
- --output swr_context_llvm.h
+ --output ./swr_context_llvm.h
rasterizer/codegen/gen_knobs.cpp: rasterizer/codegen/gen_knobs.py rasterizer/codegen/knob_defs.py rasterizer/codegen/templates/knobs_template.cpp
$(MKDIR_GEN)
@@ -87,7 +87,7 @@ rasterizer/codegen/gen_knobs.h: rasterizer/codegen/gen_knobs.py rasterizer/codeg
--output rasterizer/codegen/gen_knobs.h \
--gen_h
-rasterizer/jitter/state_llvm.h: rasterizer/codegen/gen_llvm_types.py rasterizer/core/state.h
+rasterizer/jitter/state_llvm.h: rasterizer/codegen/gen_llvm_types.py rasterizer/codegen/templates/gen_llvm.hpp rasterizer/core/state.h
$(MKDIR_GEN)
$(PYTHON_GEN) \
$(srcdir)/rasterizer/codegen/gen_llvm_types.py \
@@ -264,4 +264,5 @@ EXTRA_DIST = \
rasterizer/codegen/templates/ar_eventhandler_h.template \
rasterizer/codegen/templates/ar_eventhandlerfile_h.template \
rasterizer/codegen/templates/backend_template.cpp \
- rasterizer/codegen/templates/gen_builder_template.hpp
+ rasterizer/codegen/templates/gen_builder_template.hpp \
+ rasterizer/codegen/templates/gen_llvm.hpp