ef7ba2b6e7ba494d0f873ac58a99c54c1a793772
[platform/upstream/gstreamer.git] / plugins / tracers / Makefile.am
1
2 plugin_LTLIBRARIES = libgstcoretracers.la
3
4 if HAVE_GETRUSAGE
5 RUSAGE_SOURCES = gstrusage.c
6 else
7 RUSAGE_SOURCES =
8 endif
9
10 libgstcoretracers_la_DEPENDENCIES = $(top_builddir)/gst/libgstreamer-@GST_API_VERSION@.la
11 libgstcoretracers_la_SOURCES = \
12   gstlatency.c \
13   gstlog.c \
14   $(RUSAGE_SOURCES) \
15   gststats.c \
16         gsttracers.c
17
18 libgstcoretracers_la_CFLAGS = $(GST_OBJ_CFLAGS) \
19   -DGST_USE_UNSTABLE_API
20 libgstcoretracers_la_LIBADD = \
21         $(top_builddir)/gst/printf/libgstprintf.la \
22         $(GST_OBJ_LIBS)
23 libgstcoretracers_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
24 libgstcoretracers_la_LIBTOOLFLAGS = $(GST_PLUGIN_LIBTOOLFLAGS)
25
26 noinst_HEADERS = \
27   gstlatency.h \
28   gstlog.h \
29   gstrusage.h \
30   gststats.h
31
32 CLEANFILES = *.gcno *.gcda *.gcov *.gcov.out
33
34 %.c.gcov: .libs/libgstcoretracers_la-%.gcda %.c
35         $(GCOV) -b -f -o $^ > $@.out
36
37 gcov: $(libgstcoretracers_la_SOURCES:=.gcov)
38