lib_LTLIBRARIES = libgstphotography-@GST_API_VERSION@.la
libgstphotographyincludedir = \
        $(includedir)/gstreamer-@GST_API_VERSION@/gst/interfaces

headers_photography = 		\
	photography.h

# variables used for enum/marshal generation
glib_enum_headers=$(headers_photography)
glib_enum_define=GST_PHOTOGRAPHY
glib_gen_prefix=gst_photography
glib_gen_basename=photography
glib_gen_decl_banner=GST_PHOTOGRAPHY_API
glib_gen_decl_include=\#include <gst/interfaces/photography-prelude.h>

built_sources = \
	photography-enumtypes.c

built_headers = \
	photography-enumtypes.h

libgstphotographyinclude_HEADERS = \
	photography-prelude.h \
	$(headers_photography)

nodist_libgstphotographyinclude_HEADERS = \
	photography-enumtypes.h

libgstphotography_@GST_API_VERSION@_la_SOURCES = \
	photography.c

nodist_libgstphotography_@GST_API_VERSION@_la_SOURCES = 	\
	$(built_sources)

libgstphotography_@GST_API_VERSION@_la_CFLAGS = \
	-DGST_USE_UNSTABLE_API \
	$(GST_PLUGINS_BAD_CFLAGS) \
	$(GST_CFLAGS)
libgstphotography_@GST_API_VERSION@_la_LIBADD = $(GST_LIBS) 
libgstphotography_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)

BUILT_SOURCES = \
	$(built_sources) \
	$(built_headers)

CLEANFILES = $(BUILT_SOURCES)

include $(top_srcdir)/common/gst-glib-gen.mak
