mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +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
23 lines
805 B
Makefile
23 lines
805 B
Makefile
lib_LTLIBRARIES = libgstcontroller-@GST_MAJORMINOR@.la
|
|
|
|
libgstcontroller_@GST_MAJORMINOR@_includedir = $(includedir)/gstreamer-@GST_MAJORMINOR@/gst/controller
|
|
libgstcontroller_@GST_MAJORMINOR@_include_HEADERS = \
|
|
gstcontroller.h
|
|
noinst_HEADERS = gstcontrollerprivate.h
|
|
|
|
libgstcontroller_@GST_MAJORMINOR@_la_SOURCES = \
|
|
lib.c \
|
|
gstcontroller.c \
|
|
gstinterpolation.c \
|
|
gsthelper.c
|
|
|
|
libgstcontroller_@GST_MAJORMINOR@_la_CFLAGS = $(GST_OBJ_CFLAGS)
|
|
libgstcontroller_@GST_MAJORMINOR@_la_LIBADD = $(GST_OBJ_LIBS)
|
|
libgstcontroller_@GST_MAJORMINOR@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
|
|
|
|
CLEANFILES = *.gcno *.gcda *.gcov
|
|
|
|
%.c.gcov: .libs/libgstcontroller_@GST_MAJORMINOR@_la-%.gcda %.c
|
|
$(GCOV) -b -f -o $^ > $@.out
|
|
|
|
gcov: $(libgstcontroller_@GST_MAJORMINOR@_la_SOURCES:=.gcov)
|