DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
SUBDIRS = \
- src \
+ gst \
m4 \
- common
+ common \
+ examples
DIST_SUBDIRS = $(SUBDIRS)
DIE=0
package=gst-rtsp
-srcfile=src/rtsp-server.c
+srcfile=gst/rtsp-server/rtsp-server.c
# a quick cvs co to ease the transition
if test ! -d common;
AS_NANO(GST_CVS="no", GST_CVS="yes")
dnl can autoconf find the source ?
-AC_CONFIG_SRCDIR([src/rtsp-server.c])
+AC_CONFIG_SRCDIR([gst/rtsp-server/rtsp-server.c])
dnl define the output header for config
AM_CONFIG_HEADER([config.h])
common/Makefile
common/m4/Makefile
m4/Makefile
-src/Makefile
+gst/Makefile
+gst/rtsp-server/Makefile
+examples/Makefile
])
AC_OUTPUT
--- /dev/null
+
+noinst_PROGRAMS = gst-rtsp-server
+
+gst_rtsp_server_SOURCES = \
+ main.c
+
+gst_rtsp_server_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
+gst_rtsp_server_LDFLAGS = \
+ $(GST_LIBS) \
+ $(top_builddir)/gst/rtsp-server/libgstrtspserver.la
+
#include <gst/gst.h>
-#include "rtsp-server.h"
+#include <gst/rtsp-server/rtsp-server.h>
int
main (int argc, char *argv[])
--- /dev/null
+SUBDIRS = rtsp-server
--- /dev/null
+public_headers = \
+ rtsp-server.h \
+ rtsp-client.h \
+ rtsp-media.h
+
+c_sources = \
+ rtsp-server.c \
+ rtsp-client.c \
+ rtsp-media.c \
+ rtsp-session-pool.c \
+ rtsp-session.c
+
+lib_LTLIBRARIES = \
+ libgstrtspserver.la
+
+libgstrtspserver_la_SOURCES = \
+ $(c_sources)
+
+libgstrtspserver_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
+libgstrtspserver_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
+libgstrtspserver_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_includedir = $(includedir)/gstreamer-@GST_MAJORMINOR@/gst/rtsp-server
+libgstrtspserver_include_HEADERS = $(public_headers)
+++ /dev/null
-bin_PROGRAMS = gst-rtsp-server
-
-gst_rtsp_server_SOURCES = main.c \
- rtsp-server.c \
- rtsp-client.c \
- rtsp-media.c \
- rtsp-session-pool.c \
- rtsp-session.c
-
-gst_rtsp_server_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
-gst_rtsp_server_LDADD = $(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) \
- -lgstrtp-@GST_MAJORMINOR@ -lgstrtsp-@GST_MAJORMINOR@ \
- -lgstsdp-@GST_MAJORMINOR@ $(GST_LIBS) $(LIBM)
-gst_rtsp_server_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
-
-noinst_HEADERS = rtsp-server.h \
- rtsp-client.h \
- rtsp-session.h \
- rtsp-session-pool.h \
- rtsp-media.h