lame: ensure parsed output
[glsdk/gst-plugins-ugly0-10.git] / Android.mk
1 LOCAL_PATH := $(call my-dir)
2 include $(CLEAR_VARS)
4 GST_PLUGINS_UGLY_TOP := $(LOCAL_PATH)
6 GST_PLUGINS_UGLY_BUILT_SOURCES = \
7         ext/mad/Android.mk \
8         gst/synaesthesia/Android.mk \
9         gst/iec958/Android.mk \
10         gst/mpegaudioparse/Android.mk \
11         gst/mpegstream/Android.mk \
12         gst/realmedia/Android.mk \
13         gst/dvdsub/Android.mk \
14         gst/dvdlpcmdec/Android.mk \
15         gst/asfdemux/Android.mk \
16         ext/x264/Android.mk
18 GST_PLUGINS_UGLY_BUILT_SOURCES := $(patsubst %, $(abspath $(GST_PLUGINS_UGLY_TOP))/%, $(GST_PLUGINS_UGLY_BUILT_SOURCES))
20 .PHONY: gst-plugins-ugly-configure gst-plugins-ugly-configure-real
22 gst-plugins-ugly-configure-real:
23         cd $(GST_PLUGINS_UGLY_TOP) ; \
24         CC="$(CONFIGURE_CC)" \
25         CFLAGS="$(CONFIGURE_CFLAGS)" \
26         LD=$(TARGET_LD) \
27         LDFLAGS="$(CONFIGURE_LDFLAGS)" \
28         CPP=$(CONFIGURE_CPP) \
29         CPPFLAGS="$(CONFIGURE_CPPFLAGS)" \
30         PKG_CONFIG_LIBDIR="$(CONFIGURE_PKG_CONFIG_LIBDIR)" \
31         PKG_CONFIG_TOP_BUILD_DIR=/ \
32         $(abspath $(GST_PLUGINS_UGLY_TOP))/$(CONFIGURE) --host=arm-linux-androideabi \
33         --prefix=/system --disable-orc --disable-valgrind --disable-gtk-doc && \
34         for file in $(GST_PLUGINS_UGLY_BUILT_SOURCES); do \
35                 rm -f $$file && \
36                 make -C $$(dirname $$file) $$(basename $$file) ; \
37         done
39 gst-plugins-ugly-configure: gst-plugins-ugly-configure-real
41 CONFIGURE_TARGETS += gst-plugins-ugly-configure
43 -include $(GST_PLUGINS_UGLY_TOP)/ext/mad/Android.mk
44 -include $(GST_PLUGINS_UGLY_TOP)/ext/x264/Android.mk
45 -include $(GST_PLUGINS_UGLY_TOP)/gst/synaesthesia/Android.mk
46 -include $(GST_PLUGINS_UGLY_TOP)/gst/iec958/Android.mk
47 -include $(GST_PLUGINS_UGLY_TOP)/gst/mpegaudioparse/Android.mk
48 -include $(GST_PLUGINS_UGLY_TOP)/gst/mpegstream/Android.mk
49 -include $(GST_PLUGINS_UGLY_TOP)/gst/realmedia/Android.mk
50 -include $(GST_PLUGINS_UGLY_TOP)/gst/dvdsub/Android.mk
51 -include $(GST_PLUGINS_UGLY_TOP)/gst/dvdlpcmdec/Android.mk
52 -include $(GST_PLUGINS_UGLY_TOP)/gst/asfdemux/Android.mk