1 lib_LTLIBRARIES = libgstpbutils-@GST_MAJORMINOR@.la
9 # variables used for enum/marshal generation
10 glib_enum_headers=$(headers_pbutils)
11 glib_enum_define=GST_INSTALL
12 glib_enum_prefix=gst_install
20 libgstpbutils_@GST_MAJORMINOR@_la_SOURCES = \
26 nodist_libgstpbutils_@GST_MAJORMINOR@_la_SOURCES = \
29 libgstpbutils_@GST_MAJORMINOR@includedir = $(includedir)/gstreamer-@GST_MAJORMINOR@/gst/pbutils
30 libgstpbutils_@GST_MAJORMINOR@include_HEADERS = \
32 nodist_libgstpbutils_@GST_MAJORMINOR@include_HEADERS = \
35 libgstpbutils_@GST_MAJORMINOR@_la_LIBADD = $(GST_LIBS)
36 libgstpbutils_@GST_MAJORMINOR@_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
37 libgstpbutils_@GST_MAJORMINOR@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
43 CLEANFILES = $(BUILT_SOURCES)
46 include $(top_srcdir)/common/glib-gen.mak
49 BUILT_GIRSOURCES = GstPbutils-@GST_MAJORMINOR@.gir
51 gir_headers=$(patsubst %,$(srcdir)/%, $(libgstpbutils_@GST_MAJORMINOR@include_HEADERS))
52 gir_headers+=$(patsubst %,$(builddir)/%, $(nodist_libgstpbutils_@GST_MAJORMINOR@include_HEADERS))
53 gir_sources=$(patsubst %,$(srcdir)/%, $(libgstpbutils_@GST_MAJORMINOR@_la_SOURCES))
54 gir_sources+=$(patsubst %,$(builddir)/%, $(nodist_libgstpbutils_@GST_MAJORMINOR@_la_SOURCES))
55 gir_cincludes=$(patsubst %,--c-include='gst/pbutils/%',$(libgstpbutils_@GST_MAJORMINOR@include_HEADERS))
56 gir_cincludes+=$(patsubst %,--c-include='gst/pbutils/%',$(nodist_libgstpbutils_@GST_MAJORMINOR@include_HEADERS))
58 GstPbutils-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstpbutils-@GST_MAJORMINOR@.la
59 $(INTROSPECTION_SCANNER) -v --namespace GstPbutils \
60 --nsversion=@GST_MAJORMINOR@ \
63 -I$(top_srcdir)/gst-libs \
64 -I$(top_builddir)/gst-libs \
65 --add-include-path=`$(PKG_CONFIG) --variable=libdir gstreamer-0.10`/gst \
66 --library=gstpbutils-0.10 \
68 --libtool="$(top_builddir)/libtool" \
69 --pkg gstreamer-0.10 \
74 # INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to
75 # install anything - we need to install inside our prefix.
76 girdir = $(datadir)/gir-1.0
77 gir_DATA = $(BUILT_GIRSOURCES)
79 typelibsdir = $(libdir)/girepository-1.0/
81 typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
83 %.typelib: %.gir $(INTROSPECTION_COMPILER)
84 $(INTROSPECTION_COMPILER) --includedir=$(srcdir) --includedir=$(builddir) --includedir=`$(PKG_CONFIG) --variable=libdir gstreamer-0.10`/gst $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
86 CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)