android: Add support for the faac plugin
[platform/upstream/gstreamer.git] / ext / faac / Makefile.am
1 plugin_LTLIBRARIES = libgstfaac.la
2
3 libgstfaac_la_SOURCES = gstfaac.c
4 libgstfaac_la_CFLAGS = -DGST_USE_UNSTABLE_API \
5         $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) \
6         $(GST_CFLAGS) $(FAAC_CFLAGS)
7 libgstfaac_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) \
8         -lgstaudio-@GST_API_VERSION@ -lgstpbutils-@GST_API_VERSION@ \
9         $(GST_BASE_LIBS) $(FAAC_LIBS)
10 libgstfaac_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
11 libgstfaac_la_LIBTOOLFLAGS = --tag=disable-static
12
13 noinst_HEADERS = gstfaac.h
14
15 Android.mk: Makefile.am $(BUILT_SOURCES)
16         androgenizer \
17         -:PROJECT libgstfaac -:SHARED libgstfaac \
18          -:TAGS eng debug \
19          -:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
20          -:SOURCES $(libgstfaac_la_SOURCES) \
21          -:CPPFLAGS $(CPPFLAGS) \
22          -:CFLAGS $(DEFS) $(DEFAULT_INCLUDES) $(libgstfaac_la_CFLAGS) \
23          -:LDFLAGS $(libgstfaac_la_LDFLAGS) \
24                    $(libgstfaac_la_LIBADD) \
25                    -ldl \
26          -:PASSTHROUGH LOCAL_ARM_MODE:=arm \
27                        LOCAL_MODULE_PATH:='$$(TARGET_OUT)/lib/gstreamer-0.10' \
28         > $@