1 libgstsdpincludedir = $(includedir)/gstreamer-@GST_MAJORMINOR@/gst/sdp
3 libgstsdpinclude_HEADERS = gstsdp.h \
6 lib_LTLIBRARIES = libgstsdp-@GST_MAJORMINOR@.la
8 libgstsdp_@GST_MAJORMINOR@_la_SOURCES = gstsdpmessage.c
10 libgstsdp_@GST_MAJORMINOR@_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)
11 libgstsdp_@GST_MAJORMINOR@_la_LIBADD = $(GST_LIBS) $(WIN32_LIBS)
12 libgstsdp_@GST_MAJORMINOR@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
15 BUILT_GIRSOURCES = GstSdp-@GST_MAJORMINOR@.gir
17 gir_headers=$(patsubst %,$(srcdir)/%, $(libgstsdpinclude_HEADERS))
18 gir_sources=$(patsubst %,$(srcdir)/%, $(libgstsdp_@GST_MAJORMINOR@_la_SOURCES))
19 gir_cincludes=$(patsubst %,--c-include='gst/audio/%',$(libgstsdpinclude_HEADERS))
21 GstSdp-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstsdp-@GST_MAJORMINOR@.la
22 $(AM_V_GEN)PKG_CONFIG_PATH="$(PKG_CONFIG_PATH):$(top_builddir)/pkgconfig" \
23 $(INTROSPECTION_SCANNER) -v --namespace GstSdp \
24 --nsversion=@GST_MAJORMINOR@ \
27 -I$(top_srcdir)/gst-libs \
28 --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-0.10` \
29 --library=gstsdp-0.10 \
31 --libtool="$(top_builddir)/libtool" \
32 --pkg gstreamer-0.10 \
37 # INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to
38 # install anything - we need to install inside our prefix.
39 girdir = $(datadir)/gir-1.0
40 gir_DATA = $(BUILT_GIRSOURCES)
42 typelibsdir = $(libdir)/girepository-1.0/
44 typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
46 %.typelib: %.gir $(INTROSPECTION_COMPILER)
47 $(AM_V_GEN)$(INTROSPECTION_COMPILER) \
48 --includedir=$(srcdir) \
49 --includedir=$(builddir) \
50 --includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-0.10` \
51 $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
53 CLEANFILES = $(BUILT_GIRSOURCES) $(typelibs_DATA)