Put GStreamer version in library name
authorSebastian Pölsterl <sebp@ubuntu.(none)>
Thu, 13 Nov 2008 18:43:10 +0000 (19:43 +0100)
committerWim Taymans <wim@wtay.(none)>
Thu, 8 Jan 2009 12:52:10 +0000 (13:52 +0100)
examples/Makefile.am
gst/rtsp-server/Makefile.am

index c25b521..062f595 100644 (file)
@@ -9,5 +9,5 @@ gst_rtsp_server_SOURCES = \
 gst_rtsp_server_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
 gst_rtsp_server_LDFLAGS = \
        $(GST_LIBS) \
-       $(top_builddir)/gst/rtsp-server/libgstrtspserver.la
+       $(top_builddir)/gst/rtsp-server/libgstrtspserver-@GST_MAJORMINOR@.la
 
index 7ae1175..8547149 100644 (file)
@@ -15,18 +15,18 @@ noinst_HEADERS = \
        rtsp-session.h
 
 lib_LTLIBRARIES = \
-       libgstrtspserver.la
+       libgstrtspserver-@GST_MAJORMINOR@.la
 
-libgstrtspserver_la_SOURCES = \
+libgstrtspserver_@GST_MAJORMINOR@_la_SOURCES = \
     $(c_sources)
     
-libgstrtspserver_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
-libgstrtspserver_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
-libgstrtspserver_la_LIBADD = \
+libgstrtspserver_@GST_MAJORMINOR@_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
+libgstrtspserver_@GST_MAJORMINOR@_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
+libgstrtspserver_@GST_MAJORMINOR@_la_LIBADD = \
        $(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) \
     -lgstrtp-@GST_MAJORMINOR@ -lgstrtsp-@GST_MAJORMINOR@ \
             -lgstsdp-@GST_MAJORMINOR@ $(GST_LIBS) $(LIBM)
-libgstrtspserver_la_LIBTOOLFLAGS = --tag=disable-static
+libgstrtspserver_@GST_MAJORMINOR@_la_LIBTOOLFLAGS = --tag=disable-static
 
-libgstrtspserver_includedir = $(includedir)/gstreamer-@GST_MAJORMINOR@/gst/rtsp-server
-libgstrtspserver_include_HEADERS = $(public_headers)
+libgstrtspserver_@GST_MAJORMINOR@includedir = $(includedir)/gstreamer-@GST_MAJORMINOR@/gst/rtsp-server
+libgstrtspserver_@GST_MAJORMINOR@include_HEADERS = $(public_headers)