Makefile.am 7.57 KB
Newer Older
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
1 2 3
demuxdir = $(pluginsdir)/demux
demux_LTLIBRARIES =

4
libflacsys_plugin_la_SOURCES = demux/flac.c demux/xiph_metadata.h demux/xiph_metadata.c
Rafaël Carré's avatar
Rafaël Carré committed
5
libflacsys_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
6 7
demux_LTLIBRARIES += libflacsys_plugin.la

8 9
libogg_plugin_la_SOURCES = demux/ogg.c demux/ogg.h demux/oggseek.c demux/oggseek.h \
	demux/xiph_metadata.h demux/xiph.h demux/xiph_metadata.c
10
libogg_plugin_la_CFLAGS = $(AM_CFLAGS) $(CFLAGS_ogg) $(LIBVORBIS_CFLAGS)
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
11
libogg_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(demuxdir)'
12
libogg_plugin_la_LIBADD = $(LIBS_ogg) $(LIBVORBIS_LIBS)
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
13 14 15
EXTRA_LTLIBRARIES += libogg_plugin.la
demux_LTLIBRARIES += $(LTLIBogg)

16
libdemuxdump_plugin_la_SOURCES = demux/demuxdump.c
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
17 18
demux_LTLIBRARIES += libdemuxdump_plugin.la

19
librawdv_plugin_la_SOURCES = demux/rawdv.c demux/rawdv.h
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
20 21
demux_LTLIBRARIES += librawdv_plugin.la

22
librawvid_plugin_la_SOURCES = demux/rawvid.c
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
23 24
demux_LTLIBRARIES += librawvid_plugin.la

25
libau_plugin_la_SOURCES = demux/au.c
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
26 27
demux_LTLIBRARIES += libau_plugin.la

28
librawaud_plugin_la_SOURCES = demux/rawaud.c
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
29 30
demux_LTLIBRARIES += librawaud_plugin.la

31
libwav_plugin_la_SOURCES = demux/wav.c demux/windows_audio_commons.h
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
32 33
demux_LTLIBRARIES += libwav_plugin.la

34
libnsv_plugin_la_SOURCES = demux/nsv.c
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
35 36
demux_LTLIBRARIES += libnsv_plugin.la

37
libreal_plugin_la_SOURCES = demux/real.c
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
38 39
demux_LTLIBRARIES += libreal_plugin.la

40
libps_plugin_la_SOURCES = demux/ps.c demux/ps.h
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
41 42
demux_LTLIBRARIES += libps_plugin.la

43
libmod_plugin_la_SOURCES = demux/mod.c
44
libmod_plugin_la_CFLAGS = $(AM_CFLAGS) $(CFLAGS_mod)
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
45 46 47 48 49
libmod_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(demuxdir)'
libmod_plugin_la_LIBADD = $(LIBS_mod)
EXTRA_LTLIBRARIES += libmod_plugin.la
demux_LTLIBRARIES += $(LTLIBmod)

50
libpva_plugin_la_SOURCES = demux/pva.c
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
51 52
demux_LTLIBRARIES += libpva_plugin.la

53
libaiff_plugin_la_SOURCES = demux/aiff.c
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
54 55
demux_LTLIBRARIES += libaiff_plugin.la

56
libmjpeg_plugin_la_SOURCES = demux/mjpeg.c demux/mxpeg_helper.h
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
57 58
demux_LTLIBRARIES += libmjpeg_plugin.la

59
libsubtitle_plugin_la_SOURCES = demux/subtitle.c
60
libsubtitle_plugin_la_LIBADD = $(LIBM)
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
61 62
demux_LTLIBRARIES += libsubtitle_plugin.la

63
libty_plugin_la_SOURCES = demux/ty.c codec/cc.h
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
64 65
demux_LTLIBRARIES += libty_plugin.la

66
libvobsub_plugin_la_SOURCES = demux/vobsub.c demux/vobsub.h
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
67 68
demux_LTLIBRARIES += libvobsub_plugin.la

69
libvoc_plugin_la_SOURCES = demux/voc.c
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
70 71
demux_LTLIBRARIES += libvoc_plugin.la

72
libxa_plugin_la_SOURCES = demux/xa.c
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
73 74
demux_LTLIBRARIES += libxa_plugin.la

75
libnuv_plugin_la_SOURCES = demux/nuv.c
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
76 77
demux_LTLIBRARIES += libnuv_plugin.la

78
libnsc_plugin_la_SOURCES = demux/nsc.c
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
79 80
demux_LTLIBRARIES += libnsc_plugin.la

81
libmpc_plugin_la_SOURCES = demux/mpc.c
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
82 83 84 85 86
libmpc_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(demuxdir)'
libmpc_plugin_la_LIBADD = $(LIBS_mpc)
EXTRA_LTLIBRARIES += libmpc_plugin.la
demux_LTLIBRARIES += $(LTLIBmpc)

87
libtta_plugin_la_SOURCES = demux/tta.c
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
88 89
demux_LTLIBRARIES += libtta_plugin.la

90
libvc1_plugin_la_SOURCES = demux/vc1.c
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
91 92
demux_LTLIBRARIES += libvc1_plugin.la

93
libdemux_cdg_plugin_la_SOURCES = demux/cdg.c
Rafaël Carré's avatar
Rafaël Carré committed
94
libdemux_cdg_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
95 96
demux_LTLIBRARIES += libdemux_cdg_plugin.la

97
libsmf_plugin_la_SOURCES = demux/smf.c
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
98 99
demux_LTLIBRARIES += libsmf_plugin.la

100
libgme_plugin_la_SOURCES = demux/gme.c dummy.cpp
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
101 102 103 104 105
libgme_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(demuxdir)'
libgme_plugin_la_LIBADD = $(LIBS_gme)
EXTRA_LTLIBRARIES += libgme_plugin.la
demux_LTLIBRARIES += $(LTLIBgme)

106
libsid_plugin_la_SOURCES = demux/sid.cpp
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
107 108 109 110 111 112
libsid_plugin_la_CFLAGS = $(AM_CFLAGS) $(CFLAGS_sid)
libsid_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(demuxdir)'
libsid_plugin_la_LIBADD = $(LIBS_sid)
EXTRA_LTLIBRARIES += libsid_plugin.la
demux_LTLIBRARIES += $(LTLIBsid)

113
libdiracsys_plugin_la_SOURCES = demux/dirac.c
Rafaël Carré's avatar
Rafaël Carré committed
114
libdiracsys_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
115 116
demux_LTLIBRARIES += libdiracsys_plugin.la

117
libimage_plugin_la_SOURCES = demux/image.c demux/mxpeg_helper.h
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
118 119
demux_LTLIBRARIES += libimage_plugin.la

120
libdemux_stl_plugin_la_SOURCES = demux/stl.c
Rafaël Carré's avatar
Rafaël Carré committed
121
libdemux_stl_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
122 123
demux_LTLIBRARIES += libdemux_stl_plugin.la

124
libasf_plugin_la_SOURCES = demux/asf/asf.c demux/asf/libasf.c demux/asf/libasf.h demux/asf/libasf_guid.h
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
125 126
demux_LTLIBRARIES += libasf_plugin.la

127
libavi_plugin_la_SOURCES = demux/avi/avi.c demux/avi/libavi.c demux/avi/libavi.h
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
128 129
demux_LTLIBRARIES += libavi_plugin.la

130 131 132 133
libcaf_plugin_la_SOURCES = demux/caf.c
libcaf_plugin_la_LIBADD = $(LIBM)
demux_LTLIBRARIES += libcaf_plugin.la

134 135 136 137 138 139 140
libavformat_plugin_la_SOURCES = demux/avformat/demux.c \
	codec/avcodec/fourcc.c \
	codec/avcodec/chroma.c \
	codec/avcodec/avcommon.h \
	codec/avcodec/avcommon_compat.h \
	demux/vobsub.h \
	demux/avformat/avformat.c demux/avformat/avformat.h
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
141
if ENABLE_SOUT
142
libavformat_plugin_la_SOURCES += demux/avformat/mux.c
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
143 144 145 146 147 148 149 150 151 152 153
endif
libavformat_plugin_la_CFLAGS = $(AM_CFLAGS) $(AVFORMAT_CFLAGS) $(AVUTIL_CFLAGS)
libavformat_plugin_la_LIBADD = $(AVFORMAT_LIBS) $(AVUTIL_LIBS) $(LIBM)
libavformat_plugin_la_LDFLAGS = $(AM_LDFLAGS) $(SYMBOLIC_LDFLAGS)
if HAVE_ZLIB
libavformat_plugin_la_LIBADD += -lz
endif
if HAVE_DARWIN
libavformat_plugin_la_LDFLAGS += -Wl,-read_only_relocs,suppress
endif
if HAVE_AVFORMAT
154
if !MERGE_FFMPEG
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
155 156
demux_LTLIBRARIES += libavformat_plugin.la
endif
157
endif
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
158

159
libes_plugin_la_SOURCES  = demux/mpeg/es.c codec/dts_header.c codec/dts_header.h
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
160 161
demux_LTLIBRARIES += libes_plugin.la

162
libh264_plugin_la_SOURCES = demux/mpeg/h264.c
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
163 164
demux_LTLIBRARIES += libh264_plugin.la

Denis Charmet's avatar
Denis Charmet committed
165
libhevc_plugin_la_SOURCES = demux/mpeg/hevc.c demux/mpeg/mpeg_parser_helpers.h
Denis Charmet's avatar
Denis Charmet committed
166 167
demux_LTLIBRARIES += libhevc_plugin.la

Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
168
libmkv_plugin_la_SOURCES = \
169 170 171 172 173 174 175 176 177 178
	demux/mkv/util.hpp demux/mkv/util.cpp \
	demux/mkv/virtual_segment.hpp demux/mkv/virtual_segment.cpp \
	demux/mkv/matroska_segment.hpp demux/mkv/matroska_segment.cpp \
	demux/mkv/matroska_segment_parse.cpp \
	demux/mkv/demux.hpp demux/mkv/demux.cpp \
	demux/mkv/Ebml_parser.hpp demux/mkv/Ebml_parser.cpp \
	demux/mkv/chapters.hpp demux/mkv/chapters.cpp \
	demux/mkv/chapter_command.hpp demux/mkv/chapter_command.cpp \
	demux/mkv/stream_io_callback.hpp demux/mkv/stream_io_callback.cpp \
	demux/mp4/libmp4.c demux/vobsub.h \
179 180
	demux/mkv/mkv.hpp demux/mkv/mkv.cpp \
	demux/windows_audio_commons.h
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
181 182 183 184 185 186 187 188 189
libmkv_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
libmkv_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(demuxdir)'
libmkv_plugin_la_LIBADD = $(LIBS_mkv)
if HAVE_ZLIB
libmkv_plugin_la_LIBADD += -lz
endif
demux_LTLIBRARIES += $(LTLIBmkv)
EXTRA_LTLIBRARIES += libmkv_plugin.la

190 191
libmp4_plugin_la_SOURCES = demux/mp4/mp4.c demux/mp4/mp4.h \
                           demux/mp4/libmp4.c demux/mp4/libmp4.h demux/mp4/id3genres.h
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
192 193 194 195 196 197 198
libmp4_plugin_la_LIBADD = $(LIBM)
libmp4_plugin_la_LDFLAGS = $(AM_LDFLAGS)
if HAVE_ZLIB
libmp4_plugin_la_LIBADD += -lz
endif
demux_LTLIBRARIES += libmp4_plugin.la

199
libmpgv_plugin_la_SOURCES = demux/mpeg/mpgv.c
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
200 201 202
demux_LTLIBRARIES += libmpgv_plugin.la

libplaylist_plugin_la_SOURCES = \
203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219
	demux/playlist/asx.c \
	demux/playlist/b4s.c \
	demux/playlist/dvb.c \
	demux/playlist/gvp.c \
	demux/playlist/ifo.c \
	demux/playlist/itml.c \
	demux/playlist/itml.h \
	demux/playlist/m3u.c \
	demux/playlist/pls.c \
	demux/playlist/podcast.c \
	demux/playlist/qtl.c \
	demux/playlist/ram.c \
	demux/playlist/sgimb.c \
	demux/playlist/shoutcast.c \
	demux/playlist/wpl.c \
	demux/playlist/xspf.c \
	demux/playlist/zpl.c \
220
	demux/playlist/directory.c \
221
	demux/playlist/playlist.c demux/playlist/playlist.h
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
222 223
demux_LTLIBRARIES += libplaylist_plugin.la

224
libts_plugin_la_SOURCES = demux/ts.c mux/mpeg/csa.c mux/mpeg/dvbpsi_compat.h demux/dvb-text.h
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
225 226
libts_plugin_la_CFLAGS = $(AM_CFLAGS) $(DVBPSI_CFLAGS)
libts_plugin_la_LIBADD = $(DVBPSI_LIBS) $(SOCKET_LIBS)
227 228 229 230
if HAVE_ARIBB24
libts_plugin_la_CFLAGS += $(ARIBB24_CFLAGS)
libts_plugin_la_LIBADD += $(ARIBB24_LIBS)
endif
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
231 232 233
if HAVE_DVBPSI
demux_LTLIBRARIES += libts_plugin.la
endif