1libgstrtspincludedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/rtsp 2 3libgstrtspinclude_HEADERS = \ 4 rtsp.h \ 5 rtsp-prelude.h \ 6 gstrtsp.h \ 7 gstrtsptransport.h \ 8 gstrtspurl.h \ 9 gstrtspmessage.h \ 10 gstrtspconnection.h \ 11 gstrtspdefs.h \ 12 gstrtspextension.h \ 13 gstrtsprange.h 14 15#gstrtspextreal.h 16#gstrtspextwms.h 17 18lib_LTLIBRARIES = libgstrtsp-@GST_API_VERSION@.la 19 20built_sources = gstrtsp-enumtypes.c 21built_headers = gstrtsp-enumtypes.h 22 23libgstrtsp_@GST_API_VERSION@_la_SOURCES = gstrtsptransport.c \ 24 gstrtspurl.c \ 25 gstrtspmessage.c \ 26 gstrtspconnection.c \ 27 gstrtspdefs.c \ 28 gstrtspextension.c \ 29 gstrtsprange.c 30 31nodist_libgstrtsp_@GST_API_VERSION@_la_SOURCES = $(built_sources) 32nodist_libgstrtspinclude_HEADERS = gstrtsp-enumtypes.h 33 34#gstrtspextwms.c 35#rtspextreal.c 36 37libgstrtsp_@GST_API_VERSION@_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(GIO_CFLAGS) -DBUILDING_GST_RTSP 38libgstrtsp_@GST_API_VERSION@_la_LIBADD = $(GST_BASE_LIBS) $(GST_LIBS) $(GIO_LIBS) $(LIBM) 39libgstrtsp_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS) $(WIN32_LIBS) 40 41BUILT_SOURCES = $(built_headers) $(built_sources) 42CLEANFILES = $(BUILT_SOURCES) 43 44glib_gen_prefix = __gst_rtsp 45glib_enum_define = gst_rtsp 46glib_enum_headers = $(libgstrtspinclude_HEADERS) 47glib_gen_basename = gstrtsp 48glib_gen_decl_banner=GST_RTSP_API 49glib_gen_decl_include=\#include <gst/rtsp/rtsp-prelude.h> 50 51include $(top_srcdir)/common/gst-glib-gen.mak 52 53if HAVE_INTROSPECTION 54BUILT_GIRSOURCES = GstRtsp-@GST_API_VERSION@.gir 55 56gir_headers=$(patsubst %,$(srcdir)/%, $(libgstrtspinclude_HEADERS)) 57gir_headers+=$(patsubst %,$(builddir)/%, $(nodist_libgstrtspinclude_HEADERS)) 58gir_sources=$(patsubst %,$(srcdir)/%, $(libgstrtsp_@GST_API_VERSION@_la_SOURCES)) 59gir_sources+=$(patsubst %,$(builddir)/%, $(nodist_libgstrtsp_@GST_API_VERSION@_la_SOURCES)) 60 61GstRtsp-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstrtsp-@GST_API_VERSION@.la 62 $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" GI_SCANNER_DISABLE_CACHE=yes\ 63 GST_PLUGIN_SYSTEM_PATH_1_0="" GST_PLUGIN_PATH_1_0="" GST_REGISTRY_DISABLE=yes \ 64 CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" CC="$(CC)" PKG_CONFIG="$(PKG_CONFIG)" DLLTOOL="$(DLLTOOL)" \ 65 $(INTROSPECTION_SCANNER) -v --namespace GstRtsp \ 66 --nsversion=@GST_API_VERSION@ \ 67 --identifier-prefix=Gst \ 68 --symbol-prefix=gst \ 69 --warn-all \ 70 --c-include "gst/rtsp/rtsp.h" \ 71 -I$(top_builddir)/gst-libs \ 72 -I$(top_srcdir)/gst-libs \ 73 --add-include-path=$(builddir)/../sdp \ 74 --add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \ 75 --add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \ 76 --library=libgstrtsp-@GST_API_VERSION@.la \ 77 --include=Gio-2.0 \ 78 --include=Gst-@GST_API_VERSION@ \ 79 --include=GstBase-@GST_API_VERSION@ \ 80 --include=GstSdp-@GST_API_VERSION@ \ 81 --libtool="${LIBTOOL}" \ 82 --pkg gio-2.0 \ 83 --pkg gstreamer-@GST_API_VERSION@ \ 84 --pkg gstreamer-base-@GST_API_VERSION@ \ 85 --pkg gstreamer-sdp-@GST_API_VERSION@ \ 86 --pkg-export gstreamer-rtsp-@GST_API_VERSION@ \ 87 --add-init-section="$(INTROSPECTION_INIT)" \ 88 --output $@ \ 89 $(gir_headers) \ 90 $(gir_sources) 91 92# INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to 93# install anything - we need to install inside our prefix. 94girdir = $(datadir)/gir-1.0 95gir_DATA = $(BUILT_GIRSOURCES) 96 97typelibsdir = $(libdir)/girepository-1.0/ 98 99typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib) 100 101%.typelib: %.gir $(INTROSPECTION_COMPILER) 102 $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \ 103 $(INTROSPECTION_COMPILER) \ 104 --includedir=$(srcdir) \ 105 --includedir=$(builddir) \ 106 --includedir=$(builddir)/../sdp \ 107 --includedir=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \ 108 --includedir=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \ 109 $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F) 110 111CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA) 112endif 113