1 libgstrtspincludedir = $(includedir)/gstreamer-@GST_MAJORMINOR@/gst/rtsp
3 libgstrtspinclude_HEADERS = gstrtspbase64.h \
15 lib_LTLIBRARIES = libgstrtsp-@GST_MAJORMINOR@.la
17 built_sources = gstrtsp-marshal.c gstrtsp-enumtypes.c
18 built_headers = gstrtsp-marshal.h gstrtsp-enumtypes.h
20 libgstrtsp_@GST_MAJORMINOR@_la_SOURCES = gstrtspbase64.c \
29 nodist_libgstrtsp_@GST_MAJORMINOR@_la_SOURCES = $(built_sources)
30 nodist_libgstrtspinclude_HEADERS = gstrtsp-enumtypes.h
32 noinst_HEADERS = gstrtsp.h
37 libgstrtsp_@GST_MAJORMINOR@_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)
38 libgstrtsp_@GST_MAJORMINOR@_la_LIBADD = $(GST_LIBS) $(WIN32_LIBS) $(HSTRERROR_LIBS)
39 libgstrtsp_@GST_MAJORMINOR@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
41 BUILT_SOURCES = $(built_headers) $(built_sources)
42 EXTRA_DIST = gstrtsp-marshal.list
43 CLEANFILES = $(BUILT_SOURCES)
45 glib_gen_prefix = __gst_rtsp
46 glib_enum_define = gst_rtsp
47 glib_enum_headers = gstrtspdefs.h
48 glib_gen_basename = gstrtsp
50 include $(top_srcdir)/common/gst-glib-gen.mak
53 BUILT_GIRSOURCES = GstRtsp-@GST_MAJORMINOR@.gir
55 gir_headers=$(patsubst %,$(srcdir)/%, $(libgstrtspinclude_HEADERS))
56 gir_headers+=$(patsubst %,$(builddir)/%, $(nodist_libgstrtspinclude_HEADERS))
57 gir_sources=$(patsubst %,$(srcdir)/%, $(libgstrtsp_@GST_MAJORMINOR@_la_SOURCES))
58 gir_sources+=$(patsubst %,$(builddir)/%, $(nodist_libgstrtsp_@GST_MAJORMINOR@_la_SOURCES))
59 gir_cincludes=$(patsubst %,--c-include='gst/rtsp/%',$(libgstrtspinclude_HEADERS))
60 gir_cincludes+=$(patsubst %,--c-include='gst/rtsp/%',$(nodist_libgstrtspinclude_HEADERS))
62 GstRtsp-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstrtsp-@GST_MAJORMINOR@.la
63 $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \
64 GST_PLUGIN_SYSTEM_PATH="" GST_PLUGIN_PATH="" GST_REGISTRY_UPDATE=no \
65 $(INTROSPECTION_SCANNER) -v --namespace GstRtsp \
66 --nsversion=@GST_MAJORMINOR@ \
69 -I$(top_builddir)/gst-libs \
70 -I$(top_srcdir)/gst-libs \
71 --add-include-path=$(builddir)/../sdp \
72 --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-@GST_MAJORMINOR@` \
73 --library=libgstrtsp-@GST_MAJORMINOR@.la \
74 --include=Gst-@GST_MAJORMINOR@ \
75 --include=GstSdp-@GST_MAJORMINOR@ \
76 --libtool="$(top_builddir)/libtool" \
77 --pkg gstreamer-@GST_MAJORMINOR@ \
78 --pkg gstreamer-sdp-@GST_MAJORMINOR@ \
79 --pkg-export gstreamer-rtsp-@GST_MAJORMINOR@ \
80 --add-init-section="gst_init(NULL,NULL);" \
85 # INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to
86 # install anything - we need to install inside our prefix.
87 girdir = $(datadir)/gir-1.0
88 gir_DATA = $(BUILT_GIRSOURCES)
90 typelibsdir = $(libdir)/girepository-1.0/
92 typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
94 %.typelib: %.gir $(INTROSPECTION_COMPILER)
95 $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \
96 $(INTROSPECTION_COMPILER) \
97 --includedir=$(srcdir) \
98 --includedir=$(builddir) \
99 --includedir=$(builddir)/../sdp \
100 --includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-@GST_MAJORMINOR@` \
101 $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
103 CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
106 Android.mk: Makefile.am $(BUILT_SOURCES)
107 androgenizer -:PROJECT libgstrtsp -:SHARED libgstrtsp-@GST_MAJORMINOR@ \
109 -:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
110 -:SOURCES $(libgstrtsp_@GST_MAJORMINOR@_la_SOURCES) \
111 $(nodist_libgstrtsp_@GST_MAJORMINOR@_la_SOURCES) \
112 -:CFLAGS $(DEFS) $(DEFAULT_INCLUDES) $(libgstrtsp_@GST_MAJORMINOR@_la_CFLAGS) \
113 -:LDFLAGS $(libgstrtsp_@GST_MAJORMINOR@_la_LDFLAGS) \
114 $(libgstrtsp_@GST_MAJORMINOR@_la_LIBADD) \
116 -:HEADER_TARGET gstreamer-@GST_MAJORMINOR@/gst/rtsp \
117 -:HEADERS $(libgstrtspinclude_HEADERS) \
118 $(nodist_libgstrtspinclude_HEADERS) \
119 -:PASSTHROUGH LOCAL_ARM_MODE:=arm \