configure.ac: set CFLAGS and friends to -O0 if gcov is being used add GCOV LIBS
[platform/upstream/gstreamer.git] / libs / gst / base / Makefile.am
1 lib_LTLIBRARIES = libgstbase-@GST_MAJORMINOR@.la
2
3 libgstbase_@GST_MAJORMINOR@_la_DEPENDENCIES = \
4         $(top_builddir)/gst/libgstreamer-@GST_MAJORMINOR@.la
5 libgstbase_@GST_MAJORMINOR@_la_SOURCES = \
6         gstadapter.c            \
7         gstbasesink.c           \
8         gstbasesrc.c            \
9         gstbasetransform.c      \
10         gstcollectpads.c        \
11         gstpushsrc.c            \
12         gsttypefindhelper.c
13
14 libgstbase_@GST_MAJORMINOR@_la_CFLAGS = $(GST_OBJ_CFLAGS)
15 libgstbase_@GST_MAJORMINOR@_la_LIBADD = $(GST_OBJ_LIBS)
16 libgstbase_@GST_MAJORMINOR@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
17
18 libgstbase_@GST_MAJORMINOR@includedir =         \
19         $(includedir)/gstreamer-@GST_MAJORMINOR@/gst/base
20
21 libgstbase_@GST_MAJORMINOR@include_HEADERS =    \
22         gstadapter.h            \
23         gstbasesink.h           \
24         gstbasesrc.h            \
25         gstbasetransform.h      \
26         gstcollectpads.h        \
27         gstpushsrc.h            \
28         gsttypefindhelper.h     
29
30 CLEANFILES = *.gcno *.gcda *.gcov
31
32 %.c.gcov: .libs/libgstbase_@GST_MAJORMINOR@_la-%.gcda %.c
33         $(GCOV) -b -f -o $^ > $@.out
34
35 gcov: $(libgstbase_@GST_MAJORMINOR@_la_SOURCES:=.gcov)