plugins/: Don't install static libs for plugins. Fixes #550851 for core.
[platform/upstream/gstreamer.git] / plugins / indexers / Makefile.am
1 plugin_LTLIBRARIES = libgstcoreindexers.la
2
3 # file index uses xml
4 if HAVE_MMAP
5 if GST_DISABLE_LOADSAVE
6 GST_LOADSAVE_SRC =
7 GST_FILEINDEX_LIBS =
8 else
9 GST_LOADSAVE_SRC = gstfileindex.c
10 GST_FILEINDEX_LIBS = $(XML_LIBS)
11 endif
12 else
13 GST_LOADSAVE_SRC =
14 GST_FILEINDEX_LIBS =
15 endif
16
17 libgstcoreindexers_la_DEPENDENCIES = $(top_builddir)/gst/libgstreamer-@GST_MAJORMINOR@.la
18 libgstcoreindexers_la_SOURCES = gstindexers.c gstmemindex.c $(GST_LOADSAVE_SRC)
19 libgstcoreindexers_la_CFLAGS = $(GST_OBJ_CFLAGS)
20 libgstcoreindexers_la_LIBADD = $(GST_OBJ_LIBS) $(GST_FILEINDEX_LIBS)
21 libgstcoreindexers_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
22 libgstcoreindexers_la_LIBTOOLFLAGS = --tag=disable-static
23
24 %.c.gcov: .libs/libgstcoreindexers_la-%.gcda %.c
25         $(GCOV) -b -f -o $^ > $@.out
26
27 gcov: $(libgstcoreindexers_la_SOURCES:=.gcov)