plugins/: Don't install static libs for plugins. Fixes #550851 for core.
[platform/upstream/gstreamer.git] / plugins / elements / Makefile.am
1
2 plugin_LTLIBRARIES = libgstcoreelements.la
3
4 if HAVE_SYS_SOCKET_H
5 GSTFDSRC = gstfdsrc.c
6 GSTFDSINK = gstfdsink.c
7 else
8 GSTFDSRC =
9 GSTFDSINK =
10 endif
11
12 libgstcoreelements_la_DEPENDENCIES = $(top_builddir)/gst/libgstreamer-@GST_MAJORMINOR@.la
13 libgstcoreelements_la_SOURCES = \
14         gstcapsfilter.c         \
15         gstelements.c           \
16         gstfakesrc.c            \
17         gstfakesink.c           \
18         $(GSTFDSRC)             \
19         $(GSTFDSINK)            \
20         gstfilesink.c           \
21         gstfilesrc.c            \
22         gstidentity.c           \
23         gstqueue.c              \
24         gsttee.c                \
25         gsttypefindelement.c    \
26         gstmultiqueue.c
27
28 libgstcoreelements_la_CFLAGS = $(GST_OBJ_CFLAGS)
29 libgstcoreelements_la_LIBADD = \
30         $(top_builddir)/libs/gst/base/libgstbase-@GST_MAJORMINOR@.la \
31         $(GST_OBJ_LIBS)
32 libgstcoreelements_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
33 libgstcoreelements_la_LIBTOOLFLAGS = --tag=disable-static
34
35 noinst_HEADERS =                \
36         gstcapsfilter.h         \
37         gstfakesink.h           \
38         gstfakesrc.h            \
39         gstfdsrc.h              \
40         gstfdsink.h             \
41         gstfilesink.h           \
42         gstfilesrc.h            \
43         gstidentity.h           \
44         gstqueue.h              \
45         gsttee.h                \
46         gsttypefindelement.h    \
47         gstmultiqueue.h
48
49 EXTRA_DIST = gstfdsrc.c \
50              gstfdsink.c
51
52
53 CLEANFILES = *.gcno *.gcda *.gcov *.gcov.out
54
55 %.c.gcov: .libs/libgstcoreelements_la-%.gcda %.c
56         $(GCOV) -b -f -o $^ > $@.out
57
58 gcov: $(libgstcoreelements_la_SOURCES:=.gcov)