configure.ac: set CFLAGS and friends to -O0 if gcov is being used add GCOV LIBS
[platform/upstream/gstreamer.git] / libs / gst / controller / Makefile.am
1 lib_LTLIBRARIES = libgstcontroller-@GST_MAJORMINOR@.la
2
3 libgstcontroller_@GST_MAJORMINOR@_includedir = $(includedir)/gstreamer-@GST_MAJORMINOR@/gst/controller
4 libgstcontroller_@GST_MAJORMINOR@_include_HEADERS = \
5         gstcontroller.h
6 noinst_HEADERS = gstcontrollerprivate.h
7
8 libgstcontroller_@GST_MAJORMINOR@_la_SOURCES = \
9         lib.c \
10         gstcontroller.c \
11         gstinterpolation.c \
12         gsthelper.c
13
14 libgstcontroller_@GST_MAJORMINOR@_la_CFLAGS = $(GST_OBJ_CFLAGS)
15 libgstcontroller_@GST_MAJORMINOR@_la_LIBADD = $(GST_OBJ_LIBS)
16 libgstcontroller_@GST_MAJORMINOR@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
17
18 CLEANFILES = *.gcno *.gcda *.gcov
19
20 %.c.gcov: .libs/libgstcontroller_@GST_MAJORMINOR@_la-%.gcda %.c
21         $(GCOV) -b -f -o $^ > $@.out
22
23 gcov: $(libgstcontroller_@GST_MAJORMINOR@_la_SOURCES:=.gcov)