summaryrefslogtreecommitdiff
path: root/gst/rtsp-server/Makefile.am
diff options
context:
space:
mode:
authorSebastian Pölsterl <sebp@k-d-w.org>2010-09-22 23:13:37 +0200
committerWim Taymans <wim.taymans@collabora.co.uk>2010-09-23 13:39:42 +0200
commit347e10e1f95f5e86b91a3cae4f8612f5a65ffe59 (patch)
treecbe6aba1814331cd3b40d3dcb49924658df12de6 /gst/rtsp-server/Makefile.am
parentc310f0032ccb12633e8894a531a2e0c096c5df0f (diff)
Added initial gobject-introspection support
Diffstat (limited to 'gst/rtsp-server/Makefile.am')
-rw-r--r--gst/rtsp-server/Makefile.am50
1 files changed, 39 insertions, 11 deletions
diff --git a/gst/rtsp-server/Makefile.am b/gst/rtsp-server/Makefile.am
index 1b33fc3..88a30d4 100644
--- a/gst/rtsp-server/Makefile.am
+++ b/gst/rtsp-server/Makefile.am
@@ -1,24 +1,24 @@
public_headers = \
- rtsp-server.h \
- rtsp-client.h \
+ rtsp-params.h \
+ rtsp-sdp.h \
rtsp-media.h \
rtsp-media-factory.h \
rtsp-media-mapping.h \
- rtsp-params.h \
- rtsp-sdp.h \
+ rtsp-session.h \
rtsp-session-pool.h \
- rtsp-session.h
+ rtsp-client.h \
+ rtsp-server.h
c_sources = \
- rtsp-server.c \
- rtsp-client.c \
+ rtsp-params.c \
+ rtsp-sdp.c \
rtsp-media.c \
rtsp-media-factory.c \
- rtsp-media-mapping.c \
- rtsp-params.c \
- rtsp-sdp.c \
+ rtsp-media-mapping.c \
+ rtsp-session.c \
rtsp-session-pool.c \
- rtsp-session.c
+ rtsp-client.c \
+ rtsp-server.c
lib_LTLIBRARIES = \
libgstrtspserver-@GST_MAJORMINOR@.la
@@ -38,3 +38,31 @@ libgstrtspserver_@GST_MAJORMINOR@_la_LIBTOOLFLAGS = --tag=disable-static
libgstrtspserver_@GST_MAJORMINOR@includedir = $(includedir)/gstreamer-@GST_MAJORMINOR@/gst/rtsp-server
libgstrtspserver_@GST_MAJORMINOR@include_HEADERS = $(public_headers)
+
+CLEANFILES =
+
+-include $(INTROSPECTION_MAKEFILE)
+INTROSPECTION_GIRS =
+INTROSPECTION_SCANNER_ARGS = --add-include-path=$(srcdir) --strip-prefix=Gst
+INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir)
+
+if HAVE_INTROSPECTION
+introspection_sources = $(public_headers) $(c_sources)
+
+GstRtspServer-0.10.gir: $(INTROSPECTION_SCANNER) libgstrtspserver-@GST_MAJORMINOR@.la
+GstRtspServer_0_10_gir_INCLUDES = Gst-@GST_MAJORMINOR@ GstRtsp-@GST_MAJORMINOR@
+GstRtspServer_0_10_gir_CFLAGS = $(INCLUDES)
+GstRtspServer_0_10_gir_LIBS = libgstrtspserver-@GST_MAJORMINOR@.la
+GstRtspServer_0_10_gir_FILES = $(introspection_sources)
+GstRtspServer_0_10_gir_NAMESPACE = GstRtspServer
+GstRtspServer_0_10_gir_VERSION = @GST_MAJORMINOR@
+INTROSPECTION_GIRS += GstRtspServer-0.10.gir
+
+girdir = $(datadir)/gir-1.0
+gir_DATA = $(INTROSPECTION_GIRS)
+
+typelibdir = $(libdir)/girepository-1.0
+typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
+
+CLEANFILES += $(gir_DATA) $(typelib_DATA)
+endif