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._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 \
41 GST_BUILT_SOURCES := $(patsubst %, $(abspath $(gstreamer_TOP))/%, $(GST_BUILT_SOURCES))
43 .PHONY: gst-configure gst-configure-real
45 echo $(GST_BUILT_SOURCES)
46 cd $(gstreamer_TOP) ; \
47 CC="$(CONFIGURE_CC)" \
48 CFLAGS="$(CONFIGURE_CFLAGS)" \
50 LDFLAGS="$(CONFIGURE_LDFLAGS)" \
51 CPP=$(CONFIGURE_CPP) \
52 CPPFLAGS="$(CONFIGURE_CPPFLAGS)" \
53 PKG_CONFIG_LIBDIR=$(CONFIGURE_PKG_CONFIG_LIBDIR) \
54 PKG_CONFIG_TOP_BUILD_DIR=/ \
55 $(abspath $(gstreamer_TOP))/$(CONFIGURE) --host=arm-linux-androideabi \
56 --prefix=/system --disable-nls \
57 --disable-valgrind --disable-gtk-doc && \
58 for file in $(GST_BUILT_SOURCES); do \
60 make -C $$(dirname $$file) $$(basename $$file) ; \
63 gst-configure: gst-configure-real
65 CONFIGURE_TARGETS += gst-configure
67 -include $(gstreamer_TOP)/gst/Android.mk
68 -include $(gstreamer_TOP)/libs/Android.mk
69 -include $(gstreamer_TOP)/plugins/Android.mk
70 -include $(gstreamer_TOP)/tools/Android.mk