Makefile.am 861 Bytes
Newer Older
1 2 3

plugin_LTLIBRARIES = libgstcoretracers.la

4
if HAVE_GETRUSAGE
5 6 7 8 9
RUSAGE_SOURCES = gstrusage.c
else
RUSAGE_SOURCES =
endif

10 11 12 13 14 15
if GST_DISABLE_GST_DEBUG
LOG_SOURCES =
else
LOG_SOURCES = gstlog.c
endif

16 17
libgstcoretracers_la_DEPENDENCIES = $(top_builddir)/gst/libgstreamer-@GST_API_VERSION@.la
libgstcoretracers_la_SOURCES = \
18
  gstlatency.c \
19
  gstleaks.c \
20
  $(LOG_SOURCES) \
21
  $(RUSAGE_SOURCES) \
22
  gststats.c \
23
  gsttracers.c
24

25 26
libgstcoretracers_la_CFLAGS = $(GST_OBJ_CFLAGS) \
  -DGST_USE_UNSTABLE_API
27
libgstcoretracers_la_LIBADD = $(GST_OBJ_LIBS)
28 29 30
libgstcoretracers_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)

noinst_HEADERS = \
31
  gstlatency.h \
32
  gstleaks.h \
33
  gstlog.h \
34
  gstrusage.h \
35
  gststats.h
36 37 38 39 40 41 42 43

CLEANFILES = *.gcno *.gcda *.gcov *.gcov.out

%.c.gcov: .libs/libgstcoretracers_la-%.gcda %.c
	$(GCOV) -b -f -o $^ > $@.out

gcov: $(libgstcoretracers_la_SOURCES:=.gcov)