Add a new playlist module whose job is to output pf_readdir modules items to the...
[vlc.git] / modules / demux / Makefile.am
1 demuxdir = $(pluginsdir)/demux
2 demux_LTLIBRARIES =
3
4 libflacsys_plugin_la_SOURCES = demux/flac.c demux/xiph_metadata.h demux/xiph_metadata.c
5 libflacsys_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
6 demux_LTLIBRARIES += libflacsys_plugin.la
7
8 libogg_plugin_la_SOURCES = demux/ogg.c demux/ogg.h demux/oggseek.c demux/oggseek.h \
9         demux/xiph_metadata.h demux/xiph.h demux/xiph_metadata.c
10 libogg_plugin_la_CFLAGS = $(AM_CFLAGS) $(CFLAGS_ogg) $(LIBVORBIS_CFLAGS)
11 libogg_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(demuxdir)'
12 libogg_plugin_la_LIBADD = $(LIBS_ogg) $(LIBVORBIS_LIBS)
13 EXTRA_LTLIBRARIES += libogg_plugin.la
14 demux_LTLIBRARIES += $(LTLIBogg)
15
16 libdemuxdump_plugin_la_SOURCES = demux/demuxdump.c
17 demux_LTLIBRARIES += libdemuxdump_plugin.la
18
19 librawdv_plugin_la_SOURCES = demux/rawdv.c demux/rawdv.h
20 demux_LTLIBRARIES += librawdv_plugin.la
21
22 librawvid_plugin_la_SOURCES = demux/rawvid.c
23 demux_LTLIBRARIES += librawvid_plugin.la
24
25 libau_plugin_la_SOURCES = demux/au.c
26 demux_LTLIBRARIES += libau_plugin.la
27
28 librawaud_plugin_la_SOURCES = demux/rawaud.c
29 demux_LTLIBRARIES += librawaud_plugin.la
30
31 libwav_plugin_la_SOURCES = demux/wav.c demux/windows_audio_commons.h
32 demux_LTLIBRARIES += libwav_plugin.la
33
34 libnsv_plugin_la_SOURCES = demux/nsv.c
35 demux_LTLIBRARIES += libnsv_plugin.la
36
37 libreal_plugin_la_SOURCES = demux/real.c
38 demux_LTLIBRARIES += libreal_plugin.la
39
40 libps_plugin_la_SOURCES = demux/ps.c demux/ps.h
41 demux_LTLIBRARIES += libps_plugin.la
42
43 libmod_plugin_la_SOURCES = demux/mod.c
44 libmod_plugin_la_CFLAGS = $(AM_CFLAGS) $(CFLAGS_mod)
45 libmod_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(demuxdir)'
46 libmod_plugin_la_LIBADD = $(LIBS_mod)
47 EXTRA_LTLIBRARIES += libmod_plugin.la
48 demux_LTLIBRARIES += $(LTLIBmod)
49
50 libpva_plugin_la_SOURCES = demux/pva.c
51 demux_LTLIBRARIES += libpva_plugin.la
52
53 libaiff_plugin_la_SOURCES = demux/aiff.c
54 demux_LTLIBRARIES += libaiff_plugin.la
55
56 libmjpeg_plugin_la_SOURCES = demux/mjpeg.c demux/mxpeg_helper.h
57 demux_LTLIBRARIES += libmjpeg_plugin.la
58
59 libsubtitle_plugin_la_SOURCES = demux/subtitle.c
60 demux_LTLIBRARIES += libsubtitle_plugin.la
61
62 libty_plugin_la_SOURCES = demux/ty.c codec/cc.h
63 demux_LTLIBRARIES += libty_plugin.la
64
65 libvobsub_plugin_la_SOURCES = demux/vobsub.c demux/vobsub.h
66 demux_LTLIBRARIES += libvobsub_plugin.la
67
68 libvoc_plugin_la_SOURCES = demux/voc.c
69 demux_LTLIBRARIES += libvoc_plugin.la
70
71 libxa_plugin_la_SOURCES = demux/xa.c
72 demux_LTLIBRARIES += libxa_plugin.la
73
74 libnuv_plugin_la_SOURCES = demux/nuv.c
75 demux_LTLIBRARIES += libnuv_plugin.la
76
77 libnsc_plugin_la_SOURCES = demux/nsc.c
78 demux_LTLIBRARIES += libnsc_plugin.la
79
80 libmpc_plugin_la_SOURCES = demux/mpc.c
81 libmpc_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(demuxdir)'
82 libmpc_plugin_la_LIBADD = $(LIBS_mpc)
83 EXTRA_LTLIBRARIES += libmpc_plugin.la
84 demux_LTLIBRARIES += $(LTLIBmpc)
85
86 libtta_plugin_la_SOURCES = demux/tta.c
87 demux_LTLIBRARIES += libtta_plugin.la
88
89 libvc1_plugin_la_SOURCES = demux/vc1.c
90 demux_LTLIBRARIES += libvc1_plugin.la
91
92 libdemux_cdg_plugin_la_SOURCES = demux/cdg.c
93 libdemux_cdg_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
94 demux_LTLIBRARIES += libdemux_cdg_plugin.la
95
96 libsmf_plugin_la_SOURCES = demux/smf.c
97 demux_LTLIBRARIES += libsmf_plugin.la
98
99 libgme_plugin_la_SOURCES = demux/gme.c dummy.cpp
100 libgme_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(demuxdir)'
101 libgme_plugin_la_LIBADD = $(LIBS_gme)
102 EXTRA_LTLIBRARIES += libgme_plugin.la
103 demux_LTLIBRARIES += $(LTLIBgme)
104
105 libsid_plugin_la_SOURCES = demux/sid.cpp
106 libsid_plugin_la_CFLAGS = $(AM_CFLAGS) $(CFLAGS_sid)
107 libsid_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(demuxdir)'
108 libsid_plugin_la_LIBADD = $(LIBS_sid)
109 EXTRA_LTLIBRARIES += libsid_plugin.la
110 demux_LTLIBRARIES += $(LTLIBsid)
111
112 libdiracsys_plugin_la_SOURCES = demux/dirac.c
113 libdiracsys_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
114 demux_LTLIBRARIES += libdiracsys_plugin.la
115
116 libimage_plugin_la_SOURCES = demux/image.c demux/mxpeg_helper.h
117 demux_LTLIBRARIES += libimage_plugin.la
118
119 libdemux_stl_plugin_la_SOURCES = demux/stl.c
120 libdemux_stl_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
121 demux_LTLIBRARIES += libdemux_stl_plugin.la
122
123 libasf_plugin_la_SOURCES = demux/asf/asf.c demux/asf/libasf.c demux/asf/libasf.h demux/asf/libasf_guid.h
124 demux_LTLIBRARIES += libasf_plugin.la
125
126 libavi_plugin_la_SOURCES = demux/avi/avi.c demux/avi/libavi.c demux/avi/libavi.h
127 demux_LTLIBRARIES += libavi_plugin.la
128
129 libcaf_plugin_la_SOURCES = demux/caf.c
130 libcaf_plugin_la_LIBADD = $(LIBM)
131 demux_LTLIBRARIES += libcaf_plugin.la
132
133 libavformat_plugin_la_SOURCES = demux/avformat/demux.c \
134         codec/avcodec/fourcc.c \
135         codec/avcodec/chroma.c \
136         codec/avcodec/avcommon.h \
137         codec/avcodec/avcommon_compat.h \
138         demux/vobsub.h \
139         demux/avformat/avformat.c demux/avformat/avformat.h
140 if ENABLE_SOUT
141 libavformat_plugin_la_SOURCES += demux/avformat/mux.c
142 endif
143 libavformat_plugin_la_CFLAGS = $(AM_CFLAGS) $(AVFORMAT_CFLAGS) $(AVUTIL_CFLAGS)
144 libavformat_plugin_la_LIBADD = $(AVFORMAT_LIBS) $(AVUTIL_LIBS) $(LIBM)
145 libavformat_plugin_la_LDFLAGS = $(AM_LDFLAGS) $(SYMBOLIC_LDFLAGS)
146 if HAVE_ZLIB
147 libavformat_plugin_la_LIBADD += -lz
148 endif
149 if HAVE_DARWIN
150 libavformat_plugin_la_LDFLAGS += -Wl,-read_only_relocs,suppress
151 endif
152 if HAVE_AVFORMAT
153 if !MERGE_FFMPEG
154 demux_LTLIBRARIES += libavformat_plugin.la
155 endif
156 endif
157
158 libes_plugin_la_SOURCES  = demux/mpeg/es.c codec/dts_header.c codec/dts_header.h
159 demux_LTLIBRARIES += libes_plugin.la
160
161 libh264_plugin_la_SOURCES = demux/mpeg/h264.c
162 demux_LTLIBRARIES += libh264_plugin.la
163
164 libhevc_plugin_la_SOURCES = demux/mpeg/hevc.c demux/mpeg/mpeg_parser_helpers.h
165 demux_LTLIBRARIES += libhevc_plugin.la
166
167 libmkv_plugin_la_SOURCES = \
168         demux/mkv/util.hpp demux/mkv/util.cpp \
169         demux/mkv/virtual_segment.hpp demux/mkv/virtual_segment.cpp \
170         demux/mkv/matroska_segment.hpp demux/mkv/matroska_segment.cpp \
171         demux/mkv/matroska_segment_parse.cpp \
172         demux/mkv/demux.hpp demux/mkv/demux.cpp \
173         demux/mkv/Ebml_parser.hpp demux/mkv/Ebml_parser.cpp \
174         demux/mkv/chapters.hpp demux/mkv/chapters.cpp \
175         demux/mkv/chapter_command.hpp demux/mkv/chapter_command.cpp \
176         demux/mkv/stream_io_callback.hpp demux/mkv/stream_io_callback.cpp \
177         demux/mp4/libmp4.c demux/vobsub.h \
178         demux/mkv/mkv.hpp demux/mkv/mkv.cpp \
179         demux/windows_audio_commons.h
180 libmkv_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
181 libmkv_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(demuxdir)'
182 libmkv_plugin_la_LIBADD = $(LIBS_mkv)
183 if HAVE_ZLIB
184 libmkv_plugin_la_LIBADD += -lz
185 endif
186 demux_LTLIBRARIES += $(LTLIBmkv)
187 EXTRA_LTLIBRARIES += libmkv_plugin.la
188
189 libmp4_plugin_la_SOURCES = demux/mp4/mp4.c demux/mp4/mp4.h \
190                            demux/mp4/libmp4.c demux/mp4/libmp4.h demux/mp4/id3genres.h
191 libmp4_plugin_la_LIBADD = $(LIBM)
192 libmp4_plugin_la_LDFLAGS = $(AM_LDFLAGS)
193 if HAVE_ZLIB
194 libmp4_plugin_la_LIBADD += -lz
195 endif
196 demux_LTLIBRARIES += libmp4_plugin.la
197
198 libmpgv_plugin_la_SOURCES = demux/mpeg/mpgv.c
199 demux_LTLIBRARIES += libmpgv_plugin.la
200
201 libplaylist_plugin_la_SOURCES = \
202         demux/playlist/asx.c \
203         demux/playlist/b4s.c \
204         demux/playlist/dvb.c \
205         demux/playlist/gvp.c \
206         demux/playlist/ifo.c \
207         demux/playlist/itml.c \
208         demux/playlist/itml.h \
209         demux/playlist/m3u.c \
210         demux/playlist/pls.c \
211         demux/playlist/podcast.c \
212         demux/playlist/qtl.c \
213         demux/playlist/ram.c \
214         demux/playlist/sgimb.c \
215         demux/playlist/shoutcast.c \
216         demux/playlist/wpl.c \
217         demux/playlist/xspf.c \
218         demux/playlist/zpl.c \
219         demux/playlist/directory.c \
220         demux/playlist/playlist.c demux/playlist/playlist.h
221 demux_LTLIBRARIES += libplaylist_plugin.la
222
223 libts_plugin_la_SOURCES = demux/ts.c mux/mpeg/csa.c mux/mpeg/dvbpsi_compat.h demux/dvb-text.h
224 libts_plugin_la_CFLAGS = $(AM_CFLAGS) $(DVBPSI_CFLAGS)
225 libts_plugin_la_LIBADD = $(DVBPSI_LIBS) $(SOCKET_LIBS)
226 if HAVE_DVBPSI
227 demux_LTLIBRARIES += libts_plugin.la
228 endif