2005-04-25 00:23:06 +00:00
|
|
|
lib_LTLIBRARIES = libgstriff-@GST_MAJORMINOR@.la
|
2001-12-23 12:18:18 +00:00
|
|
|
|
2005-04-25 00:23:06 +00:00
|
|
|
libgstriff_@GST_MAJORMINOR@_la_SOURCES = \
|
2003-12-07 22:49:04 +00:00
|
|
|
riff.c \
|
|
|
|
riff-media.c \
|
2003-12-07 22:50:30 +00:00
|
|
|
riff-read.c
|
2001-12-23 12:18:18 +00:00
|
|
|
|
2005-04-25 00:23:06 +00:00
|
|
|
libgstriff_@GST_MAJORMINOR@includedir = $(includedir)/gstreamer-@GST_MAJORMINOR@/gst/riff
|
|
|
|
libgstriff_@GST_MAJORMINOR@include_HEADERS = \
|
2003-12-07 22:49:04 +00:00
|
|
|
riff-ids.h \
|
|
|
|
riff-media.h \
|
2003-12-07 22:50:30 +00:00
|
|
|
riff-read.h
|
2001-12-23 12:18:18 +00:00
|
|
|
|
2007-07-26 15:35:43 +00:00
|
|
|
libgstriff_@GST_MAJORMINOR@_la_LIBADD = \
|
2007-06-05 16:20:44 +00:00
|
|
|
$(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_MAJORMINOR@.la \
|
2007-07-26 15:35:43 +00:00
|
|
|
$(top_builddir)/gst-libs/gst/tag/libgsttag-@GST_MAJORMINOR@.la \
|
|
|
|
$(GST_BASE_LIBS) $(GST_LIBS)
|
|
|
|
|
2007-01-04 12:49:48 +00:00
|
|
|
libgstriff_@GST_MAJORMINOR@_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)
|
2005-11-27 16:18:50 +00:00
|
|
|
libgstriff_@GST_MAJORMINOR@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
|
2009-09-05 09:23:13 +00:00
|
|
|
|
|
|
|
if HAVE_INTROSPECTION
|
|
|
|
BUILT_GIRSOURCES = GstRiff-@GST_MAJORMINOR@.gir
|
|
|
|
|
|
|
|
gir_headers=$(patsubst %,$(srcdir)/%, $(libgstriff_@GST_MAJORMINOR@include_HEADERS))
|
|
|
|
gir_sources=$(patsubst %,$(srcdir)/%, $(libgstriff_@GST_MAJORMINOR@_la_SOURCES))
|
|
|
|
gir_cincludes=$(patsubst %,--c-include='gst/riff/%',$(libgstriff_@GST_MAJORMINOR@include_HEADERS))
|
|
|
|
|
|
|
|
GstRiff-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstriff-@GST_MAJORMINOR@.la
|
2009-09-12 12:01:20 +00:00
|
|
|
PKG_CONFIG_PATH="$(PKG_CONFIG_PATH):$(top_builddir)/pkgconfig" \
|
|
|
|
$(INTROSPECTION_SCANNER) -v --namespace GstRiff \
|
2009-09-05 09:23:13 +00:00
|
|
|
--nsversion=@GST_MAJORMINOR@ \
|
2009-09-05 10:31:47 +00:00
|
|
|
--strip-prefix=Gst \
|
2009-09-05 09:23:13 +00:00
|
|
|
$(gir_cincludes) \
|
|
|
|
--add-include-path=`$(PKG_CONFIG) --variable=libdir gstreamer-0.10`/gst \
|
|
|
|
--library=gstriff-0.10 \
|
|
|
|
--include=Gst-0.10 \
|
|
|
|
--libtool="$(top_builddir)/libtool" \
|
|
|
|
--pkg gstreamer-0.10 \
|
|
|
|
--output $@ \
|
|
|
|
$(gir_headers) \
|
|
|
|
$(gir_sources)
|
|
|
|
|
|
|
|
# INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to
|
|
|
|
# install anything - we need to install inside our prefix.
|
|
|
|
girdir = $(datadir)/gir-1.0
|
|
|
|
gir_DATA = $(BUILT_GIRSOURCES)
|
|
|
|
|
|
|
|
typelibsdir = $(libdir)/girepository-1.0/
|
|
|
|
|
|
|
|
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
|
|
|
|
|
|
|
|
%.typelib: %.gir $(INTROSPECTION_COMPILER)
|
2009-09-05 09:49:41 +00:00
|
|
|
$(INTROSPECTION_COMPILER) --includedir=$(srcdir) --includedir=$(builddir) --includedir=`$(PKG_CONFIG) --variable=libdir gstreamer-0.10`/gst $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
2009-09-05 09:23:13 +00:00
|
|
|
|
|
|
|
CLEANFILES = $(BUILT_GIRSOURCES) $(typelibs_DATA)
|
|
|
|
endif
|