gst.h: Don't spew warnings if GST_USE_UNSTABLE_API is not defined
[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   $(LOG_SOURCES) \
22   $(RUSAGE_SOURCES) \
23   gststats.c \
24         gsttracers.c
25
26 libgstcoretracers_la_CFLAGS = $(GST_OBJ_CFLAGS) \
27   -DGST_USE_UNSTABLE_API
28 libgstcoretracers_la_LIBADD = \
29         $(GST_PRINTF_LA) \
30         $(GST_OBJ_LIBS)
31 libgstcoretracers_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
32 libgstcoretracers_la_LIBTOOLFLAGS = $(GST_PLUGIN_LIBTOOLFLAGS)
33
34 noinst_HEADERS = \
35   gstlatency.h \
36   gstlog.h \
37   gstrusage.h \
38   gststats.h
39
40 CLEANFILES = *.gcno *.gcda *.gcov *.gcov.out
41
42 %.c.gcov: .libs/libgstcoretracers_la-%.gcda %.c
43         $(GCOV) -b -f -o $^ > $@.out
44
45 gcov: $(libgstcoretracers_la_SOURCES:=.gcov)
46