1 lib_LTLIBRARIES = libgstpbutils-@GST_API_VERSION@.la
13 # variables used for enum/marshal generation
14 glib_enum_headers = $(headers_pbutils)
15 glib_enum_define = PB_UTILS
16 glib_gen_prefix = pbutils
17 glib_gen_basename = pbutils
19 built_headers_configure = \
20 gstpluginsbaseversion.h
22 libgstpbutils_@GST_API_VERSION@_la_SOURCES = \
23 gstpluginsbaseversion.c \
34 nodist_libgstpbutils_@GST_API_VERSION@_la_SOURCES = \
38 libgstpbutils_@GST_API_VERSION@includedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/pbutils
39 libgstpbutils_@GST_API_VERSION@include_HEADERS = \
41 nodist_libgstpbutils_@GST_API_VERSION@include_HEADERS = \
42 $(built_headers_configure) \
46 EXTRA_DIST = pbutils-marshal.list
48 libgstpbutils_@GST_API_VERSION@_la_LIBADD = \
49 $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la \
50 $(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la \
52 libgstpbutils_@GST_API_VERSION@_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
53 libgstpbutils_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
61 CLEANFILES = $(BUILT_SOURCES)
63 # DISTCLEANFILES is for files generated by configure
64 DISTCLEANFILES = $(built_headers_configure)
66 include $(top_srcdir)/common/gst-glib-gen.mak
69 BUILT_GIRSOURCES = GstPbutils-@GST_API_VERSION@.gir
71 gir_headers=$(patsubst %,$(srcdir)/%, $(libgstpbutils_@GST_API_VERSION@include_HEADERS))
72 gir_headers+=$(patsubst %,$(builddir)/%, $(nodist_libgstpbutils_@GST_API_VERSION@include_HEADERS))
73 gir_sources=$(patsubst %,$(srcdir)/%, $(libgstpbutils_@GST_API_VERSION@_la_SOURCES))
74 gir_sources+=$(patsubst %,$(builddir)/%, $(nodist_libgstpbutils_@GST_API_VERSION@_la_SOURCES))
75 gir_cincludes=$(patsubst %,--c-include='gst/pbutils/%',$(libgstpbutils_@GST_API_VERSION@include_HEADERS))
76 gir_cincludes+=$(patsubst %,--c-include='gst/pbutils/%',$(nodist_libgstpbutils_@GST_API_VERSION@include_HEADERS))
78 GstPbutils-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstpbutils-@GST_API_VERSION@.la
79 $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \
80 GST_PLUGIN_SYSTEM_PATH="" GST_PLUGIN_PATH="" GST_REGISTRY_UPDATE=no \
81 $(INTROSPECTION_SCANNER) -v --namespace GstPbutils \
82 --nsversion=@GST_API_VERSION@ \
86 -DGST_USE_UNSTABLE_API \
87 -I$(top_srcdir)/gst-libs \
88 -I$(top_builddir)/gst-libs \
89 --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \
90 --library=libgstpbutils-@GST_API_VERSION@.la \
91 --library-path=`$(PKG_CONFIG) --variable=libdir gstreamer-@GST_API_VERSION@` \
92 --library=gstreamer-@GST_API_VERSION@ \
93 --include=Gst-@GST_API_VERSION@ \
94 --libtool="$(top_builddir)/libtool" \
95 --pkg gstreamer-@GST_API_VERSION@ \
96 --pkg-export gstreamer-pbutils-@GST_API_VERSION@ \
97 --add-init-section="gst_init(NULL,NULL);" \
102 # INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to
103 # install anything - we need to install inside our prefix.
104 girdir = $(datadir)/gir-1.0
105 gir_DATA = $(BUILT_GIRSOURCES)
107 typelibsdir = $(libdir)/girepository-1.0/
109 typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
111 %.typelib: %.gir $(INTROSPECTION_COMPILER)
112 $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \
113 $(INTROSPECTION_COMPILER) \
114 --includedir=$(srcdir) \
115 --includedir=$(builddir) \
116 --includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \
117 $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
119 CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
122 Android.mk: Makefile.am $(BUILT_SOURCES)
123 androgenizer -:PROJECT libgstpbutils -:SHARED libgstpbutils-@GST_API_VERSION@ \
125 -:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
126 -:SOURCES $(libgstpbutils_@GST_API_VERSION@_la_SOURCES) \
127 $(nodist_libgstpbutils_@GST_API_VERSION@_la_SOURCES) \
128 -:CFLAGS $(DEFS) $(DEFAULT_INCLUDES) $(libgstpbutils_@GST_API_VERSION@_la_CFLAGS) \
129 -:LDFLAGS $(libgstpbutils_@GST_API_VERSION@_la_LDFLAGS) \
130 $(libgstpbutils_@GST_API_VERSION@_la_LIBADD) \
132 -:HEADER_TARGET gstreamer-@GST_API_VERSION@/gst/pbutils \
133 -:HEADERS $(libgstpbutils_@GST_API_VERSION@include_HEADERS) \
134 $(nodist_libgstpbutils_@GST_API_VERSION@include_HEADERS) \
135 -:PASSTHROUGH LOCAL_ARM_MODE:=arm \