# Automake forgets to add a proper tag to libtool with Objective-C files.
-# Moreocer Libtool should default tag to CC when none is specified but
+# 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 rtp rtsp rtmp vcd vcdx screen bd zip
+EXTRA_SUBDIRS = bda dshow
+SUBDIRS = $(BASE_SUBDIRS)
+DIST_SUBDIRS = $(BASE_SUBDIRS) $(EXTRA_SUBDIRS)
+
+if HAVE_WIN32
+SUBDIRS += bda dshow
+endif
+
SOURCES_access_file = file.c
SOURCES_access_mmap = mmap.c
SOURCES_access_directory = directory.c
SOURCES_access_fake = fake.c
SOURCES_pvr = pvr.c videodev2.h
SOURCES_v4l = v4l.c videodev_mjpeg.h
+SOURCES_v4l2 = v4l2.c
+SOURCES_qtcapture = qtcapture.m
SOURCES_cdda = \
cdda.c \
vcd/cdrom.c \
vcd/cdrom_internals.h \
$(NULL)
SOURCES_access_jack = jack.c
+SOURCES_access_alsa = alsa.c
+SOURCES_access_oss = oss.c
+SOURCES_access_mtp = mtp.c
+
+libvlc_LTLIBRARIES += \
+ libaccess_file_plugin.la \
+ libaccess_directory_plugin.la \
+ libaccess_udp_plugin.la \
+ libaccess_tcp_plugin.la \
+ libaccess_http_plugin.la \
+ libaccess_ftp_plugin.la \
+ libaccess_fake_plugin.la \
+ $(NULL)