aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/Android.gen.mk
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-10-11 08:30:47 +0200
committermarha <marha@users.sourceforge.net>2012-10-11 08:30:47 +0200
commit8223fb176264123c86c0d3eb845973d00fd62cc2 (patch)
tree1e6e73574f4025c542347d1fe023684619b65698 /mesalib/src/mesa/Android.gen.mk
parent8c5587d9be904856f7e449a144c2819a8e310599 (diff)
downloadvcxsrv-8223fb176264123c86c0d3eb845973d00fd62cc2.tar.gz
vcxsrv-8223fb176264123c86c0d3eb845973d00fd62cc2.tar.bz2
vcxsrv-8223fb176264123c86c0d3eb845973d00fd62cc2.zip
xwininfo mesa git update 11 oct 2012
xwininfo: f7b55bdf674fc790e879a2e25ef83925dd8379d6 mesa: 34c58acb59bc0b827e28ef9e89044621ab0b3ee1
Diffstat (limited to 'mesalib/src/mesa/Android.gen.mk')
-rw-r--r--mesalib/src/mesa/Android.gen.mk10
1 files changed, 9 insertions, 1 deletions
diff --git a/mesalib/src/mesa/Android.gen.mk b/mesalib/src/mesa/Android.gen.mk
index c17df1a1e..a8e4f3564 100644
--- a/mesalib/src/mesa/Android.gen.mk
+++ b/mesalib/src/mesa/Android.gen.mk
@@ -38,7 +38,8 @@ sources := \
program/program_parse.tab.c \
program/lex.yy.c \
main/dispatch.h \
- main/remap_helper.h
+ main/remap_helper.h \
+ main/get_hash.h
LOCAL_SRC_FILES := $(filter-out $(sources), $(LOCAL_SRC_FILES))
@@ -146,3 +147,10 @@ $(intermediates)/main/enums.c: PRIVATE_XML := -f $(glapi)/gl_and_es_API.xml
$(intermediates)/main/enums.c: $(es_src_deps)
$(call es-gen)
+
+GET_HASH_GEN := $(LOCAL_PATH)/main/get_hash_generator.py
+GET_HASH_GEN_FLAGS := $(patsubst %,-a %,$(MESA_ENABLED_APIS))
+
+$(intermediates)/main/get_hash.h: $(glapi)/gl_and_es_API.xml \
+ $(LOCAL_PATH)/main/get_hash_params.py $(GET_HASH_GEN)
+ @$(MESA_PYTHON2) $(GET_HASH_GEN) $(GET_HASH_GEN_FLAGS) -f $< > $@