rtsp: remove deprecated base64 library
[platform/upstream/gstreamer.git] / gst-libs / gst / rtsp / Makefile.am
1 libgstrtspincludedir = $(includedir)/gstreamer-@GST_MAJORMINOR@/gst/rtsp
2
3 libgstrtspinclude_HEADERS = gstrtsptransport.h \
4                             gstrtspurl.h \
5                             gstrtspmessage.h    \
6                             gstrtspconnection.h \
7                             gstrtspdefs.h       \
8                             gstrtspextension.h       \
9                             gstrtsprange.h
10
11 #gstrtspextreal.h    
12 #gstrtspextwms.h     
13
14 lib_LTLIBRARIES = libgstrtsp-@GST_MAJORMINOR@.la
15
16 built_sources = gstrtsp-marshal.c gstrtsp-enumtypes.c
17 built_headers = gstrtsp-marshal.h gstrtsp-enumtypes.h
18
19 libgstrtsp_@GST_MAJORMINOR@_la_SOURCES = gstrtsptransport.c \
20                                          gstrtspurl.c \
21                                          gstrtspmessage.c    \
22                                          gstrtspconnection.c \
23                                          gstrtspdefs.c       \
24                                          gstrtspextension.c  \
25                                          gstrtsprange.c
26
27 nodist_libgstrtsp_@GST_MAJORMINOR@_la_SOURCES = $(built_sources)
28 nodist_libgstrtspinclude_HEADERS = gstrtsp-enumtypes.h
29
30 noinst_HEADERS = gstrtsp.h
31
32 #gstrtspextwms.c  
33 #rtspextreal.c    
34
35 libgstrtsp_@GST_MAJORMINOR@_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)
36 libgstrtsp_@GST_MAJORMINOR@_la_LIBADD = $(GST_LIBS) $(WIN32_LIBS) $(HSTRERROR_LIBS)
37 libgstrtsp_@GST_MAJORMINOR@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
38
39 BUILT_SOURCES = $(built_headers) $(built_sources)
40 EXTRA_DIST = gstrtsp-marshal.list
41 CLEANFILES = $(BUILT_SOURCES)
42
43 glib_gen_prefix = __gst_rtsp
44 glib_enum_define = gst_rtsp
45 glib_enum_headers = gstrtspdefs.h
46 glib_gen_basename = gstrtsp
47
48 include $(top_srcdir)/common/gst-glib-gen.mak
49
50 if HAVE_INTROSPECTION
51 BUILT_GIRSOURCES = GstRtsp-@GST_MAJORMINOR@.gir
52
53 gir_headers=$(patsubst %,$(srcdir)/%, $(libgstrtspinclude_HEADERS))
54 gir_headers+=$(patsubst %,$(builddir)/%, $(nodist_libgstrtspinclude_HEADERS))
55 gir_sources=$(patsubst %,$(srcdir)/%, $(libgstrtsp_@GST_MAJORMINOR@_la_SOURCES))
56 gir_sources+=$(patsubst %,$(builddir)/%, $(nodist_libgstrtsp_@GST_MAJORMINOR@_la_SOURCES))
57 gir_cincludes=$(patsubst %,--c-include='gst/rtsp/%',$(libgstrtspinclude_HEADERS))
58 gir_cincludes+=$(patsubst %,--c-include='gst/rtsp/%',$(nodist_libgstrtspinclude_HEADERS))
59
60 GstRtsp-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstrtsp-@GST_MAJORMINOR@.la
61         $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \
62                 GST_PLUGIN_SYSTEM_PATH="" GST_PLUGIN_PATH="" GST_REGISTRY_UPDATE=no \
63                 $(INTROSPECTION_SCANNER) -v --namespace GstRtsp \
64                 --nsversion=@GST_MAJORMINOR@ \
65                 --strip-prefix=Gst \
66                 $(gir_cincludes) \
67                 -DGST_USE_UNSTABLE_API \
68                 -I$(top_builddir)/gst-libs \
69                 -I$(top_srcdir)/gst-libs \
70                 --add-include-path=$(builddir)/../sdp \
71                 --add-include-path=`$(PKG_CONFIG) --variable=girdir gstreamer-@GST_MAJORMINOR@` \
72                 --library=libgstrtsp-@GST_MAJORMINOR@.la \
73                 --include=Gst-@GST_MAJORMINOR@ \
74                 --include=GstSdp-@GST_MAJORMINOR@ \
75                 --libtool="$(top_builddir)/libtool" \
76                 --pkg gstreamer-@GST_MAJORMINOR@ \
77                 --pkg gstreamer-sdp-@GST_MAJORMINOR@ \
78                 --pkg-export gstreamer-rtsp-@GST_MAJORMINOR@ \
79                 --add-init-section="gst_init(NULL,NULL);" \
80                 --output $@ \
81                 $(gir_headers) \
82                 $(gir_sources)
83
84 # INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to
85 # install anything - we need to install inside our prefix.
86 girdir = $(datadir)/gir-1.0
87 gir_DATA = $(BUILT_GIRSOURCES)
88
89 typelibsdir = $(libdir)/girepository-1.0/
90
91 typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
92
93 %.typelib: %.gir $(INTROSPECTION_COMPILER)
94         $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \
95                 $(INTROSPECTION_COMPILER) \
96                 --includedir=$(srcdir) \
97                 --includedir=$(builddir) \
98                 --includedir=$(builddir)/../sdp \
99                 --includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-@GST_MAJORMINOR@` \
100                 $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
101
102 CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
103 endif
104
105 Android.mk: Makefile.am $(BUILT_SOURCES)
106         androgenizer -:PROJECT libgstrtsp -:SHARED libgstrtsp-@GST_MAJORMINOR@ \
107          -:TAGS eng debug \
108          -:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
109          -:SOURCES $(libgstrtsp_@GST_MAJORMINOR@_la_SOURCES) \
110                    $(nodist_libgstrtsp_@GST_MAJORMINOR@_la_SOURCES) \
111          -:CFLAGS $(DEFS) $(DEFAULT_INCLUDES) $(libgstrtsp_@GST_MAJORMINOR@_la_CFLAGS) \
112          -:LDFLAGS $(libgstrtsp_@GST_MAJORMINOR@_la_LDFLAGS) \
113                    $(libgstrtsp_@GST_MAJORMINOR@_la_LIBADD) \
114                    -ldl \
115          -:HEADER_TARGET gstreamer-@GST_MAJORMINOR@/gst/rtsp \
116          -:HEADERS $(libgstrtspinclude_HEADERS) \
117                    $(nodist_libgstrtspinclude_HEADERS) \
118          -:PASSTHROUGH LOCAL_ARM_MODE:=arm \
119         > $@