summaryrefslogtreecommitdiff
path: root/gnl
diff options
context:
space:
mode:
authorAlessandro Decina <alessandro.d@gmail.com>2011-01-27 17:32:28 +0100
committerThibault Saunier <thibault.saunier@collabora.co.uk>2011-04-11 11:31:38 -0400
commitade0f2ac1962f79cb4d3f0a5f1be946fef05deca (patch)
treee3859d342bdb3e3184fd6b16b811e4ac2ba747f9 /gnl
parent8b46358ef8389cfa6e09225fe6f8efa29386d8a5 (diff)
android: make it ready for androgenizer
Remove the android/ top dir Fix the Makefile.am to be androgenized To build gstreamer for android we are now using androgenizer which generates the needed Android.mk files. Androgenizer can be found here: http://git.collabora.co.uk/?p=user/derek/androgenizer.git
Diffstat (limited to 'gnl')
-rw-r--r--gnl/Makefile.am17
1 files changed, 16 insertions, 1 deletions
diff --git a/gnl/Makefile.am b/gnl/Makefile.am
index d9b065a..3751e3e 100644
--- a/gnl/Makefile.am
+++ b/gnl/Makefile.am
@@ -1,5 +1,5 @@
built_header_make = gnlmarshal.h
-build_source_make = gnlmarshal.c
+built_source_make = gnlmarshal.c
plugin_LTLIBRARIES = libgnl.la
EXTRA_libgnl_la_SOURCES = gnlmarshal.list
@@ -52,3 +52,18 @@ gnlmarshal.c: gnlmarshal.list
echo "#include \"gnlmarshal.h\"" >> gnlmarshal.c.tmp && \
glib-genmarshal --body --prefix=gnl_marshal $^ >> gnlmarshal.c.tmp && \
mv gnlmarshal.c.tmp gnlmarshal.c
+
+
+Android.mk: Makefile.am $(BUILT_SOURCES)
+ androgenizer \
+ -:PROJECT libgnl -:SHARED libgnl \
+ -:TAGS eng debug \
+ -:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
+ -:SOURCES $(libgnl_la_SOURCES) \
+ -:CFLAGS $(DEFS) $(DEFAULT_INCLUDES) $(libgnl_la_CFLAGS) \
+ -:LDFLAGS $(libgnl_la_LDFLAGS) \
+ $(libgnl_la_LIBADD) \
+ -ldl \
+ -:PASSTHROUGH LOCAL_ARM_MODE:=arm \
+ LOCAL_MODULE_PATH:='$$(TARGET_OUT)/lib/gstreamer-0.10' \
+ > $@