Put GStreamer version in library name
[platform/upstream/gstreamer.git] / gst / rtsp-server / Makefile.am
1 public_headers = \
2                 rtsp-server.h \
3                 rtsp-client.h \
4                 rtsp-media.h
5                 
6 c_sources = \
7         rtsp-server.c \
8         rtsp-client.c \
9         rtsp-media.c \
10         rtsp-session-pool.c \
11         rtsp-session.c
12         
13 noinst_HEADERS = \
14         rtsp-session-pool.h \
15         rtsp-session.h
16
17 lib_LTLIBRARIES = \
18         libgstrtspserver-@GST_MAJORMINOR@.la
19
20 libgstrtspserver_@GST_MAJORMINOR@_la_SOURCES = \
21     $(c_sources)
22     
23 libgstrtspserver_@GST_MAJORMINOR@_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
24 libgstrtspserver_@GST_MAJORMINOR@_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
25 libgstrtspserver_@GST_MAJORMINOR@_la_LIBADD = \
26         $(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) \
27     -lgstrtp-@GST_MAJORMINOR@ -lgstrtsp-@GST_MAJORMINOR@ \
28             -lgstsdp-@GST_MAJORMINOR@ $(GST_LIBS) $(LIBM)
29 libgstrtspserver_@GST_MAJORMINOR@_la_LIBTOOLFLAGS = --tag=disable-static
30
31 libgstrtspserver_@GST_MAJORMINOR@includedir = $(includedir)/gstreamer-@GST_MAJORMINOR@/gst/rtsp-server
32 libgstrtspserver_@GST_MAJORMINOR@include_HEADERS = $(public_headers)