summaryrefslogtreecommitdiff
path: root/ext/mpg123
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2012-08-03 11:48:02 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2012-08-03 11:52:49 +0100
commitf75e4fbc11681b5175cd69cf0bb045a13b2b6595 (patch)
tree4bea2f2e1629ce6f9922804c8efe42dd84849738 /ext/mpg123
parentda622c27ba84d805e84d01a269649171ce069e9c (diff)
mpg123: hook up to build system
Diffstat (limited to 'ext/mpg123')
-rw-r--r--ext/mpg123/Makefile.am27
1 files changed, 27 insertions, 0 deletions
diff --git a/ext/mpg123/Makefile.am b/ext/mpg123/Makefile.am
new file mode 100644
index 000000000..6e6f4385e
--- /dev/null
+++ b/ext/mpg123/Makefile.am
@@ -0,0 +1,27 @@
+plugin_LTLIBRARIES = libgstmpg123.la
+
+libgstmpg123_la_SOURCES = gstmpg123audiodec.c
+libgstmpg123_la_CFLAGS = -DGST_USE_UNSTABLE_API \
+ $(GST_PLUGINS_BASE_CFLAGS) \
+ $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(MPG123_CFLAGS)
+libgstmpg123_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-@GST_API_VERSION@ \
+ $(GST_BASE_LIBS) $(GST_LIBS) $(MPG123_LIBS)
+libgstmpg123_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
+libgstmpg123_la_LIBTOOLFLAGS = --tag=disable-static
+
+noinst_HEADERS = gstmpg123audiodec.c
+
+Android.mk: Makefile.am $(BUILT_SOURCES)
+ androgenizer \
+ -:PROJECT libgstmpg123 -:SHARED libgstmpg123 \
+ -:TAGS eng debug \
+ -:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
+ -:SOURCES $(libgstmpg123_la_SOURCES) \
+ -:CPPFLAGS $(CPPFLAGS) \
+ -:CFLAGS $(DEFS) $(DEFAULT_INCLUDES) $(libgstmpg123_la_CFLAGS) \
+ -:LDFLAGS $(libgstmpg123_la_LDFLAGS) \
+ $(libgstmpg123_la_LIBADD) \
+ -ldl \
+ -:PASSTHROUGH LOCAL_ARM_MODE:=arm \
+ LOCAL_MODULE_PATH:='$$(TARGET_OUT)/lib/gstreamer-@GST_API_VERSION@' \
+ > $@