rtsp: Port to GIO
[platform/upstream/gstreamer.git] / gst-libs / gst / Makefile.am
index 5c225e4..959dbd4 100644 (file)
@@ -1,54 +1,38 @@
-if USE_GCONF
-GCONF_DIR = gconf
-else
-GCONF_DIR =
-endif
-
+# The interfaces directory has to be built before the others,
+# otherwise some generated header files will be missing for the
+# plugins in the other directories.
 SUBDIRS = \
-       audio \
-       colorbalance \
-       floatcast \
-       $(GCONF_DIR) \
-       media-info \
-       mixer \
-       navigation \
-       propertyprobe \
-       riff \
+       interfaces \
        tag \
-       tuner \
+       fft \
+       rtp \
+       sdp \
+       rtsp \
        video \
-       xoverlay \
-       .
-
-DIST_SUBDIRS = \
        audio \
-       colorbalance \
-       floatcast \
-       gconf \
-       media-info \
-       mixer \
-       navigation \
-       propertyprobe \
+       pbutils \
        riff \
-       tag \
-       tuner \
-       video \
-       xoverlay
+       app
+
+noinst_HEADERS = gettext.h gst-i18n-plugin.h glib-compat-private.h
+
+# dependencies:
+audio: interfaces tag
+
+riff: tag audio
+
+rtsp: sdp
 
+pbutils: video audio
 
-lib_LTLIBRARIES = libgstinterfaces-@GST_MAJORMINOR@.la
+INDEPENDENT_SUBDIRS = \
+       interfaces tag audio fft rtp sdp video app
 
-libgstinterfaces_@GST_MAJORMINOR@_la_SOURCES = 
+.PHONY: independent-subdirs $(INDEPENDENT_SUBDIRS)
 
-libgstinterfaces_@GST_MAJORMINOR@_la_LIBADD = \
-       colorbalance/libgstcolorbalance.la \
-       mixer/libgstmixer.la \
-       navigation/libgstnavigation.la \
-       propertyprobe/libgstpropertyprobe.la \
-       tuner/libgsttuner.la \
-       xoverlay/libgstxoverlay.la \
-       $(GST_LIBS)
+independent-subdirs: $(INDEPENDENT_SUBDIRS)
 
-libgstinterfaces_@GST_MAJORMINOR@_la_LDFLAGS = @GST_PLUGINS_LT_LDFLAGS@ -version-info @GST_PLUGINS_LIBVERSION@
+$(INDEPENDENT_SUBDIRS):
+       $(MAKE) -C $@
 
-noinst_HEADERS = gettext.h gst-i18n-plugin.h
+all-recursive: independent-subdirs