Android: build audio controller example
[glsdk/gstreamer0-10.git] / tests / examples / controller / Makefile.am
index 0255ea7a2e4cb62c52ac2f031f21fe18fdef50a7..98c1b65c28438d6c5898b3ad40a42bd20a133f1d 100644 (file)
@@ -4,3 +4,15 @@ audio_example_CFLAGS  = $(GST_OBJ_CFLAGS) -I$(top_builddir)/libs
 audio_example_LDADD = \
        $(top_builddir)/libs/gst/controller/libgstcontroller-@GST_MAJORMINOR@.la \
        $(GST_OBJ_LIBS)
+
+Android.mk: Makefile.am audio-example.c
+       androgenizer \
+       -:PROJECT audio-example -:EXECUTABLE audio-example \
+        -:TAGS eng debug \
+         -:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
+        -:SOURCES audio-example.c \
+        -:CFLAGS $(DEFS) $(DEFAULT_INCLUDES) $(audio_example_CFLAGS) \
+        -:LDFLAGS -lgstcontroller-@GST_MAJORMINOR@ \
+            $(GST_OBJ_LIBS) -ldl \
+        -:PASSTHROUGH LOCAL_ARM_MODE:=arm \
+       > $@