
plugin_LTLIBRARIES = libgstcoreelements.la

libgstcoreelements_la_DEPENDENCIES = $(top_builddir)/gst/libgstreamer-@GST_API_VERSION@.la
libgstcoreelements_la_SOURCES =	\
	gstcapsfilter.c		\
	gstconcat.c		\
	gstdownloadbuffer.c     \
	gstelements.c		\
	gstelements_private.c	\
	gstfakesrc.c		\
	gstfakesink.c		\
	gstfdsrc.c		\
	gstfdsink.c		\
	gstfilesink.c		\
	gstfilesrc.c		\
	gstfunnel.c		\
	gstidentity.c		\
	gstinputselector.c	\
	gstoutputselector.c	\
	gstmultiqueue.c		\
	gstqueue.c		\
	gstqueue2.c		\
	gstsparsefile.c		\
	gsttee.c		\
	gsttypefindelement.c	\
	gststreamiddemux.c	\
	gstvalve.c

libgstcoreelements_la_CFLAGS = $(GST_OBJ_CFLAGS)
libgstcoreelements_la_LIBADD = \
	$(top_builddir)/libs/gst/base/libgstbase-@GST_API_VERSION@.la \
	$(GST_OBJ_LIBS)
libgstcoreelements_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
libgstcoreelements_la_LIBTOOLFLAGS = $(GST_PLUGIN_LIBTOOLFLAGS)

noinst_HEADERS =		\
	gstcapsfilter.h		\
	gstconcat.h		\
	gstdownloadbuffer.h	\
	gstelements_private.h	\
	gstfakesink.h		\
	gstfakesrc.h		\
	gstfdsrc.h		\
	gstfdsink.h		\
	gstfilesink.h		\
	gstfilesrc.h		\
	gstfunnel.h		\
	gstidentity.h		\
	gstinputselector.h	\
	gstoutputselector.h	\
	gstmultiqueue.h		\
	gstqueue.h		\
	gstqueue2.h		\
	gstsparsefile.h		\
	gsttee.h		\
	gsttypefindelement.h	\
	gststreamiddemux.h	\
	gstvalve.h

EXTRA_DIST = gstfdsrc.c \
	     gstfdsink.c


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

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

gcov: $(libgstcoreelements_la_SOURCES:=.gcov)
