2013-10-24 12:47:48 +00:00
|
|
|
|
|
|
|
plugin_LTLIBRARIES = libgstcoretracers.la
|
|
|
|
|
2015-10-07 10:22:34 +00:00
|
|
|
if HAVE_GETRUSAGE
|
2013-11-20 07:22:58 +00:00
|
|
|
RUSAGE_SOURCES = gstrusage.c
|
|
|
|
else
|
|
|
|
RUSAGE_SOURCES =
|
|
|
|
endif
|
|
|
|
|
2015-10-06 16:46:24 +00:00
|
|
|
if GST_DISABLE_GST_DEBUG
|
|
|
|
LOG_SOURCES =
|
2015-10-07 11:01:16 +00:00
|
|
|
GST_PRINTF_LA =
|
2015-10-06 16:46:24 +00:00
|
|
|
else
|
|
|
|
LOG_SOURCES = gstlog.c
|
2015-10-07 11:01:16 +00:00
|
|
|
GST_PRINTF_LA = $(top_builddir)/gst/printf/libgstprintf.la
|
2015-10-06 16:46:24 +00:00
|
|
|
endif
|
|
|
|
|
2013-10-24 12:47:48 +00:00
|
|
|
libgstcoretracers_la_DEPENDENCIES = $(top_builddir)/gst/libgstreamer-@GST_API_VERSION@.la
|
|
|
|
libgstcoretracers_la_SOURCES = \
|
2014-02-18 10:06:10 +00:00
|
|
|
gstlatency.c \
|
2016-05-10 07:29:12 +00:00
|
|
|
gstleaks.c \
|
2015-10-06 16:46:24 +00:00
|
|
|
$(LOG_SOURCES) \
|
2013-11-20 07:22:58 +00:00
|
|
|
$(RUSAGE_SOURCES) \
|
2013-10-28 07:08:20 +00:00
|
|
|
gststats.c \
|
2016-05-10 07:29:12 +00:00
|
|
|
gsttracers.c
|
2013-10-24 12:47:48 +00:00
|
|
|
|
2016-01-16 14:51:37 +00:00
|
|
|
libgstcoretracers_la_CFLAGS = $(GST_OBJ_CFLAGS) \
|
|
|
|
-DGST_USE_UNSTABLE_API
|
2013-10-24 12:47:48 +00:00
|
|
|
libgstcoretracers_la_LIBADD = \
|
2015-10-07 11:01:16 +00:00
|
|
|
$(GST_PRINTF_LA) \
|
2013-10-24 12:47:48 +00:00
|
|
|
$(GST_OBJ_LIBS)
|
|
|
|
libgstcoretracers_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
|
|
|
libgstcoretracers_la_LIBTOOLFLAGS = $(GST_PLUGIN_LIBTOOLFLAGS)
|
|
|
|
|
|
|
|
noinst_HEADERS = \
|
2014-02-18 10:06:10 +00:00
|
|
|
gstlatency.h \
|
2016-05-10 07:29:12 +00:00
|
|
|
gstleaks.h \
|
2013-10-28 07:08:20 +00:00
|
|
|
gstlog.h \
|
2013-11-20 07:22:58 +00:00
|
|
|
gstrusage.h \
|
2013-10-28 07:08:20 +00:00
|
|
|
gststats.h
|
2013-10-24 12:47:48 +00:00
|
|
|
|
|
|
|
CLEANFILES = *.gcno *.gcda *.gcov *.gcov.out
|
|
|
|
|
|
|
|
%.c.gcov: .libs/libgstcoretracers_la-%.gcda %.c
|
|
|
|
$(GCOV) -b -f -o $^ > $@.out
|
|
|
|
|
|
|
|
gcov: $(libgstcoretracers_la_SOURCES:=.gcov)
|
|
|
|
|