summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/swr/Makefile.am
diff options
context:
space:
mode:
authorTim Rowley <[email protected]>2016-10-05 13:45:12 -0500
committerTim Rowley <[email protected]>2016-10-11 11:22:04 -0500
commit07326d4006245be761469a58e4dd41ef378f6c25 (patch)
tree184d6fa82cf3bcb1f7f3894b1b5dbed511d40326 /src/gallium/drivers/swr/Makefile.am
parente845eeb0be89e3dcc62ae43a03f71336c26c40ed (diff)
swr: [rasterizer archrast] add mako template
Add template for generating code to save events to a file. Signed-off-by: Tim Rowley <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr/Makefile.am')
-rw-r--r--src/gallium/drivers/swr/Makefile.am11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/gallium/drivers/swr/Makefile.am b/src/gallium/drivers/swr/Makefile.am
index 154f0ca8202..4299489af4a 100644
--- a/src/gallium/drivers/swr/Makefile.am
+++ b/src/gallium/drivers/swr/Makefile.am
@@ -60,7 +60,8 @@ BUILT_SOURCES = \
rasterizer/jitter/builder_x86.cpp \
rasterizer/archrast/gen_ar_event.h \
rasterizer/archrast/gen_ar_event.cpp \
- rasterizer/archrast/gen_ar_eventhandler.h
+ rasterizer/archrast/gen_ar_eventhandler.h \
+ rasterizer/archrast/gen_ar_eventhandlerfile.h
MKDIR_GEN = $(AM_V_at)$(MKDIR_P) $(@D)
PYTHON_GEN = $(AM_V_GEN)$(PYTHON2) $(PYTHON_FLAGS)
@@ -137,6 +138,14 @@ rasterizer/archrast/gen_ar_eventhandler.h: rasterizer/scripts/gen_archrast.py ra
--output rasterizer/archrast/gen_ar_eventhandler.h \
--gen_eventhandler_h
+rasterizer/archrast/gen_ar_eventhandlerfile.h: rasterizer/scripts/gen_archrast.py rasterizer/scripts/templates/ar_eventhandlerfile_h.template rasterizer/archrast/events.proto
+ $(MKDIR_GEN)
+ $(PYTHON_GEN) \
+ $(srcdir)/rasterizer/scripts/gen_archrast.py \
+ --proto $(srcdir)/rasterizer/archrast/events.proto \
+ --output rasterizer/archrast/gen_ar_eventhandlerfile.h \
+ --gen_eventhandlerfile_h
+
COMMON_LIBADD = \
$(top_builddir)/src/gallium/auxiliary/libgallium.la \
$(top_builddir)/src/mesa/libmesagallium.la \