xvimagesink: Fix 'comparison of unsigned expression >= 0 is always true'
[platform/upstream/gstreamer.git] / sys / Makefile.am
index 98297dc..8a0309a 100644 (file)
@@ -1,17 +1,29 @@
-### FIXME use HAVE_ stuff to decide on dirs
-if USE_VGA
-VGA_SUBDS=vga
+if USE_GST_V4L
+V4L_DIR=v4l
 else
-VGA_SUBDS=
+V4L_DIR=
 endif
 
-if USE_OSS
-OSS_SUBDS=oss
+if USE_X
+XIMAGE_DIR=ximage
 else
-OSS_SUBDS=
+XIMAGE_DIR=
 endif
 
-SUBDIRS=$(OSS_SUBDS) qcam v4l vcd $(VGA_SUBDS) xvideo
+if USE_XVIDEO
+XVIMAGE_DIR=xvimage
+else
+XVIMAGE_DIR=
+endif
+
+SUBDIRS = \
+  $(XIMAGE_DIR) \
+  $(XVIMAGE_DIR) \
+  $(V4L_DIR)
 
-DIST_SUBDIRS=oss qcam v4l vcd vga xvideo
+DIST_SUBDIRS = \
+  v4l \
+  ximage \
+  xvimage
 
+include $(top_srcdir)/common/parallel-subdirs.mak