Makefile.am 7.9 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
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 demux/opus.h
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 125 126
libasf_plugin_la_SOURCES = demux/asf/asf.c demux/asf/libasf.c demux/asf/libasf.h \
                           demux/asf/asfpacket.c demux/asf/asfpacket.h \
                           demux/asf/libasf_guid.h
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
127 128
demux_LTLIBRARIES += libasf_plugin.la

129
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
130 131
demux_LTLIBRARIES += libavi_plugin.la

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

136 137 138 139 140 141 142
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
143
if ENABLE_SOUT
144
libavformat_plugin_la_SOURCES += demux/avformat/mux.c
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
145 146 147 148 149 150 151 152 153 154 155
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
156
if !MERGE_FFMPEG
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
157 158
demux_LTLIBRARIES += libavformat_plugin.la
endif
159
endif
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
160

161
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
162 163
demux_LTLIBRARIES += libes_plugin.la

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

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

Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
170
libmkv_plugin_la_SOURCES = \
171 172 173 174 175 176 177 178 179 180
	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 \
181 182
	demux/mkv/mkv.hpp demux/mkv/mkv.cpp \
	demux/windows_audio_commons.h
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
183 184 185 186 187 188 189 190 191
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

192
libmp4_plugin_la_SOURCES = demux/mp4/mp4.c demux/mp4/mp4.h \
193
                           demux/mp4/libmp4.c demux/mp4/libmp4.h \
194
                           demux/mp4/id3genres.h demux/mp4/languages.h \
195
                           demux/asf/asfpacket.c demux/asf/asfpacket.h \
196
                           demux/mp4/essetup.c demux/mp4/meta.c
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
197 198 199 200 201 202 203
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

204
libmpgv_plugin_la_SOURCES = demux/mpeg/mpgv.c
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
205 206 207
demux_LTLIBRARIES += libmpgv_plugin.la

libplaylist_plugin_la_SOURCES = \
208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224
	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 \
225
	demux/playlist/directory.c \
226
	demux/playlist/playlist.c demux/playlist/playlist.h
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
227 228
demux_LTLIBRARIES += libplaylist_plugin.la

Rafaël Carré's avatar
Rafaël Carré committed
229
libts_plugin_la_SOURCES = demux/ts.c mux/mpeg/csa.c mux/mpeg/dvbpsi_compat.h demux/dvb-text.h codec/opus_header.c demux/opus.h
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
230 231
libts_plugin_la_CFLAGS = $(AM_CFLAGS) $(DVBPSI_CFLAGS)
libts_plugin_la_LIBADD = $(DVBPSI_LIBS) $(SOCKET_LIBS)
232 233 234 235
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
236 237 238
if HAVE_DVBPSI
demux_LTLIBRARIES += libts_plugin.la
endif