2010-12-03 15:44:23 +00:00
|
|
|
# This file is the top android makefile for all sub-modules.
|
|
|
|
|
|
|
|
LOCAL_PATH := $(call my-dir)
|
2011-01-27 13:33:08 +00:00
|
|
|
include $(CLEAR_VARS)
|
2010-12-03 15:44:23 +00:00
|
|
|
|
2011-01-27 13:33:08 +00:00
|
|
|
gstreamer_TOP := $(LOCAL_PATH)
|
2010-12-03 15:44:23 +00:00
|
|
|
|
2011-01-27 13:33:08 +00:00
|
|
|
GST_BUILT_SOURCES := \
|
|
|
|
gst/gstenumtypes.h \
|
|
|
|
gst/gstenumtypes.c \
|
|
|
|
gst/parse/grammar.tab.h \
|
|
|
|
gst/parse/grammar.tab.c \
|
|
|
|
gst/parse/grammar.output \
|
2011-10-20 13:45:30 +00:00
|
|
|
gst/parse/lex.priv_gst_parse_yy.c \
|
2012-04-12 22:15:27 +00:00
|
|
|
pkgconfig/gstreamer-1.0.pc \
|
|
|
|
pkgconfig/gstreamer-base-1.0.pc \
|
|
|
|
pkgconfig/gstreamer-controller-1.0.pc \
|
|
|
|
pkgconfig/gstreamer-net-1.0.pc \
|
|
|
|
pkgconfig/gstreamer-1.0-uninstalled.pc \
|
|
|
|
pkgconfig/gstreamer-base-1.0-uninstalled.pc \
|
|
|
|
pkgconfig/gstreamer-controller-1.0-uninstalled.pc \
|
|
|
|
pkgconfig/gstreamer-net-1.0-uninstalled.pc \
|
2011-01-27 13:33:08 +00:00
|
|
|
gst/Android.mk \
|
|
|
|
gst/parse/Android.mk \
|
|
|
|
libs/Android.mk \
|
|
|
|
libs/gst/Android.mk \
|
|
|
|
libs/gst/base/Android.mk \
|
|
|
|
libs/gst/controller/Android.mk \
|
|
|
|
libs/gst/net/Android.mk \
|
|
|
|
libs/gst/helpers/Android.mk \
|
|
|
|
plugins/Android.mk \
|
|
|
|
plugins/elements/Android.mk \
|
|
|
|
plugins/indexers/Android.mk \
|
2011-11-09 10:05:59 +00:00
|
|
|
tests/examples/controller/Android.mk \
|
2011-01-27 13:33:08 +00:00
|
|
|
tools/Android.mk
|
|
|
|
|
|
|
|
GST_BUILT_SOURCES := $(patsubst %, $(abspath $(gstreamer_TOP))/%, $(GST_BUILT_SOURCES))
|
|
|
|
|
|
|
|
.PHONY: gst-configure gst-configure-real
|
|
|
|
gst-configure-real:
|
|
|
|
echo $(GST_BUILT_SOURCES)
|
|
|
|
cd $(gstreamer_TOP) ; \
|
|
|
|
CC="$(CONFIGURE_CC)" \
|
|
|
|
CFLAGS="$(CONFIGURE_CFLAGS)" \
|
|
|
|
LD=$(TARGET_LD) \
|
|
|
|
LDFLAGS="$(CONFIGURE_LDFLAGS)" \
|
|
|
|
CPP=$(CONFIGURE_CPP) \
|
|
|
|
CPPFLAGS="$(CONFIGURE_CPPFLAGS)" \
|
|
|
|
PKG_CONFIG_LIBDIR=$(CONFIGURE_PKG_CONFIG_LIBDIR) \
|
|
|
|
PKG_CONFIG_TOP_BUILD_DIR=/ \
|
|
|
|
$(abspath $(gstreamer_TOP))/$(CONFIGURE) --host=arm-linux-androideabi \
|
2011-06-04 14:22:06 +00:00
|
|
|
--prefix=/system --disable-nls \
|
2011-01-27 13:33:08 +00:00
|
|
|
--disable-valgrind --disable-gtk-doc && \
|
|
|
|
for file in $(GST_BUILT_SOURCES); do \
|
|
|
|
rm -f $$file && \
|
|
|
|
make -C $$(dirname $$file) $$(basename $$file) ; \
|
|
|
|
done
|
|
|
|
|
|
|
|
gst-configure: gst-configure-real
|
2010-12-03 15:44:23 +00:00
|
|
|
|
2011-01-27 13:33:08 +00:00
|
|
|
CONFIGURE_TARGETS += gst-configure
|
2010-12-03 15:44:23 +00:00
|
|
|
|
2011-01-27 13:33:08 +00:00
|
|
|
-include $(gstreamer_TOP)/gst/Android.mk
|
|
|
|
-include $(gstreamer_TOP)/libs/Android.mk
|
|
|
|
-include $(gstreamer_TOP)/plugins/Android.mk
|
|
|
|
-include $(gstreamer_TOP)/tools/Android.mk
|
2011-11-09 10:05:59 +00:00
|
|
|
-include $(gstreamer_TOP)/tests/examples/controller/Android.mk
|