plugin_LTLIBRARIES = libgstvideobox.la

ORC_SOURCE=gstvideoboxorc
include $(top_srcdir)/common/orc.mak

libgstvideobox_la_SOURCES = gstvideobox.c
nodist_libgstvideobox_la_SOURCES = $(ORC_NODIST_SOURCES)
libgstvideobox_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) \
			   $(GST_BASE_CFLAGS) \
			   $(GST_CFLAGS) \
			   $(ORC_CFLAGS)
libgstvideobox_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) \
			   $(GST_BASE_LIBS) \
			   $(GST_LIBS) \
			   $(ORC_LIBS) \
			   -lgstvideo-@GST_API_VERSION@
libgstvideobox_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
libgstvideobox_la_LIBTOOLFLAGS = --tag=disable-static

noinst_HEADERS = gstvideobox.h
EXTRA_DIST += README

Android.mk: Makefile.am $(BUILT_SOURCES)
	androgenizer \
	-:PROJECT libgstvideobox -:SHARED libgstvideobox \
	 -:TAGS eng debug \
         -:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
	 -:SOURCES $(libgstvideobox_la_SOURCES) \
	 	   $(nodist_libgstvideobox_la_SOURCES) \
	 -:CFLAGS $(DEFS) $(DEFAULT_INCLUDES) $(libgstvideobox_la_CFLAGS) \
	 -:LDFLAGS $(libgstvideobox_la_LDFLAGS) \
	           $(libgstvideobox_la_LIBADD) \
	           -ldl \
	 -:PASSTHROUGH LOCAL_ARM_MODE:=arm \
		       LOCAL_MODULE_PATH:='$$(TARGET_OUT)/lib/gstreamer-0.10' \
	> $@
