61c60b05935145d120de02f7d5f420f92c10f59a
[platform/upstream/gstreamer.git] / gst / playback / Makefile.am
1 plugin_LTLIBRARIES = libgstplayback.la
2
3 csp_cflags = -DCOLORSPACE=\"videoconvert\"
4
5 libgstplayback_la_SOURCES = \
6         gstdecodebin2.c \
7         gsturidecodebin.c \
8         gstplayback.c \
9         gstplaybin2.c \
10         gstplaysink.c \
11         gstplay-enum.c \
12         gstsubtitleoverlay.c \
13         gstplaysinkvideoconvert.c \
14         gstplaysinkaudioconvert.c \
15         gstplaysinkconvertbin.c \
16         gststreamsynchronizer.c
17
18 nodist_libgstplayback_la_SOURCES = $(built_sources)
19 libgstplayback_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) $(csp_cflags)
20 libgstplayback_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
21 libgstplayback_la_LIBADD = \
22         $(top_builddir)/gst-libs/gst/pbutils/libgstpbutils-@GST_API_VERSION@.la \
23         $(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la \
24         $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \
25         $(GST_LIBS)
26 libgstplayback_la_LIBTOOLFLAGS = --tag=disable-static
27
28 noinst_HEADERS = \
29         gstplayback.h \
30         gstplaysink.h \
31         gstplay-enum.h \
32         gstrawcaps.h \
33         gstsubtitleoverlay.h \
34         gstplaysinkvideoconvert.h \
35         gstplaysinkaudioconvert.h \
36         gstplaysinkconvertbin.h \
37         gststreamsynchronizer.h
38
39 BUILT_SOURCES = $(built_headers) $(built_sources)
40
41 CLEANFILES = $(BUILT_SOURCES)
42
43 Android.mk: Makefile.am $(BUILT_SOURCES)
44         androgenizer \
45         -:PROJECT libgstplayback -:SHARED libgstplayback \
46          -:TAGS eng debug \
47          -:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
48          -:SOURCES $(libgstplayback_la_SOURCES) \
49                    $(nodist_libgstplayback_la_SOURCES) \
50          -:CFLAGS $(DEFS) $(DEFAULT_INCLUDES) $(libgstplayback_la_CFLAGS) $(csp_cflags) \
51          -:LDFLAGS $(libgstplayback_la_LDFLAGS) \
52                    $(libgstplayback_la_LIBADD) \
53                    -ldl \
54          -:PASSTHROUGH LOCAL_ARM_MODE:=arm \
55                        LOCAL_MODULE_PATH:='$$(TARGET_OUT)/lib/gstreamer-0.10' \
56         > $@