gst \
m4 \
common \
+ pkgconfig \
examples
DIST_SUBDIRS = $(SUBDIRS)
gst/Makefile
gst/rtsp-server/Makefile
examples/Makefile
+bindings/Makefile
+bindings/python/Makefile
+bindings/python/codegen/Makefile
+pkgconfig/Makefile
+pkgconfig/gst-rtsp-server.pc
])
AC_OUTPUT
--- /dev/null
+pcfiles = \
+ gst-rtsp-server-@GST_MAJORMINOR@.pc
+
+all-local: $(pcfiles)
+
+### how to generate pc files
+%-@GST_MAJORMINOR@.pc: %.pc
+ cp $< $@
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = $(pcfiles)
+
+EXTRA_DIST = gst-rtsp-server.pc.in
+CLEANFILES = $(pcfiles)
--- /dev/null
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@/gstreamer-@GST_MAJORMINOR@
+
+Name: gst-rtsp-server
+Description: GStreamer based RTSP server
+Version: 0.10.1
+Requires: gstreamer-@GST_MAJORMINOR@ gstreamer-base-@GST_MAJORMINOR@
+Libs: -L${libdir} -lgstrtspserver-@GST_MAJORMINOR@
+Cflags: -I${includedir}