1lib_LTLIBRARIES = libgstinsertbin-@GST_API_VERSION@.la 2 3libgstinsertbin_@GST_API_VERSION@_la_SOURCES = gstinsertbin.c 4 5libgstinsertbin_@GST_API_VERSION@includedir = \ 6 $(includedir)/gstreamer-@GST_API_VERSION@/gst/insertbin 7 8libgstinsertbin_@GST_API_VERSION@include_HEADERS = gstinsertbin.h 9 10libgstinsertbin_@GST_API_VERSION@_la_CFLAGS = \ 11 $(GST_PLUGINS_BAD_CFLAGS) \ 12 -DBUILDING_GST_INSERT_BIN \ 13 $(GST_CFLAGS) 14 15libgstinsertbin_@GST_API_VERSION@_la_LIBADD = \ 16 $(GST_LIBS) 17 18libgstinsertbin_@GST_API_VERSION@_la_LDFLAGS = \ 19 $(GST_LIB_LDFLAGS) \ 20 $(GST_ALL_LDFLAGS) \ 21 $(GST_LT_LDFLAGS) 22 23 24if HAVE_INTROSPECTION 25BUILT_GIRSOURCES = GstInsertBin-@GST_API_VERSION@.gir 26 27gir_headers=$(patsubst %,$(srcdir)/%, $(libgstinsertbin_@GST_API_VERSION@include_HEADERS)) 28gir_headers+=$(patsubst %,$(builddir)/%, $(built_headers)) 29gir_sources=$(patsubst %,$(srcdir)/%, $(libgstinsertbin_@GST_API_VERSION@_la_SOURCES)) 30gir_sources+=$(patsubst %,$(builddir)/%, $(built_sources)) 31 32GstInsertBin-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstinsertbin-@GST_API_VERSION@.la 33 $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" GI_SCANNER_DISABLE_CACHE=yes\ 34 GST_PLUGIN_SYSTEM_PATH_1_0="" GST_PLUGIN_PATH_1_0="" GST_REGISTRY_UPDATE=no \ 35 CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" CC="$(CC)" PKG_CONFIG="$(PKG_CONFIG)" DLLTOOL="$(DLLTOOL)" \ 36 $(INTROSPECTION_SCANNER) -v --namespace GstInsertBin \ 37 --nsversion=@GST_API_VERSION@ \ 38 --identifier-prefix=Gst \ 39 --symbol-prefix=gst \ 40 --warn-all \ 41 --c-include "gst/insertbin/gstinsertbin.h" \ 42 -I$(top_srcdir)/gst-libs \ 43 -I$(top_builddir)/gst-libs \ 44 --add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \ 45 --add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \ 46 --library=libgstinsertbin-@GST_API_VERSION@.la \ 47 --include=Gst-@GST_API_VERSION@ \ 48 --include=GstBase-@GST_API_VERSION@ \ 49 --libtool="${LIBTOOL}" \ 50 --pkg gstreamer-@GST_API_VERSION@ \ 51 --pkg gstreamer-base-@GST_API_VERSION@ \ 52 --pkg-export gstreamer-insertbin-@GST_API_VERSION@ \ 53 --add-init-section="$(INTROSPECTION_INIT)" \ 54 -DGST_USE_UNSTABLE_API \ 55 --output $@ \ 56 $(gir_headers) \ 57 $(gir_sources) 58 59# INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to 60# install anything - we need to install inside our prefix. 61girdir = $(datadir)/gir-1.0 62gir_DATA = $(BUILT_GIRSOURCES) 63 64typelibsdir = $(libdir)/girepository-1.0/ 65 66typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib) 67 68%.typelib: %.gir $(INTROSPECTION_COMPILER) 69 $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \ 70 $(INTROSPECTION_COMPILER) \ 71 --includedir=$(srcdir) \ 72 --includedir=$(builddir) \ 73 --includedir=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \ 74 --includedir=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \ 75 $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F) 76 77CLEANFILES = $(BUILT_GIRSOURCES) $(typelibs_DATA) 78endif 79