summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/vega/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/state_trackers/vega/Makefile')
-rw-r--r--src/gallium/state_trackers/vega/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/vega/Makefile b/src/gallium/state_trackers/vega/Makefile
index deafa39aa62..7342c124c28 100644
--- a/src/gallium/state_trackers/vega/Makefile
+++ b/src/gallium/state_trackers/vega/Makefile
@@ -42,4 +42,10 @@ C_SOURCES = \
shader.c \
shaders_cache.c
+GENERATED_SOURCES := api_tmp.h
+
include ../../Makefile.template
+
+MAPI := $(TOP)/src/mapi
+api_tmp.h: $(MAPI)/mapi/mapi_abi.py $(MAPI)/vgapi/vgapi.csv
+ $(PYTHON2) $< --printer vgapi --mode app $(MAPI)/vgapi/vgapi.csv > $@