gstreamer/plugins/tracers/Makefile.am
Tim-Philipp Müller e04c6694f1 tracers: log: no need to link to our internal printf implementation
The call to __gst_vasprintf() was removed in commit 1a3e218b8.
2017-11-26 11:14:01 +00:00

43 lines
861 B
Makefile

plugin_LTLIBRARIES = libgstcoretracers.la
if HAVE_GETRUSAGE
RUSAGE_SOURCES = gstrusage.c
else
RUSAGE_SOURCES =
endif
if GST_DISABLE_GST_DEBUG
LOG_SOURCES =
else
LOG_SOURCES = gstlog.c
endif
libgstcoretracers_la_DEPENDENCIES = $(top_builddir)/gst/libgstreamer-@GST_API_VERSION@.la
libgstcoretracers_la_SOURCES = \
gstlatency.c \
gstleaks.c \
$(LOG_SOURCES) \
$(RUSAGE_SOURCES) \
gststats.c \
gsttracers.c
libgstcoretracers_la_CFLAGS = $(GST_OBJ_CFLAGS) \
-DGST_USE_UNSTABLE_API
libgstcoretracers_la_LIBADD = $(GST_OBJ_LIBS)
libgstcoretracers_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
noinst_HEADERS = \
gstlatency.h \
gstleaks.h \
gstlog.h \
gstrusage.h \
gststats.h
CLEANFILES = *.gcno *.gcda *.gcov *.gcov.out
%.c.gcov: .libs/libgstcoretracers_la-%.gcda %.c
$(GCOV) -b -f -o $^ > $@.out
gcov: $(libgstcoretracers_la_SOURCES:=.gcov)