1 libgstrtpincludedir = $(includedir)/gstreamer-@GST_MAJORMINOR@/gst/rtp
3 libgstrtpinclude_HEADERS = gstrtpbuffer.h \
6 gstbasertpaudiopayload.h \
10 lib_LTLIBRARIES = libgstrtp-@GST_MAJORMINOR@.la
12 libgstrtp_@GST_MAJORMINOR@_la_SOURCES = gstrtpbuffer.c \
15 gstbasertpaudiopayload.c \
19 libgstrtp_@GST_MAJORMINOR@_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)
20 libgstrtp_@GST_MAJORMINOR@_la_LIBADD = $(GST_BASE_LIBS) $(GST_LIBS)
21 libgstrtp_@GST_MAJORMINOR@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
24 BUILT_GIRSOURCES = GstRtp-@GST_MAJORMINOR@.gir
26 gir_headers=$(patsubst %,$(srcdir)/%, $(libgstrtpinclude_HEADERS))
27 gir_sources=$(patsubst %,$(srcdir)/%, $(libgstrtp_@GST_MAJORMINOR@_la_SOURCES))
28 gir_cincludes=$(patsubst %,--c-include='gst/rtp/%',$(libgstrtpinclude_HEADERS))
30 GstRtp-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstrtp-@GST_MAJORMINOR@.la
31 $(AM_V_GEN)PKG_CONFIG_PATH="$(PKG_CONFIG_PATH):$(top_builddir)/pkgconfig" \
32 $(INTROSPECTION_SCANNER) -v --namespace GstRtp \
33 --nsversion=@GST_MAJORMINOR@ \
36 -I$(top_srcdir)/gst-libs \
37 --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-0.10` \
38 --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-base-0.10` \
39 --library=libgstrtp-0.10.la \
41 --include=GstBase-0.10 \
42 --libtool="$(top_builddir)/libtool" \
43 --pkg gstreamer-0.10 \
44 --pkg gstreamer-base-0.10 \
49 # INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to
50 # install anything - we need to install inside our prefix.
51 girdir = $(datadir)/gir-1.0
52 gir_DATA = $(BUILT_GIRSOURCES)
54 typelibsdir = $(libdir)/girepository-1.0/
56 typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
58 %.typelib: %.gir $(INTROSPECTION_COMPILER)
59 $(AM_V_GEN)$(INTROSPECTION_COMPILER) \
60 --includedir=$(srcdir) \
61 --includedir=$(builddir) \
62 --includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-0.10` \
63 --includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-base-0.10` \
64 $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
66 CLEANFILES = $(BUILT_GIRSOURCES) $(typelibs_DATA)