Makefile.am 11.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_CPPFLAGS = $(AM_CPPFLAGS) $(LIBVORBIS_CFLAGS) $(OGG_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 = $(LIBVORBIS_LIBS) $(OGG_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/mpeg/ps.c demux/mpeg/ps.h demux/mpeg/pes.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 67
libvobsub_plugin_la_SOURCES = demux/vobsub.c demux/vobsub.h \
                              demux/mpeg/ps.h demux/mpeg/pes.h
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
68 69
demux_LTLIBRARIES += libvobsub_plugin.la

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

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

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

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

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

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

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

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

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

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

107
libsid_plugin_la_SOURCES = demux/sid.cpp
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
108 109 110 111 112 113
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)

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

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

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

125 126 127
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
128 129
demux_LTLIBRARIES += libasf_plugin.la

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

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

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

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

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

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

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

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

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

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

230 231
libts_plugin_la_SOURCES = demux/mpeg/ts.c \
        demux/mpeg/mpeg4_iod.c demux/mpeg/mpeg4_iod.h \
232
        demux/mpeg/pes.h \
233 234 235
	mux/mpeg/csa.c mux/mpeg/dvbpsi_compat.h \
	mux/mpeg/streams.h mux/mpeg/tables.c mux/mpeg/tables.h \
	mux/mpeg/tsutil.c mux/mpeg/tsutil.h \
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
236
	demux/dvb-text.h codec/opus_header.c demux/opus.h
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
237 238
libts_plugin_la_CFLAGS = $(AM_CFLAGS) $(DVBPSI_CFLAGS)
libts_plugin_la_LIBADD = $(DVBPSI_LIBS) $(SOCKET_LIBS)
239 240 241 242
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
243 244 245
if HAVE_DVBPSI
demux_LTLIBRARIES += libts_plugin.la
endif
246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327

libdash_plugin_la_SOURCES = \
    demux/dash/adaptationlogic/AbstractAdaptationLogic.cpp \
    demux/dash/adaptationlogic/AbstractAdaptationLogic.h \
    demux/dash/adaptationlogic/AdaptationLogicFactory.cpp \
    demux/dash/adaptationlogic/AdaptationLogicFactory.h \
    demux/dash/adaptationlogic/AlwaysBestAdaptationLogic.cpp \
    demux/dash/adaptationlogic/AlwaysBestAdaptationLogic.h \
    demux/dash/adaptationlogic/AlwaysLowestAdaptationLogic.cpp \
    demux/dash/adaptationlogic/AlwaysLowestAdaptationLogic.hpp \
    demux/dash/adaptationlogic/IDownloadRateObserver.h \
    demux/dash/adaptationlogic/RateBasedAdaptationLogic.h \
    demux/dash/adaptationlogic/RateBasedAdaptationLogic.cpp \
    demux/dash/adaptationlogic/Representationselectors.hpp \
    demux/dash/adaptationlogic/Representationselectors.cpp \
    demux/dash/http/Chunk.cpp \
    demux/dash/http/Chunk.h \
    demux/dash/http/HTTPConnection.cpp \
    demux/dash/http/HTTPConnection.h \
    demux/dash/http/HTTPConnectionManager.cpp \
    demux/dash/http/HTTPConnectionManager.h \
    demux/dash/http/IHTTPConnection.cpp \
    demux/dash/http/IHTTPConnection.h \
    demux/dash/http/PersistentConnection.cpp \
    demux/dash/http/PersistentConnection.h \
    demux/dash/mpd/AdaptationSet.cpp \
    demux/dash/mpd/AdaptationSet.h \
    demux/dash/mpd/BaseUrl.h \
    demux/dash/mpd/CommonAttributesElements.cpp \
    demux/dash/mpd/CommonAttributesElements.h \
    demux/dash/mpd/ContentDescription.cpp \
    demux/dash/mpd/ContentDescription.h \
    demux/dash/mpd/ICanonicalUrl.hpp \
    demux/dash/mpd/IMPDParser.cpp \
    demux/dash/mpd/IMPDParser.h \
    demux/dash/mpd/IsoffMainParser.cpp \
    demux/dash/mpd/IsoffMainParser.h \
    demux/dash/mpd/MPD.cpp \
    demux/dash/mpd/MPD.h \
    demux/dash/mpd/MPDFactory.cpp \
    demux/dash/mpd/MPDFactory.h \
    demux/dash/mpd/Period.cpp \
    demux/dash/mpd/Period.h \
    demux/dash/mpd/Profile.cpp \
    demux/dash/mpd/Profile.hpp \
    demux/dash/mpd/ProgramInformation.cpp \
    demux/dash/mpd/ProgramInformation.h \
    demux/dash/mpd/Representation.cpp \
    demux/dash/mpd/Representation.h \
    demux/dash/mpd/Segment.cpp \
    demux/dash/mpd/Segment.h \
    demux/dash/mpd/SegmentBase.cpp \
    demux/dash/mpd/SegmentBase.h \
    demux/dash/mpd/SegmentInfoCommon.cpp \
    demux/dash/mpd/SegmentInfoCommon.h \
    demux/dash/mpd/SegmentInformation.cpp \
    demux/dash/mpd/SegmentInformation.hpp \
    demux/dash/mpd/SegmentList.cpp \
    demux/dash/mpd/SegmentList.h \
    demux/dash/mpd/SegmentTemplate.cpp \
    demux/dash/mpd/SegmentTemplate.h \
    demux/dash/mpd/SegmentTimeline.cpp \
    demux/dash/mpd/SegmentTimeline.h \
    demux/dash/mpd/TrickModeType.cpp \
    demux/dash/mpd/TrickModeType.h \
    demux/dash/mpd/Url.cpp \
    demux/dash/mpd/Url.hpp \
    demux/dash/mp4/AtomsReader.cpp \
    demux/dash/mp4/AtomsReader.hpp \
    demux/dash/xml/DOMHelper.cpp \
    demux/dash/xml/DOMHelper.h \
    demux/dash/xml/DOMParser.cpp \
    demux/dash/xml/DOMParser.h \
    demux/dash/xml/Node.cpp \
    demux/dash/xml/Node.h \
    demux/dash/dash.cpp \
    demux/dash/dash.hpp \
    demux/dash/DASHManager.cpp \
    demux/dash/DASHManager.h \
    demux/dash/Helper.cpp \
    demux/dash/Helper.h \
    demux/dash/Properties.hpp \
328 329
    demux/dash/SegmentTracker.cpp \
    demux/dash/SegmentTracker.hpp \
330 331 332 333 334 335 336 337 338 339 340 341 342 343
    demux/dash/StreamsType.hpp \
    demux/dash/Streams.cpp \
    demux/dash/Streams.hpp

libdash_plugin_la_SOURCES += demux/mp4/libmp4.c demux/mp4/libmp4.h

libdash_plugin_la_CXXFLAGS = $(AM_CFLAGS) -I$(srcdir)/demux/dash
libdash_plugin_la_LIBADD = $(SOCKET_LIBS) $(LIBM)
if HAVE_ZLIB
libdash_plugin_la_LIBADD += -lz
endif
demux_LTLIBRARIES += libdash_plugin.la