1 libgstnetbufferincludedir = $(includedir)/gstreamer-@GST_MAJORMINOR@/gst/netbuffer
3 libgstnetbufferinclude_HEADERS = gstnetbuffer.h
5 lib_LTLIBRARIES = libgstnetbuffer-@GST_MAJORMINOR@.la
7 libgstnetbuffer_@GST_MAJORMINOR@_la_SOURCES = gstnetbuffer.c
8 libgstnetbuffer_@GST_MAJORMINOR@_la_CFLAGS = $(GST_CFLAGS)
9 libgstnetbuffer_@GST_MAJORMINOR@_la_LIBADD = $(GST_LIBS)
10 libgstnetbuffer_@GST_MAJORMINOR@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
13 BUILT_GIRSOURCES = GstNetbuffer-@GST_MAJORMINOR@.gir
15 gir_headers=$(patsubst %,$(srcdir)/%, $(libgstnetbufferinclude_HEADERS))
16 gir_sources=$(patsubst %,$(srcdir)/%, $(libgstnetbuffer_@GST_MAJORMINOR@_la_SOURCES))
17 gir_cincludes=$(patsubst %,--c-include='gst/netbuffer/%',$(libgstnetbufferinclude_HEADERS))
19 GstNetbuffer-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstnetbuffer-@GST_MAJORMINOR@.la
20 $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \
21 $(INTROSPECTION_SCANNER) -v --namespace GstNetbuffer \
22 --nsversion=@GST_MAJORMINOR@ \
25 --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-@GST_MAJORMINOR@` \
26 --library=libgstnetbuffer-@GST_MAJORMINOR@.la \
27 --include=Gst-@GST_MAJORMINOR@ \
28 --libtool="$(top_builddir)/libtool" \
29 --pkg gstreamer-@GST_MAJORMINOR@ \
30 --pkg-export gstreamer-netbuffer-@GST_MAJORMINOR@ \
35 # INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to
36 # install anything - we need to install inside our prefix.
37 girdir = $(datadir)/gir-1.0
38 gir_DATA = $(BUILT_GIRSOURCES)
40 typelibsdir = $(libdir)/girepository-1.0/
42 typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
44 %.typelib: %.gir $(INTROSPECTION_COMPILER)
45 $(AM_V_GEN)$(INTROSPECTION_COMPILER) \
46 --includedir=$(srcdir) \
47 --includedir=$(builddir) \
48 --includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-@GST_MAJORMINOR@` \
49 $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
51 CLEANFILES = $(BUILT_GIRSOURCES) $(typelibs_DATA)