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 = \
20 libgstbase_@GST_API_VERSION@_la_CFLAGS = $(GST_OBJ_CFLAGS)
21 libgstbase_@GST_API_VERSION@_la_LIBADD = $(GST_OBJ_LIBS)
22 libgstbase_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
24 libgstbase_@GST_API_VERSION@includedir = \
25 $(includedir)/gstreamer-@GST_API_VERSION@/gst/base
27 libgstbase_@GST_API_VERSION@include_HEADERS = \
44 gstbytereader-docs.h \
45 gstbytewriter-docs.h \
49 EXTRA_DIST = gstindex.c gstmemindex.c
51 CLEANFILES = *.gcno *.gcda *.gcov
53 %.c.gcov: .libs/libgstbase_@GST_API_VERSION@_la-%.gcda %.c
54 $(GCOV) -b -f -o $^ > $@.out
56 gcov: $(libgstbase_@GST_API_VERSION@_la_SOURCES:=.gcov)
58 Android.mk: Makefile.am
59 androgenizer -:PROJECT gstreamer -:SHARED libgstbase-@GST_API_VERSION@ -:TAGS eng debug \
60 -:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
61 -:SOURCES $(libgstbase_@GST_API_VERSION@_la_SOURCES) \
62 -:CFLAGS $(DEFS) $(libgstbase_@GST_API_VERSION@_la_CFLAGS) \
63 -:LDFLAGS $(libgstbase_@GST_API_VERSION@_la_LDFLAGS) \
64 $(libgstbase_@GST_API_VERSION@_la_LIBADD) \
65 -:HEADER_TARGET gstreamer-@GST_API_VERSION@/gst/base \
66 -:HEADERS $(libgstbase_@GST_API_VERSION@include_HEADERS) \
67 -:PASSTHROUGH LOCAL_ARM_MODE:=arm \
71 BUILT_GIRSOURCES = GstBase-@GST_API_VERSION@.gir
73 gir_headers=$(patsubst %,$(srcdir)/%, $(libgstbase_@GST_API_VERSION@include_HEADERS))
74 gir_sources=$(patsubst %,$(srcdir)/%, $(libgstbase_@GST_API_VERSION@_la_SOURCES))
76 GstBase-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstbase-@GST_API_VERSION@.la
77 $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \
78 GST_PLUGIN_SYSTEM_PATH_1_0="" GST_PLUGIN_PATH_1_0="" GST_REGISTRY_UPDATE=no \
79 $(INTROSPECTION_SCANNER) -v --namespace GstBase \
80 --nsversion=@GST_API_VERSION@ \
84 -I$(top_srcdir)/libs \
86 -I$(top_builddir)/libs \
87 --c-include "gst/base/base.h" \
88 --add-include-path=$(top_builddir)/gst \
89 --library-path=$(top_builddir)/gst \
90 --library=libgstbase-@GST_API_VERSION@.la \
91 --include=Gst-@GST_API_VERSION@ \
92 --libtool="$(top_builddir)/libtool" \
93 --pkg gstreamer-@GST_API_VERSION@ \
94 --pkg-export gstreamer-base-@GST_API_VERSION@ \
95 --add-init-section="gst_init(NULL,NULL);" \
100 # INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to
101 # install anything - we need to install inside our prefix.
102 girdir = $(datadir)/gir-1.0
103 gir_DATA = $(BUILT_GIRSOURCES)
105 typelibsdir = $(libdir)/girepository-1.0/
107 typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
109 %.typelib: %.gir $(INTROSPECTION_COMPILER)
110 $(AM_V_GEN)$(INTROSPECTION_COMPILER) --includedir=$(srcdir) --includedir=$(builddir) --includedir=$(top_builddir)/gst $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
112 CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)