summaryrefslogtreecommitdiff
path: root/plugins/indexers/Makefile.am
blob: 42337d6c40e40e5bd9bd69a10d9004406f1debc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
plugin_LTLIBRARIES = libgstcoreindexers.la

# file index uses xml
if HAVE_MMAP
if GST_DISABLE_LOADSAVE
GST_LOADSAVE_SRC =
GST_FILEINDEX_LIBS =
else
GST_LOADSAVE_SRC = gstfileindex.c
GST_FILEINDEX_LIBS = $(XML_LIBS)
endif
else
GST_LOADSAVE_SRC =
GST_FILEINDEX_LIBS =
endif

noinst_HEADERS =		\
	gstindexers.h

libgstcoreindexers_la_DEPENDENCIES = $(top_builddir)/gst/libgstreamer-@GST_MAJORMINOR@.la
libgstcoreindexers_la_SOURCES = gstindexers.c gstmemindex.c $(GST_LOADSAVE_SRC)
libgstcoreindexers_la_CFLAGS = $(GST_OBJ_CFLAGS)
libgstcoreindexers_la_LIBADD = $(GST_OBJ_LIBS) $(GST_FILEINDEX_LIBS)
libgstcoreindexers_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
libgstcoreindexers_la_LIBTOOLFLAGS = --tag=disable-static

%.c.gcov: .libs/libgstcoreindexers_la-%.gcda %.c
	$(GCOV) -b -f -o $^ > $@.out

gcov: $(libgstcoreindexers_la_SOURCES:=.gcov)