info: Add a 'flags' parametter to gst_debug_get_stack_trace
[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 if GST_DISABLE_GST_DEBUG
11 LOG_SOURCES =
12 GST_PRINTF_LA =
13 else
14 LOG_SOURCES = gstlog.c
15 GST_PRINTF_LA = $(top_builddir)/gst/printf/libgstprintf.la
16 endif
17
18 libgstcoretracers_la_DEPENDENCIES = $(top_builddir)/gst/libgstreamer-@GST_API_VERSION@.la
19 libgstcoretracers_la_SOURCES = \
20   gstlatency.c \
21   gstleaks.c \
22   $(LOG_SOURCES) \
23   $(RUSAGE_SOURCES) \
24   gststats.c \
25   gsttracers.c
26
27 libgstcoretracers_la_CFLAGS = $(GST_OBJ_CFLAGS) \
28   -DGST_USE_UNSTABLE_API
29 libgstcoretracers_la_LIBADD = \
30         $(GST_PRINTF_LA) \
31         $(GST_OBJ_LIBS)
32 libgstcoretracers_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
33 libgstcoretracers_la_LIBTOOLFLAGS = $(GST_PLUGIN_LIBTOOLFLAGS)
34
35 noinst_HEADERS = \
36   gstlatency.h \
37   gstleaks.h \
38   gstlog.h \
39   gstrusage.h \
40   gststats.h
41
42 CLEANFILES = *.gcno *.gcda *.gcov *.gcov.out
43
44 %.c.gcov: .libs/libgstcoretracers_la-%.gcda %.c
45         $(GCOV) -b -f -o $^ > $@.out
46
47 gcov: $(libgstcoretracers_la_SOURCES:=.gcov)
48