summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorAlessandro Decina <alessandro.d@gmail.com>2011-01-27 14:33:08 +0100
committerEdward Hervey <edward.hervey@collabora.co.uk>2011-04-11 01:08:07 +0200
commit3f1ef2255a2e7c316d7c877d3a3f6bb815bc79a4 (patch)
treedc13fabd25c99107f7f8de66de9758b7d8dcc2ea /gst
parent76559d4160766951348b2303224b943499ac7ee4 (diff)
android: make it ready for androgenizer
Remove the android/ top dir Fixe 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 'gst')
-rw-r--r--gst/Makefile.am17
-rw-r--r--gst/parse/Makefile.am8
2 files changed, 25 insertions, 0 deletions
diff --git a/gst/Makefile.am b/gst/Makefile.am
index 4c5d58ff3..e185d53d7 100644
--- a/gst/Makefile.am
+++ b/gst/Makefile.am
@@ -248,6 +248,23 @@ gstenumtypes.c: $(gst_headers)
gcov: $(libgstreamer_@GST_MAJORMINOR@_la_SOURCES:=.gcov)
+Android.mk: Makefile.am
+ androgenizer -:PROJECT gstreamer -:SHARED libgstreamer-@GST_MAJORMINOR@ \
+ -:TAGS eng debug \
+ -:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
+ -:SOURCES $(libgstreamer_@GST_MAJORMINOR@_la_SOURCES) \
+ $(nodist_libgstreamer_@GST_MAJORMINOR@_la_SOURCES) \
+ -:CFLAGS $(DEFS) $(libgstreamer_@GST_MAJORMINOR@_la_CFLAGS) \
+ -:LDFLAGS $(libgstreamer_@GST_MAJORMINOR@_la_LDFLAGS) \
+ $(libgstreamer_@GST_MAJORMINOR@_la_LIBADD) \
+ -ldl \
+ -:SUBDIR gst/parse \
+ -:HEADER_TARGET gstreamer-@GST_MAJORMINOR@/gst \
+ -:HEADERS $(libgstreamer_@GST_MAJORMINOR@include_HEADERS) \
+ -:LIBFILTER_STATIC gstparse \
+ -:PASSTHROUGH LOCAL_ARM_MODE:=arm \
+ > $@
+
if HAVE_INTROSPECTION
BUILT_GIRSOURCES = Gst-@GST_MAJORMINOR@.gir
diff --git a/gst/parse/Makefile.am b/gst/parse/Makefile.am
index f9683fce8..7e834048f 100644
--- a/gst/parse/Makefile.am
+++ b/gst/parse/Makefile.am
@@ -21,6 +21,14 @@ libgstparse_la_LIBADD = $(GST_ALL_LIBS)
noinst_HEADERS = grammar.tab.h types.h
+Android.mk: Makefile.am
+ androgenizer -:PROJECT gstreamer -:STATIC libgstparse -:TAGS eng debug \
+ -:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
+ -:SOURCES $(libgstparse_la_SOURCES) $(nodist_libgstparse_la_SOURCES) \
+ -:CFLAGS $(DEFS) $(libgstparse_la_CFLAGS) \
+ -:LDFLAGS $(libgstparse_la_LIBADD) \
+ > $@
+
grammar.tab.c grammar.tab.h: grammar.y
$(AM_V_GEN)$(BISON_PATH) -d -v -p_gst_parse_yy $(srcdir)/grammar.y -o grammar.tab.c && \
mv grammar.tab.c grammar.tab_tmp.c && \