2005-11-29 23:51:28 +00:00
|
|
|
libgstnetbufferincludedir = $(includedir)/gstreamer-@GST_MAJORMINOR@/gst/netbuffer
|
2005-06-02 14:01:22 +00:00
|
|
|
|
2005-11-30 00:11:51 +00:00
|
|
|
libgstnetbufferinclude_HEADERS = gstnetbuffer.h
|
2005-06-02 14:01:22 +00:00
|
|
|
|
2005-11-29 23:51:28 +00:00
|
|
|
lib_LTLIBRARIES = libgstnetbuffer-@GST_MAJORMINOR@.la
|
gst-libs/gst/net/: Added buffer subclass to store extra to/from addresses for network sources/sinks.
Original commit message from CVS:
* gst-libs/gst/net/Makefile.am:
* gst-libs/gst/net/README:
* gst-libs/gst/net/gstnetbuffer.c: (gst_netbuffer_get_type),
(gst_netbuffer_class_init), (gst_netbuffer_init),
(gst_netbuffer_finalize), (gst_netbuffer_copy),
(gst_netbuffer_new), (gst_netaddress_set_ip4_address),
(gst_netaddress_set_ip6_address), (gst_netaddress_get_net_type),
(gst_netaddress_get_ip4_address), (gst_netaddress_get_ip6_address):
* gst-libs/gst/net/gstnetbuffer.h:
Added buffer subclass to store extra to/from addresses for
network sources/sinks.
2005-05-19 11:56:48 +00:00
|
|
|
|
2005-11-29 23:54:37 +00:00
|
|
|
libgstnetbuffer_@GST_MAJORMINOR@_la_SOURCES = gstnetbuffer.c
|
2005-11-29 23:51:28 +00:00
|
|
|
libgstnetbuffer_@GST_MAJORMINOR@_la_CFLAGS = $(GST_CFLAGS)
|
|
|
|
libgstnetbuffer_@GST_MAJORMINOR@_la_LIBADD = $(GST_LIBS)
|
|
|
|
libgstnetbuffer_@GST_MAJORMINOR@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
|
2009-09-05 09:17:07 +00:00
|
|
|
|
|
|
|
if HAVE_INTROSPECTION
|
|
|
|
BUILT_GIRSOURCES = GstNetbuffer-@GST_MAJORMINOR@.gir
|
|
|
|
|
|
|
|
gir_headers=$(patsubst %,$(srcdir)/%, $(libgstnetbufferinclude_HEADERS))
|
|
|
|
gir_sources=$(patsubst %,$(srcdir)/%, $(libgstnetbuffer_@GST_MAJORMINOR@_la_SOURCES))
|
|
|
|
gir_cincludes=$(patsubst %,--c-include='gst/netbuffer/%',$(libgstnetbufferinclude_HEADERS))
|
|
|
|
|
|
|
|
GstNetbuffer-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstnetbuffer-@GST_MAJORMINOR@.la
|
2010-08-14 18:02:44 +00:00
|
|
|
$(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \
|
2009-09-12 12:01:20 +00:00
|
|
|
$(INTROSPECTION_SCANNER) -v --namespace GstNetbuffer \
|
2009-09-05 09:17:07 +00:00
|
|
|
--nsversion=@GST_MAJORMINOR@ \
|
2009-09-05 10:31:47 +00:00
|
|
|
--strip-prefix=Gst \
|
2009-09-05 09:17:07 +00:00
|
|
|
$(gir_cincludes) \
|
2010-12-06 16:09:10 +00:00
|
|
|
--add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-@GST_MAJORMINOR@` \
|
|
|
|
--library=libgstnetbuffer-@GST_MAJORMINOR@.la \
|
|
|
|
--include=Gst-@GST_MAJORMINOR@ \
|
2009-09-05 09:17:07 +00:00
|
|
|
--libtool="$(top_builddir)/libtool" \
|
2010-12-06 16:09:10 +00:00
|
|
|
--pkg gstreamer-@GST_MAJORMINOR@ \
|
|
|
|
--pkg-export gstreamer-netbuffer-@GST_MAJORMINOR@ \
|
2011-03-09 11:51:14 +00:00
|
|
|
--add-init-section="gst_init(NULL,NULL);" \
|
2009-09-05 09:17:07 +00:00
|
|
|
--output $@ \
|
|
|
|
$(gir_headers) \
|
|
|
|
$(gir_sources)
|
|
|
|
|
|
|
|
# INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to
|
|
|
|
# install anything - we need to install inside our prefix.
|
|
|
|
girdir = $(datadir)/gir-1.0
|
|
|
|
gir_DATA = $(BUILT_GIRSOURCES)
|
|
|
|
|
|
|
|
typelibsdir = $(libdir)/girepository-1.0/
|
|
|
|
|
|
|
|
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
|
|
|
|
|
|
|
|
%.typelib: %.gir $(INTROSPECTION_COMPILER)
|
2011-01-08 02:10:03 +00:00
|
|
|
$(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \
|
|
|
|
$(INTROSPECTION_COMPILER) \
|
2010-03-30 18:56:56 +00:00
|
|
|
--includedir=$(srcdir) \
|
|
|
|
--includedir=$(builddir) \
|
2010-12-06 16:09:10 +00:00
|
|
|
--includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-@GST_MAJORMINOR@` \
|
2010-03-30 18:56:56 +00:00
|
|
|
$(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
2009-09-05 09:17:07 +00:00
|
|
|
|
|
|
|
CLEANFILES = $(BUILT_GIRSOURCES) $(typelibs_DATA)
|
|
|
|
endif
|