
plugin_LTLIBRARIES = libgstcoreelements.la

libgstcoreelements_la_DEPENDENCIES = $(top_builddir)/gst/libgstreamer-@GST_API_VERSION@.la
libgstcoreelements_la_SOURCES =	\
	gstcapsfilter.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	\
	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		\
	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	\
	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)

Android.mk: Makefile.am
	androgenizer -:PROJECT gstreamer -:SHARED libgstcoreelements -:TAGS eng debug \
	 -:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
	 -:SOURCES $(libgstcoreelements_la_SOURCES) \
	 -:CFLAGS $(DEFS) $(libgstcoreelements_la_CFLAGS) \
	 -:LDFLAGS $(libgstcoreelements_la_LDFLAGS) \
	            $(libgstcoreelements_la_LIBADD) \
	 -:PASSTHROUGH LOCAL_ARM_MODE:=arm \
	               LOCAL_MODULE_PATH:=$$\(TARGET_OUT\)/lib/gstreamer-@GST_API_VERSION@ \
	> $@
