sctp: enable sctpdec and sctpenc plugins
[platform/upstream/gstreamer.git] / gst-libs / gst / Makefile.am
index acde33f..c4f02a1 100644 (file)
@@ -1,18 +1,43 @@
+if USE_WAYLAND
+WAYLAND_DIR=wayland
+endif
 
-if USE_OPENGL
-GL_DIR = gl
+if USE_OPENCV
+OPENCV_DIR=opencv
 endif
-if USE_GLES2
-GL_DIR = gl
+
+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
 
-if USE_WAYLAND
-WAYLAND_DIR=wayland
+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
 
-SUBDIRS = adaptivedemux interfaces basecamerabinsrc codecparsers \
-        insertbin uridownloader mpegts base video $(GL_DIR) $(WAYLAND_DIR)
+adaptivedemux: uridownloader
 
-noinst_HEADERS = gst-i18n-plugin.h gettext.h glib-compat-private.h
-DIST_SUBDIRS = adaptivedemux interfaces gl basecamerabinsrc codecparsers \
-       insertbin uridownloader mpegts wayland base video
+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
+
+.PHONY: independent-subdirs $(INDEPENDENT_SUBDIRS)
+
+independent-subdirs: $(INDEPENDENT_SUBDIRS)
+
+$(INDEPENDENT_SUBDIRS):
+       $(MAKE) -C $@
+
+all-recursive: independent-subdirs