summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/swr/Makefile.am
diff options
context:
space:
mode:
authorTim Rowley <[email protected]>2016-04-26 11:22:24 -0500
committerTim Rowley <[email protected]>2016-04-26 16:45:26 -0500
commit18d1658633d5ca5147e0b1a2cd22ea7ffa1b5093 (patch)
tree692bf56e9e34f074693f5dc71f28b53ad370851a /src/gallium/drivers/swr/Makefile.am
parent12cf08fcc3e3229ce8b4f8f9b3230388b16a7e62 (diff)
swr: autogenerate swr_context_llvm.h
Reviewed-by: Bruce Cherniak <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr/Makefile.am')
-rw-r--r--src/gallium/drivers/swr/Makefile.am7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/drivers/swr/Makefile.am b/src/gallium/drivers/swr/Makefile.am
index b1ff4233b56..6915aae356c 100644
--- a/src/gallium/drivers/swr/Makefile.am
+++ b/src/gallium/drivers/swr/Makefile.am
@@ -47,6 +47,7 @@ COMMON_SOURCES = \
$(BUILT_SOURCES)
BUILT_SOURCES = \
+ swr_context_llvm.h \
rasterizer/scripts/gen_knobs.cpp \
rasterizer/scripts/gen_knobs.h \
rasterizer/jitter/state_llvm.h \
@@ -55,6 +56,12 @@ BUILT_SOURCES = \
rasterizer/jitter/builder_x86.h \
rasterizer/jitter/builder_x86.cpp
+swr_context_llvm.h: rasterizer/jitter/scripts/gen_llvm_types.py swr_context.h
+ $(PYTHON2) $(PYTHON_FLAGS) \
+ $(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
$(PYTHON2) $(PYTHON_FLAGS) \
$(srcdir)/rasterizer/scripts/gen_knobs.py \