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