Makefile.am 11.7 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/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
libmpc_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(demuxdir)'
83
libmpc_plugin_la_LIBADD = $(LIBS_mpc) $(LIBM)
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
84 85 86
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
183
libmkv_plugin_la_SOURCES += codec/dts_header.h codec/dts_header.c
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
184 185 186 187 188 189 190 191 192
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

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

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

libplaylist_plugin_la_SOURCES = \
209 210 211 212 213 214 215 216 217 218 219 220 221 222
	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 \
223
	demux/playlist/wpl.c \
224
	demux/playlist/xspf.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

229
libts_plugin_la_SOURCES = demux/ts.c \
230
        demux/mpeg4_iod.c demux/mpeg4_iod.h \
231 232 233 234
	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 \
	demux/dvb-text.h codec/opus_header.c demux/opus.h
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
235 236
libts_plugin_la_CFLAGS = $(AM_CFLAGS) $(DVBPSI_CFLAGS)
libts_plugin_la_LIBADD = $(DVBPSI_LIBS) $(SOCKET_LIBS)
237 238 239 240
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
241 242 243
if HAVE_DVBPSI
demux_LTLIBRARIES += libts_plugin.la
endif
244 245 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

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 \
326 327
    demux/dash/SegmentTracker.cpp \
    demux/dash/SegmentTracker.hpp \
328 329 330 331 332 333 334 335 336 337 338 339 340 341
    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