mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-04 14:38:48 +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
25 lines
894 B
Makefile
25 lines
894 B
Makefile
lib_LTLIBRARIES = libgstcheck-@GST_MAJORMINOR@.la
|
|
|
|
libgstcheck_@GST_MAJORMINOR@_la_DEPENDENCIES = \
|
|
$(top_builddir)/gst/libgstreamer-@GST_MAJORMINOR@.la
|
|
libgstcheck_@GST_MAJORMINOR@_la_SOURCES = \
|
|
gstcheck.c
|
|
|
|
libgstcheck_@GST_MAJORMINOR@_la_CFLAGS = $(GST_OBJ_CFLAGS) $(CHECK_CFLAGS)
|
|
libgstcheck_@GST_MAJORMINOR@_la_LIBADD = $(GST_OBJ_LIBS) $(CHECK_LIBS) \
|
|
$(top_builddir)/gst/libgstreamer-@GST_MAJORMINOR@.la
|
|
libgstcheck_@GST_MAJORMINOR@_la_LDFLAGS = \
|
|
libgstbase_@GST_MAJORMINOR@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
|
|
|
|
libgstcheck_@GST_MAJORMINOR@includedir = \
|
|
$(includedir)/gstreamer-@GST_MAJORMINOR@/gst/check
|
|
|
|
libgstcheck_@GST_MAJORMINOR@include_HEADERS = \
|
|
gstcheck.h
|
|
|
|
CLEANFILES = *.gcno *.gcda *.gcov
|
|
|
|
%.c.gcov: .libs/libgstcheck_@GST_MAJORMINOR@_la-%.gcda %.c
|
|
$(GCOV) -b -f -o $^ > $@.out
|
|
|
|
gcov: $(libgstcheck_@GST_MAJORMINOR@_la_SOURCES:=.gcov)
|