mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 00:06:36 +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
35 lines
995 B
Makefile
35 lines
995 B
Makefile
lib_LTLIBRARIES = libgstbase-@GST_MAJORMINOR@.la
|
|
|
|
libgstbase_@GST_MAJORMINOR@_la_DEPENDENCIES = \
|
|
$(top_builddir)/gst/libgstreamer-@GST_MAJORMINOR@.la
|
|
libgstbase_@GST_MAJORMINOR@_la_SOURCES = \
|
|
gstadapter.c \
|
|
gstbasesink.c \
|
|
gstbasesrc.c \
|
|
gstbasetransform.c \
|
|
gstcollectpads.c \
|
|
gstpushsrc.c \
|
|
gsttypefindhelper.c
|
|
|
|
libgstbase_@GST_MAJORMINOR@_la_CFLAGS = $(GST_OBJ_CFLAGS)
|
|
libgstbase_@GST_MAJORMINOR@_la_LIBADD = $(GST_OBJ_LIBS)
|
|
libgstbase_@GST_MAJORMINOR@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
|
|
|
|
libgstbase_@GST_MAJORMINOR@includedir = \
|
|
$(includedir)/gstreamer-@GST_MAJORMINOR@/gst/base
|
|
|
|
libgstbase_@GST_MAJORMINOR@include_HEADERS = \
|
|
gstadapter.h \
|
|
gstbasesink.h \
|
|
gstbasesrc.h \
|
|
gstbasetransform.h \
|
|
gstcollectpads.h \
|
|
gstpushsrc.h \
|
|
gsttypefindhelper.h
|
|
|
|
CLEANFILES = *.gcno *.gcda *.gcov
|
|
|
|
%.c.gcov: .libs/libgstbase_@GST_MAJORMINOR@_la-%.gcda %.c
|
|
$(GCOV) -b -f -o $^ > $@.out
|
|
|
|
gcov: $(libgstbase_@GST_MAJORMINOR@_la_SOURCES:=.gcov)
|