aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/glapi/gen/Makefile
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2010-04-27 08:57:56 -0400
committerKristian Høgsberg <[email protected]>2010-04-28 14:05:19 -0400
commit9664f10023b0d57202134ca53795bf40daf580ef (patch)
tree700b06a5d258a75305f757e29faa16c24b1f4136 /src/mesa/glapi/gen/Makefile
parent12c46b15d70ccb6d39d5f5c1a3ddfb0cf929f719 (diff)
glapi: Update gl_enum.py to generate enum tables for multiple APIs
Diffstat (limited to 'src/mesa/glapi/gen/Makefile')
-rw-r--r--src/mesa/glapi/gen/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/glapi/gen/Makefile b/src/mesa/glapi/gen/Makefile
index 84600bdd980..10998b2ce23 100644
--- a/src/mesa/glapi/gen/Makefile
+++ b/src/mesa/glapi/gen/Makefile
@@ -151,8 +151,10 @@ $(MESA_DIR)/sparc/glapi_sparc.S: gl_SPARC_asm.py $(COMMON)
######################################################################
-$(MESA_DIR)/main/enums.c: gl_enums.py $(COMMON)
- $(PYTHON2) $(PYTHON_FLAGS) $< > $@
+$(MESA_DIR)/main/enums.c: gl_enums.py $(COMMON) $(ES_API)
+ $(PYTHON2) $(PYTHON_FLAGS) $< -f gl_API.xml \
+ -f $(MESA_DIR)/es/glapi/es1_API.xml \
+ -f $(MESA_DIR)/es/glapi/es2_API.xml > $@
$(MESA_DIR)/main/remap_helper.h: remap_helper.py $(COMMON)
$(PYTHON2) $(PYTHON_FLAGS) $< > $@