sctp: enable sctpdec and sctpenc plugins
[platform/upstream/gstreamer.git] / gst-libs / gst / Makefile.am
index bfec499..c4f02a1 100644 (file)
@@ -1,68 +1,43 @@
-if USE_GCONF
-GCONF_DIR = gconf
-else
-GCONF_DIR =
+if USE_WAYLAND
+WAYLAND_DIR=wayland
 endif
 
-if USE_X
-X_DIR = xwindowlistener xoverlay
-X_INTERFACE_LIBS = xoverlay/libgstxoverlay.la
-else
-X_DIR =
-X_INTERFACE_LIBS =
+if USE_OPENCV
+OPENCV_DIR=opencv
 endif
 
-SUBDIRS = \
-       audio \
-       colorbalance \
-       floatcast \
-       $(GCONF_DIR) \
-       idct \
-       media-info \
-       mixer \
-       navigation \
-       play \
-       propertyprobe \
-       resample \
-       riff \
-       tag \
-       tuner \
-       video \
-       $(X_DIR)
+if TV_PROFILE
+SUBDIRS = codecparsers mpegts sctp webrtc $(WAYLAND_DIR)
+else
+SUBDIRS = uridownloader adaptivedemux interfaces basecamerabinsrc codecparsers \
+        insertbin mpegts audio sctp player isoff webrtc $(WAYLAND_DIR) \
+        $(OPENCV_DIR)
+endif
 
-DIST_SUBDIRS = \
-       audio \
-       colorbalance \
-       floatcast \
-       gconf \
-       idct \
-       media-info \
-       mixer \
-       navigation \
-       play \
-       propertyprobe \
-       resample \
-       riff \
-       tag \
-       tuner \
-       video \
-       xoverlay \
-       xwindowlistener
+noinst_HEADERS = gst-i18n-plugin.h gettext.h glib-compat-private.h
+if TV_PROFILE
+DIST_SUBDIRS = codecparsers mpegts wayland sctp webrtc
+else
+DIST_SUBDIRS = uridownloader adaptivedemux interfaces basecamerabinsrc \
+       codecparsers insertbin mpegts wayland opencv audio player isoff sctp webrtc
+endif
 
+adaptivedemux: uridownloader
 
-lib_LTLIBRARIES = libgstinterfaces-@GST_MAJORMINOR@.la
+if TV_PROFILE
+INDEPENDENT_SUBDIRS = \
+       codecparsers mpegts sctp webrtc $(WAYLAND_DIR)
+else
+INDEPENDENT_SUBDIRS = \
+       interfaces basecamerabinsrc codecparsers insertbin uridownloader \
+       mpegts player isoff sctp webrtc $(WAYLAND_DIR) $(OPENCV_DIR)
+endif
 
-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 \
-        $(X_INTERFACE_LIBS) \
-       $(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 = gst-i18n-plugin.h
+all-recursive: independent-subdirs