Merge remote-tracking branch 'origin/0.10'
[platform/upstream/gstreamer.git] / plugins / elements / Makefile.am
1
2 plugin_LTLIBRARIES = libgstcoreelements.la
3
4 libgstcoreelements_la_DEPENDENCIES = $(top_builddir)/gst/libgstreamer-@GST_API_VERSION@.la
5 libgstcoreelements_la_SOURCES = \
6         gstcapsfilter.c         \
7         gstelements.c           \
8         gstfakesrc.c            \
9         gstfakesink.c           \
10         gstfdsrc.c              \
11         gstfdsink.c             \
12         gstfilesink.c           \
13         gstfilesrc.c            \
14         gstfunnel.c             \
15         gstidentity.c           \
16         gstinputselector.c      \
17         gstoutputselector.c     \
18         gstdataqueue.c          \
19         gstmultiqueue.c         \
20         gstqueue.c              \
21         gstqueue2.c             \
22         gsttee.c                \
23         gsttypefindelement.c    \
24         gstvalve.c
25
26 libgstcoreelements_la_CFLAGS = $(GST_OBJ_CFLAGS)
27 libgstcoreelements_la_LIBADD = \
28         $(top_builddir)/libs/gst/base/libgstbase-@GST_API_VERSION@.la \
29         $(GST_OBJ_LIBS)
30 libgstcoreelements_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
31 libgstcoreelements_la_LIBTOOLFLAGS = --tag=disable-static
32
33 noinst_HEADERS =                \
34         gstcapsfilter.h         \
35         gstfakesink.h           \
36         gstfakesrc.h            \
37         gstfdsrc.h              \
38         gstfdsink.h             \
39         gstfilesink.h           \
40         gstfilesrc.h            \
41         gstfunnel.h             \
42         gstidentity.h           \
43         gstinputselector.h      \
44         gstoutputselector.h     \
45         gstdataqueue.h          \
46         gstmultiqueue.h         \
47         gstqueue.h              \
48         gstqueue2.h             \
49         gsttee.h                \
50         gsttypefindelement.h    \
51         gstvalve.h
52
53 EXTRA_DIST = gstfdsrc.c \
54              gstfdsink.c
55
56
57 CLEANFILES = *.gcno *.gcda *.gcov *.gcov.out
58
59 %.c.gcov: .libs/libgstcoreelements_la-%.gcda %.c
60         $(GCOV) -b -f -o $^ > $@.out
61
62 gcov: $(libgstcoreelements_la_SOURCES:=.gcov)
63
64 Android.mk: Makefile.am
65         androgenizer -:PROJECT gstreamer -:SHARED libgstcoreelements -:TAGS eng debug \
66          -:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
67          -:SOURCES $(libgstcoreelements_la_SOURCES) \
68          -:CFLAGS $(DEFS) $(libgstcoreelements_la_CFLAGS) \
69          -:LDFLAGS $(libgstcoreelements_la_LDFLAGS) \
70                     $(libgstcoreelements_la_LIBADD) \
71          -:PASSTHROUGH LOCAL_ARM_MODE:=arm \
72                        LOCAL_MODULE_PATH:=$$\(TARGET_OUT\)/lib/gstreamer-@GST_API_VERSION@ \
73         > $@