xvimagesink: Fix 'comparison of unsigned expression >= 0 is always true'
[platform/upstream/gstreamer.git] / sys / Makefile.am
index 101ea5a..8a0309a 100644 (file)
@@ -1,5 +1,29 @@
-### use HAVE_ stuff to decide on dirs
-DIRS=qcam v4l vcdsrc vgasink xvideosink
+if USE_GST_V4L
+V4L_DIR=v4l
+else
+V4L_DIR=
+endif
 
-DIST_SUBDIRS=qcam v4l vcdsrc vgasink xvideosink
+if USE_X
+XIMAGE_DIR=ximage
+else
+XIMAGE_DIR=
+endif
 
+if USE_XVIDEO
+XVIMAGE_DIR=xvimage
+else
+XVIMAGE_DIR=
+endif
+
+SUBDIRS = \
+  $(XIMAGE_DIR) \
+  $(XVIMAGE_DIR) \
+  $(V4L_DIR)
+
+DIST_SUBDIRS = \
+  v4l \
+  ximage \
+  xvimage
+
+include $(top_srcdir)/common/parallel-subdirs.mak