1 # This file is the top android makefile for all sub-modules.
3 LOCAL_PATH := $(call my-dir)
6 gstreamer_TOP := $(LOCAL_PATH)
13 gst/parse/grammar.tab.h \
14 gst/parse/grammar.tab.c \
15 gst/parse/grammar.output \
16 gst/parse/lex.priv_gst_parse_yy.c \
17 pkgconfig/gstreamer-0.10.pc \
18 pkgconfig/gstreamer-base-0.10.pc \
19 pkgconfig/gstreamer-controller-0.10.pc \
20 pkgconfig/gstreamer-dataprotocol-0.10.pc \
21 pkgconfig/gstreamer-net-0.10.pc \
22 pkgconfig/gstreamer-0.10-uninstalled.pc \
23 pkgconfig/gstreamer-base-0.10-uninstalled.pc \
24 pkgconfig/gstreamer-controller-0.10-uninstalled.pc \
25 pkgconfig/gstreamer-dataprotocol-0.10-uninstalled.pc \
26 pkgconfig/gstreamer-net-0.10-uninstalled.pc \
28 gst/parse/Android.mk \
31 libs/gst/base/Android.mk \
32 libs/gst/controller/Android.mk \
33 libs/gst/dataprotocol/Android.mk \
34 libs/gst/net/Android.mk \
35 libs/gst/helpers/Android.mk \
37 plugins/elements/Android.mk \
38 plugins/indexers/Android.mk \
39 tests/examples/controller/Android.mk \
42 GST_BUILT_SOURCES := $(patsubst %, $(abspath $(gstreamer_TOP))/%, $(GST_BUILT_SOURCES))
44 .PHONY: gst-configure gst-configure-real
46 echo $(GST_BUILT_SOURCES)
47 cd $(gstreamer_TOP) ; \
48 CC="$(CONFIGURE_CC)" \
49 CFLAGS="$(CONFIGURE_CFLAGS)" \
51 LDFLAGS="$(CONFIGURE_LDFLAGS)" \
52 CPP=$(CONFIGURE_CPP) \
53 CPPFLAGS="$(CONFIGURE_CPPFLAGS)" \
54 PKG_CONFIG_LIBDIR=$(CONFIGURE_PKG_CONFIG_LIBDIR) \
55 PKG_CONFIG_TOP_BUILD_DIR=/ \
56 $(abspath $(gstreamer_TOP))/$(CONFIGURE) --host=arm-linux-androideabi \
57 --prefix=/system --disable-nls \
58 --disable-valgrind --disable-gtk-doc && \
59 for file in $(GST_BUILT_SOURCES); do \
61 make -C $$(dirname $$file) $$(basename $$file) ; \
64 gst-configure: gst-configure-real
66 CONFIGURE_TARGETS += gst-configure
68 -include $(gstreamer_TOP)/gst/Android.mk
69 -include $(gstreamer_TOP)/libs/Android.mk
70 -include $(gstreamer_TOP)/plugins/Android.mk
71 -include $(gstreamer_TOP)/tools/Android.mk
72 -include $(gstreamer_TOP)/tests/examples/controller/Android.mk