1 lib_LTLIBRARIES = libgstbase-@GST_API_VERSION@.la
3 libgstbase_@GST_API_VERSION@_la_DEPENDENCIES = \
4 $(top_builddir)/gst/libgstreamer-@GST_API_VERSION@.la
5 libgstbase_@GST_API_VERSION@_la_SOURCES = \
23 libgstbase_@GST_API_VERSION@_la_CFLAGS = $(GST_OBJ_CFLAGS) -DBUILDING_GST_BASE
24 libgstbase_@GST_API_VERSION@_la_LIBADD = $(GST_OBJ_LIBS)
25 libgstbase_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
27 libgstbase_@GST_API_VERSION@includedir = \
28 $(includedir)/gstreamer-@GST_API_VERSION@/gst/base
30 libgstbase_@GST_API_VERSION@include_HEADERS = \
51 gstbytereader-docs.h \
52 gstbytewriter-docs.h \
57 EXTRA_DIST = gstindex.c gstmemindex.c
59 CLEANFILES = *.gcno *.gcda *.gcov
61 %.c.gcov: .libs/libgstbase_@GST_API_VERSION@_la-%.gcda %.c
62 $(GCOV) -b -f -o $^ > $@.out
64 gcov: $(libgstbase_@GST_API_VERSION@_la_SOURCES:=.gcov)
67 BUILT_GIRSOURCES = GstBase-@GST_API_VERSION@.gir
69 gir_headers=$(patsubst %,$(srcdir)/%, $(libgstbase_@GST_API_VERSION@include_HEADERS))
70 gir_sources=$(patsubst %,$(srcdir)/%, $(libgstbase_@GST_API_VERSION@_la_SOURCES))
72 GstBase-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstbase-@GST_API_VERSION@.la
73 $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" GI_SCANNER_DISABLE_CACHE=yes\
74 GST_PLUGIN_SYSTEM_PATH_1_0="" GST_PLUGIN_PATH_1_0="" GST_REGISTRY_DISABLE=yes \
75 CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" CC="$(CC)" PKG_CONFIG="$(PKG_CONFIG)" DLLTOOL="$(DLLTOOL)" \
76 $(INTROSPECTION_SCANNER) -v --namespace GstBase \
77 --nsversion=@GST_API_VERSION@ \
79 --identifier-prefix=Gst \
82 -I$(top_srcdir)/libs \
84 -I$(top_builddir)/libs \
85 --c-include "gst/base/base.h" \
86 --add-include-path=$(top_builddir)/gst \
87 --library-path=$(top_builddir)/gst \
88 --library=libgstbase-@GST_API_VERSION@.la \
89 --include=Gst-@GST_API_VERSION@ \
90 --libtool="${LIBTOOL}" \
91 --pkg gstreamer-@GST_API_VERSION@ \
92 --pkg-export gstreamer-base-@GST_API_VERSION@ \
93 --add-init-section="$(INTROSPECTION_INIT)" \
98 # INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to
99 # install anything - we need to install inside our prefix.
100 girdir = $(datadir)/gir-1.0
101 gir_DATA = $(BUILT_GIRSOURCES)
103 typelibsdir = $(libdir)/girepository-1.0/
105 typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
107 %.typelib: %.gir $(INTROSPECTION_COMPILER)
108 $(AM_V_GEN)$(INTROSPECTION_COMPILER) --includedir=$(srcdir) --includedir=$(builddir) --includedir=$(top_builddir)/gst $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
110 CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)