diff --git a/sys/androidmedia/Makefile.am b/sys/androidmedia/Makefile.am new file mode 100644 index 0000000000..283488f958 --- /dev/null +++ b/sys/androidmedia/Makefile.am @@ -0,0 +1,43 @@ +plugin_LTLIBRARIES = libgstandroidmedia.la + +libgstandroidmedia_la_SOURCES = \ + gstamc.c \ + gstamcaudiodec.c \ + gstamcvideodec.c + +noinst_HEADERS = \ + gstamc.h \ + gstamc-constants.h \ + gstamcaudiodec.h \ + gstamcvideodec.h + +libgstandroidmedia_la_CFLAGS = \ + $(GST_PLUGINS_BASE_CFLAGS) \ + $(GST_BASE_CFLAGS) \ + $(GST_CFLAGS) \ + $(ORC_CFLAGS) +libgstandroidmedia_la_LIBADD = \ + $(GST_PLUGINS_BASE_LIBS) \ + -lgstaudio-@GST_API_VERSION@ \ + -lgstpbutils-@GST_API_VERSION@ \ + -lgstvideo-@GST_API_VERSION@ \ + $(GST_BASE_LIBS) \ + $(GST_LIBS) \ + $(ORC_LIBS) +libgstandroidmedia_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) +libgstandroidmedia_la_LIBTOOLFLAGS = --tag=disable-static + +Android.mk: Makefile.am $(BUILT_SOURCES) + androgenizer \ + -:PROJECT libgstandroidmedia -:SHARED libgstandroidmedia \ + -:TAGS eng debug \ + -:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \ + -:SOURCES $(libgstandroidmedia_la_SOURCES) \ + $(nodist_libgstandroidmedia_la_SOURCES) \ + -:CFLAGS $(DEFS) $(DEFAULT_INCLUDES) $(libgstandroidmedia_la_CFLAGS) \ + -:LDFLAGS $(libgstandroidmedia_la_LDFLAGS) \ + $(libgstandroidmedia_la_LIBADD) \ + -ldl \ + -:PASSTHROUGH LOCAL_ARM_MODE:=arm \ + LOCAL_MODULE_PATH:='$$(TARGET_OUT)/lib/gstreamer-@GST_API_VERSION@' \ + > $@