8aed5d25aadc86a3653dfce3030f52e9644d4917
[vlc.git] / modules / demux / Modules.am
1 SOURCES_flacsys = flac.c xiph_metadata.h xiph_metadata.c
2 SOURCES_ogg = ogg.c ogg.h oggseek.c oggseek.h xiph_metadata.h xiph.h xiph_metadata.c
3 SOURCES_demuxdump = demuxdump.c
4 SOURCES_rawdv = rawdv.c rawdv.h
5 SOURCES_rawvid = rawvid.c
6 SOURCES_au = au.c
7 SOURCES_rawaud = rawaud.c
8 SOURCES_wav = wav.c
9 SOURCES_nsv = nsv.c
10 SOURCES_real = real.c
11 SOURCES_ps = ps.c ps.h
12 SOURCES_mod = mod.c
13 SOURCES_pva = pva.c
14 SOURCES_aiff = aiff.c
15 SOURCES_mjpeg = mjpeg.c mxpeg_helper.h
16 SOURCES_subtitle = subtitle.c
17 SOURCES_ty = ty.c ../codec/cc.h
18 SOURCES_vobsub = vobsub.c vobsub.h
19 SOURCES_voc = voc.c
20 SOURCES_xa = xa.c
21 SOURCES_nuv = nuv.c
22 SOURCES_nsc = nsc.c
23 SOURCES_mpc = mpc.c
24 SOURCES_tta = tta.c
25 SOURCES_vc1 = vc1.c
26 SOURCES_demux_cdg = cdg.c
27 SOURCES_smf = smf.c
28 SOURCES_gme = gme.c dummy.cpp
29 SOURCES_sid = sid.cpp
30 SOURCES_dirac = dirac.c
31 SOURCES_image = image.c mxpeg_helper.h
32 SOURCES_demux_stl = stl.c
33
34 libasf_plugin_la_SOURCES = asf/asf.c asf/libasf.c asf/libasf.h asf/libasf_guid.h
35 libasf_plugin_la_CFLAGS = $(AM_CFLAGS)
36 libasf_plugin_la_LIBADD = $(AM_LIBADD)
37 if HAVE_WIN32
38 libasf_plugin_la_DEPENDENCIES = libasf_plugin.rc.o
39 endif
40
41 libavi_plugin_la_SOURCES = avi/avi.c avi/libavi.c avi/libavi.h
42 libavi_plugin_la_CFLAGS = $(AM_CFLAGS)
43 libavi_plugin_la_LIBADD = $(AM_LIBADD)
44 if HAVE_WIN32
45 libavi_plugin_la_DEPENDENCIES = libavi_plugin.rc.o
46 endif
47
48 libavformat_plugin_la_SOURCES = avformat/demux.c \
49         ../codec/avcodec/fourcc.c \
50         ../codec/avcodec/chroma.c \
51         ../codec/avcodec/cpu.c \
52         ../codec/avcodec/avcommon.h \
53         ../codec/avcodec/avcommon_compat.h \
54         vobsub.h \
55         avformat/avformat.c avformat/avformat.h
56 if ENABLE_SOUT
57 libavformat_plugin_la_SOURCES += avformat/mux.c
58 endif
59 libavformat_plugin_la_CFLAGS = $(AM_CFLAGS) $(AVFORMAT_CFLAGS) $(AVUTIL_CFLAGS)
60 libavformat_plugin_la_LIBADD = $(AM_LIBADD) $(AVFORMAT_LIBS) $(AVUTIL_LIBS) \
61                                 $(LIBM)
62 libavformat_plugin_la_LDFLAGS = $(AM_LDFLAGS) $(SYMBOLIC_LDFLAGS)
63 if HAVE_ZLIB
64 libavformat_plugin_la_LIBADD += -lz
65 endif
66 if HAVE_DARWIN
67 libavformat_plugin_la_LDFLAGS += -Wl,-read_only_relocs,suppress
68 endif
69 if HAVE_WIN32
70 libavformat_plugin_la_DEPENDENCIES = libavformat_plugin.rc.o
71 endif
72 if HAVE_AVFORMAT
73 libvlc_LTLIBRARIES += libavformat_plugin.la
74 endif
75
76 libes_plugin_la_SOURCES  = mpeg/es.c
77 libes_plugin_la_CFLAGS = $(AM_CFLAGS)
78 libes_plugin_la_LIBADD = ../codec/libvlc_dts_header.la $(AM_LIBADD)
79 if HAVE_WIN32
80 libes_plugin_la_DEPENDENCIES = libes_plugin.rc.o
81 endif
82
83 libh264_plugin_la_SOURCES = mpeg/h264.c
84 libh264_plugin_la_CFLAGS = $(AM_CFLAGS)
85 libh264_plugin_la_LIBADD = $(AM_LIBADD)
86 if HAVE_WIN32
87 libh264_plugin_la_DEPENDENCIES = libh264_plugin.rc.o
88 endif
89
90 libmkv_plugin_la_SOURCES = \
91         mkv/util.hpp mkv/util.cpp \
92         mkv/virtual_segment.hpp mkv/virtual_segment.cpp \
93         mkv/matroska_segment.hpp mkv/matroska_segment.cpp \
94         mkv/matroska_segment_parse.cpp \
95         mkv/demux.hpp mkv/demux.cpp \
96         mkv/Ebml_parser.hpp mkv/Ebml_parser.cpp \
97         mkv/chapters.hpp mkv/chapters.cpp \
98         mkv/chapter_command.hpp mkv/chapter_command.cpp \
99         mkv/stream_io_callback.hpp mkv/stream_io_callback.cpp \
100         mp4/libmp4.c vobsub.h \
101         mkv/mkv.hpp mkv/mkv.cpp
102 libmkv_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
103 libmkv_plugin_la_LIBADD = $(AM_LIBADD) $(LIBS_mkv)
104 libmkv_plugin_la_LDFLAGS = $(AM_LDFLAGS)
105 if HAVE_ZLIB
106 libmkv_plugin_la_LIBADD += -lz
107 endif
108 if HAVE_WIN32
109 libmkv_plugin_la_DEPENDENCIES = libmkv_plugin.rc.o
110 endif
111 libvlc_LTLIBRARIES += $(LTLIBmkv)
112 EXTRA_LTLIBRARIES += libmkv_plugin.la
113
114 libmp4_plugin_la_SOURCES = mp4/mp4.c mp4/libmp4.c mp4/libmp4.h mp4/id3genres.h
115 libmp4_plugin_la_CFLAGS = $(AM_CFLAGS)
116 libmp4_plugin_la_LIBADD = $(AM_LIBADD) $(LIBM)
117 libmp4_plugin_la_LDFLAGS = $(AM_LDFLAGS)
118 if HAVE_ZLIB
119 libmp4_plugin_la_LIBADD += -lz
120 endif
121 if HAVE_WIN32
122 libmp4_plugin_la_DEPENDENCIES = libmp4_plugin.rc.o
123 endif
124
125 libmpgv_plugin_la_SOURCES = mpeg/mpgv.c
126 libmpgv_plugin_la_CFLAGS = $(AM_CFLAGS)
127 libmpgv_plugin_la_LIBADD = $(AM_LIBADD)
128 if HAVE_WIN32
129 libmpgv_plugin_la_DEPENDENCIES = libmpgv_plugin.rc.o
130 endif
131
132 libplaylist_plugin_la_SOURCES = \
133         playlist/asx.c \
134         playlist/b4s.c \
135         playlist/dvb.c \
136         playlist/gvp.c \
137         playlist/ifo.c \
138         playlist/itml.c \
139         playlist/itml.h \
140         playlist/m3u.c \
141         playlist/pls.c \
142         playlist/podcast.c \
143         playlist/qtl.c \
144         playlist/ram.c \
145         playlist/sgimb.c \
146         playlist/shoutcast.c \
147         playlist/wpl.c \
148         playlist/xspf.c \
149         playlist/zpl.c \
150         playlist/playlist.c playlist/playlist.h
151 libplaylist_plugin_la_CFLAGS = $(AM_CFLAGS)
152 libplaylist_plugin_la_LIBADD = $(AM_LIBADD)
153 if HAVE_WIN32
154 libplaylist_plugin_la_DEPENDENCIES = libplaylist_plugin.rc.o
155 endif
156
157 libts_plugin_la_SOURCES = ts.c ../mux/mpeg/csa.c ../mux/mpeg/dvbpsi_compat.h dvb-text.h
158 libts_plugin_la_CFLAGS = $(AM_CFLAGS) $(DVBPSI_CFLAGS)
159 libts_plugin_la_LIBADD = $(AM_LIBADD) $(DVBPSI_LIBS) $(SOCKET_LIBS)
160 if HAVE_WIN32
161 libts_plugin_la_DEPENDENCIES = libts_plugin.rc.o
162 endif
163 if HAVE_DVBPSI
164 libvlc_LTLIBRARIES += libts_plugin.la
165 endif
166
167 libvlc_LTLIBRARIES += \
168         libaiff_plugin.la \
169         libasf_plugin.la \
170         libau_plugin.la \
171         libavi_plugin.la \
172         librawaud_plugin.la \
173         libdirac_plugin.la \
174         libdemux_cdg_plugin.la \
175         libdemuxdump_plugin.la \
176         libes_plugin.la \
177         libflacsys_plugin.la \
178         libh264_plugin.la \
179         libmjpeg_plugin.la \
180         libmp4_plugin.la \
181         libmpgv_plugin.la \
182         libnsc_plugin.la \
183         libnsv_plugin.la \
184         libnuv_plugin.la \
185         libplaylist_plugin.la \
186         libpva_plugin.la \
187         libps_plugin.la \
188         librawdv_plugin.la \
189         librawvid_plugin.la \
190         libreal_plugin.la \
191         libsmf_plugin.la \
192         libsubtitle_plugin.la \
193         libtta_plugin.la \
194         libty_plugin.la \
195         libvc1_plugin.la \
196         libvobsub_plugin.la \
197         libvoc_plugin.la \
198         libwav_plugin.la \
199         libxa_plugin.la \
200         libimage_plugin.la \
201         libdemux_stl_plugin.la \
202         $(NULL)
203
204 BUILT_SOURCES += dummy.cpp
205
206 dummy.cpp:
207         touch dummy.cpp