1 lib_LTLIBRARIES = libgstpbutils-@GST_MAJORMINOR@.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_MAJORMINOR@_la_SOURCES = \
23 gstpluginsbaseversion.c \
34 nodist_libgstpbutils_@GST_MAJORMINOR@_la_SOURCES = \
38 libgstpbutils_@GST_MAJORMINOR@includedir = $(includedir)/gstreamer-@GST_MAJORMINOR@/gst/pbutils
39 libgstpbutils_@GST_MAJORMINOR@include_HEADERS = \
41 nodist_libgstpbutils_@GST_MAJORMINOR@include_HEADERS = \
42 $(built_headers_configure) \
46 EXTRA_DIST = pbutils-marshal.list
48 libgstpbutils_@GST_MAJORMINOR@_la_LIBADD = $(GST_LIBS)
49 libgstpbutils_@GST_MAJORMINOR@_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
50 libgstpbutils_@GST_MAJORMINOR@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
58 CLEANFILES = $(BUILT_SOURCES)
60 # DISTCLEANFILES is for files generated by configure
61 DISTCLEANFILES = $(built_headers_configure)
63 include $(top_srcdir)/common/gst-glib-gen.mak
66 BUILT_GIRSOURCES = GstPbutils-@GST_MAJORMINOR@.gir
68 gir_headers=$(patsubst %,$(srcdir)/%, $(libgstpbutils_@GST_MAJORMINOR@include_HEADERS))
69 gir_headers+=$(patsubst %,$(builddir)/%, $(nodist_libgstpbutils_@GST_MAJORMINOR@include_HEADERS))
70 gir_sources=$(patsubst %,$(srcdir)/%, $(libgstpbutils_@GST_MAJORMINOR@_la_SOURCES))
71 gir_sources+=$(patsubst %,$(builddir)/%, $(nodist_libgstpbutils_@GST_MAJORMINOR@_la_SOURCES))
72 gir_cincludes=$(patsubst %,--c-include='gst/pbutils/%',$(libgstpbutils_@GST_MAJORMINOR@include_HEADERS))
73 gir_cincludes+=$(patsubst %,--c-include='gst/pbutils/%',$(nodist_libgstpbutils_@GST_MAJORMINOR@include_HEADERS))
75 GstPbutils-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstpbutils-@GST_MAJORMINOR@.la
76 $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \
77 GST_PLUGIN_SYSTEM_PATH="" GST_PLUGIN_PATH="" GST_REGISTRY_UPDATE=no \
78 $(INTROSPECTION_SCANNER) -v --namespace GstPbutils \
79 --nsversion=@GST_MAJORMINOR@ \
82 -I$(top_srcdir)/gst-libs \
83 -I$(top_builddir)/gst-libs \
84 --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-@GST_MAJORMINOR@` \
85 --library=libgstpbutils-@GST_MAJORMINOR@.la \
86 --library-path=`$(PKG_CONFIG) --variable=libdir gstreamer-@GST_MAJORMINOR@` \
87 --library=gstreamer-@GST_MAJORMINOR@ \
88 --include=Gst-@GST_MAJORMINOR@ \
89 --libtool="$(top_builddir)/libtool" \
90 --pkg gstreamer-@GST_MAJORMINOR@ \
91 --pkg-export gstreamer-pbutils-@GST_MAJORMINOR@ \
92 --add-init-section="gst_init(NULL,NULL);" \
97 # INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to
98 # install anything - we need to install inside our prefix.
99 girdir = $(datadir)/gir-1.0
100 gir_DATA = $(BUILT_GIRSOURCES)
102 typelibsdir = $(libdir)/girepository-1.0/
104 typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
106 %.typelib: %.gir $(INTROSPECTION_COMPILER)
107 $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \
108 $(INTROSPECTION_COMPILER) \
109 --includedir=$(srcdir) \
110 --includedir=$(builddir) \
111 --includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-@GST_MAJORMINOR@` \
112 $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
114 CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
117 Android.mk: Makefile.am $(BUILT_SOURCES)
118 androgenizer -:PROJECT libgstpbutils -:SHARED libgstpbutils-@GST_MAJORMINOR@ \
120 -:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
121 -:SOURCES $(libgstpbutils_@GST_MAJORMINOR@_la_SOURCES) \
122 $(nodist_libgstpbutils_@GST_MAJORMINOR@_la_SOURCES) \
123 -:CFLAGS $(DEFS) $(DEFAULT_INCLUDES) $(libgstpbutils_@GST_MAJORMINOR@_la_CFLAGS) \
124 -:LDFLAGS $(libgstpbutils_@GST_MAJORMINOR@_la_LDFLAGS) \
125 $(libgstpbutils_@GST_MAJORMINOR@_la_LIBADD) \
127 -:HEADER_TARGET gstreamer-@GST_MAJORMINOR@/gst/pbutils \
128 -:HEADERS $(libgstpbutils_@GST_MAJORMINOR@include_HEADERS) \
129 $(nodist_libgstpbutils_@GST_MAJORMINOR@include_HEADERS) \
130 -:PASSTHROUGH LOCAL_ARM_MODE:=arm \