mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-17 13:56:32 +00:00
3c3bbc87d4
Original commit message from CVS: * configure.ac: set CFLAGS and friends to -O0 if gcov is being used add GCOV LIBS * gst/Makefile.am: * libs/gst/base/Makefile.am: * libs/gst/check/Makefile.am: * libs/gst/controller/Makefile.am: * libs/gst/dataprotocol/Makefile.am: * libs/gst/net/Makefile.am: * plugins/elements/Makefile.am: * plugins/indexers/Makefile.am: add makefile rules to generate gcov data and clean up * tests/check/Makefile.am: add a coverage target that generates an html overview of coverage data
26 lines
742 B
Makefile
26 lines
742 B
Makefile
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
|
|
|
|
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)
|
|
|
|
%.c.gcov: .libs/libgstcoreindexers_la-%.gcda %.c
|
|
$(GCOV) -b -f -o $^ > $@.out
|
|
|
|
gcov: $(libgstcoreindexers_la_SOURCES:=.gcov)
|