summaryrefslogtreecommitdiffstats
path: root/src/mesa/Android.gen.mk
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-11-07 16:33:39 -0800
committerChad Versace <[email protected]>2012-11-12 15:52:42 -0800
commit907844107252260c646aca361191ef7f121f3d23 (patch)
treecf9a5a54b804e852344541a096992943687e2a6a /src/mesa/Android.gen.mk
parent0ef85357479a47c2bdd05df3b2183bc7bfa0ac6e (diff)
automake,android: Build program/ into a helper lib (v2)
While simplifying mesa/Makefile.am, the more important feature of this commit is allowing a file with the same name to appear in both main/ and program/. v2: [chadv] Add changes to Android makefiles. Reviewed-by: Kenneth Graunke <[email protected]> (v1) Signed-off-by: Chad Versace <[email protected]> (v2)
Diffstat (limited to 'src/mesa/Android.gen.mk')
-rw-r--r--src/mesa/Android.gen.mk21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/mesa/Android.gen.mk b/src/mesa/Android.gen.mk
index ce6d65bbde8..5f0d73cffd6 100644
--- a/src/mesa/Android.gen.mk
+++ b/src/mesa/Android.gen.mk
@@ -32,9 +32,6 @@ intermediates := $(call local-intermediates-dir)
# This is the list of auto-generated files: sources and headers
sources := \
main/enums.c \
- main/api_exec.c \
- program/program_parse.tab.c \
- program/lex.yy.c \
main/dispatch.h \
main/remap_helper.h \
main/get_hash.h
@@ -62,30 +59,12 @@ dispatch_deps := \
$(wildcard $(glapi)/*.py) \
$(wildcard $(glapi)/*.xml)
-define local-l-to-c
- @mkdir -p $(dir $@)
- @echo "Mesa Lex: $(PRIVATE_MODULE) <= $<"
- $(hide) $(LEX) -o$@ $<
-endef
-
-define mesa_local-y-to-c-and-h
- @mkdir -p $(dir $@)
- @echo "Mesa Yacc: $(PRIVATE_MODULE) <= $<"
- $(hide) $(YACC) -o $@ -p "_mesa_program_" $<
-endef
-
define es-gen
@mkdir -p $(dir $@)
@echo "Gen ES: $(PRIVATE_MODULE) <= $(notdir $(@))"
$(hide) $(PRIVATE_SCRIPT) $(1) $(PRIVATE_XML) > $@
endef
-$(intermediates)/program/program_parse.tab.c: $(LOCAL_PATH)/program/program_parse.y
- $(mesa_local-y-to-c-and-h)
-
-$(intermediates)/program/lex.yy.c: $(LOCAL_PATH)/program/program_lexer.l
- $(local-l-to-c)
-
$(intermediates)/main/git_sha1.h:
@mkdir -p $(dir $@)
@echo "GIT-SHA1: $(PRIVATE_MODULE) <= git"