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