projects
/
platform
/
upstream
/
gstreamer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
configure.ac: set CFLAGS and friends to -O0 if gcov is being used add GCOV LIBS
[platform/upstream/gstreamer.git]
/
plugins
/
elements
/
Makefile.am
diff --git
a/plugins/elements/Makefile.am
b/plugins/elements/Makefile.am
index
07fe6e0
..
98eb6e6
100644
(file)
--- a/
plugins/elements/Makefile.am
+++ b/
plugins/elements/Makefile.am
@@
-51,3
+51,11
@@
noinst_HEADERS = \
EXTRA_DIST = gstfdsrc.c \
gstfdsink.c
+
+
+CLEANFILES = *.gcno *.gcda *.gcov
+
+%.c.gcov: .libs/libgstcoreelements_la-%.gcda %.c
+ $(GCOV) -b -f -o $^ > $@.out
+
+gcov: $(libgstcoreelements_la_SOURCES:=.gcov)