+# Automake forgets to add a proper tag to libtool with Objective-C files.
+# Moreover Libtool should default tag to CC when none is specified but
+# obviously does not. Here is a fix for that.
+LIBTOOL=@LIBTOOL@ --tag=CC
+
+BASE_SUBDIRS = dvb mms cdda rtsp rtmp v4l2 vcd vcdx screen
+EXTRA_SUBDIRS = bda dshow
+SUBDIRS = $(BASE_SUBDIRS)
+DIST_SUBDIRS = $(BASE_SUBDIRS) $(EXTRA_SUBDIRS)
+
+if HAVE_WIN32
+SUBDIRS += bda dshow
+endif
+