]> git.sesse.net Git - vlc/blob - modules/access/Modules.am
6aa0bf693e33deb849e24dcbc5af30d3d4f38ad6
[vlc] / modules / access / Modules.am
1 # Automake forgets to add a proper tag to libtool with Objective-C files.
2 # Moreover Libtool should default tag to CC when none is specified but
3 # obviously does not. Here is a fix for that.
4 LIBTOOL=@LIBTOOL@ --tag=CC
5
6 BASE_SUBDIRS = dvb mms rtp rtsp vcd vcdx screen bd zip
7 EXTRA_SUBDIRS = bda dshow
8 SUBDIRS = $(BASE_SUBDIRS)
9 DIST_SUBDIRS = $(BASE_SUBDIRS) $(EXTRA_SUBDIRS)
10
11 if HAVE_WIN32
12 SUBDIRS += bda dshow
13 endif
14
15 libfilesystem_plugin_la_SOURCES = \
16         fs.h \
17         file.c \
18         directory.c \
19         fs.c
20 libfilesystem_plugin_la_CFLAGS = $(AM_CFLAGS)
21 libfilesystem_plugin_la_LIBADD = $(AM_LIBADD)
22 libfilesystem_plugin_la_DEPENDENCIES =
23
24 SOURCES_access_mmap = mmap.c
25 SOURCES_access_directory = directory.c
26 SOURCES_access_dv = dv.c
27 SOURCES_access_udp = udp.c
28 SOURCES_access_tcp = tcp.c
29 SOURCES_access_http = http.c
30 SOURCES_access_ftp = ftp.c
31 SOURCES_access_smb = smb.c
32 SOURCES_access_gnomevfs = gnomevfs.c
33 SOURCES_access_eyetv = eyetv.m
34 SOURCES_dvdnav = dvdnav.c
35 SOURCES_dvdread = dvdread.c
36 SOURCES_dc1394 = dc1394.c
37 SOURCES_pvr = pvr.c videodev2.h
38 SOURCES_v4l2 = v4l2.c
39 SOURCES_qtcapture = qtcapture.m
40 SOURCES_cdda = \
41         cdda.c \
42         vcd/cdrom.c \
43         vcd/cdrom.h \
44         vcd/cdrom_internals.h \
45         $(NULL)
46 SOURCES_access_jack = jack.c
47 SOURCES_access_oss = oss.c
48 SOURCES_access_mtp = mtp.c
49 SOURCES_access_sftp = sftp.c
50 SOURCES_access_imem = imem.c
51 SOURCES_access_avio = avio.c avio.h
52 SOURCES_access_attachment = attachment.c
53 SOURCES_access_vdr = vdr.c
54 SOURCES_libbluray = bluray.c
55 SOURCES_sdi = sdi.c
56
57 SOURCES_access_rar = rar/rar.c rar/rar.h rar/access.c
58 SOURCES_stream_filter_rar = rar/rar.c rar/rar.h rar/stream.c
59
60 libaccess_rtmp_plugin_la_SOURCES = \
61         rtmp/access.c \
62         rtmp/rtmp_amf_flv.c \
63         rtmp/rtmp_amf_flv.h \
64         $(NULL)
65 libaccess_rtmp_plugin_la_CFLAGS = $(AM_CFLAGS) \
66         -fno-strict-aliasing
67 libaccess_rtmp_plugin_la_LIBADD = $(AM_LIBADD)
68 libaccess_rtmp_plugin_la_DEPENDENCIES =
69
70 libvlc_LTLIBRARIES += \
71         libfilesystem_plugin.la \
72         libaccess_udp_plugin.la \
73         libaccess_tcp_plugin.la \
74         libaccess_http_plugin.la \
75         libaccess_ftp_plugin.la \
76         libaccess_imem_plugin.la \
77         libaccess_attachment_plugin.la \
78         libaccess_rar_plugin.la \
79         libstream_filter_rar_plugin.la \
80         libaccess_vdr_plugin.la \
81         $(NULL)
82
83 libaccess_alsa_plugin_la_SOURCES = alsa.c
84 libaccess_alsa_plugin_la_CFLAGS = $(AM_CFLAGS) $(ALSA_CFLAGS)
85 libaccess_alsa_plugin_la_LIBADD = $(AM_LIBADD) $(ALSA_LIBS)
86 libaccess_alsa_plugin_la_DEPENDENCIES =
87 if HAVE_ALSA
88 libvlc_LTLIBRARIES += libaccess_alsa_plugin.la
89 endif
90
91 libxcb_screen_plugin_la_SOURCES = screen/xcb.c
92 libxcb_screen_plugin_la_CFLAGS = $(AM_CFLAGS) \
93         $(XCB_CFLAGS)
94 libxcb_screen_plugin_la_LIBADD = $(AM_LIBADD) \
95         $(XCB_LIBS)
96 libxcb_screen_plugin_la_DEPENDENCIES =
97 EXTRA_LTLIBRARIES += \
98         libaccess_rtmp_plugin.la \
99         libxcb_screen_plugin.la
100 libvlc_LTLIBRARIES += $(LTLIBxcb_screen)