Makefile.am 6.84 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
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
5 6
demux_LTLIBRARIES += libflacsys_plugin.la

7 8
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
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
9 10 11 12 13 14
libogg_plugin_la_CFLAGS = $(AM_CFLAGS) $(CFLAGS_ogg)
libogg_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(demuxdir)'
libogg_plugin_la_LIBADD = $(LIBS_ogg)
EXTRA_LTLIBRARIES += libogg_plugin.la
demux_LTLIBRARIES += $(LTLIBogg)

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

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

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

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

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

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

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

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

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

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

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

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

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

58
libsubtitle_plugin_la_SOURCES = demux/subtitle.c
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
59 60
demux_LTLIBRARIES += libsubtitle_plugin.la

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

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

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

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

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

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

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

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

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

91
libdemux_cdg_plugin_la_SOURCES = demux/cdg.c
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
92 93
demux_LTLIBRARIES += libdemux_cdg_plugin.la

94
libsmf_plugin_la_SOURCES = demux/smf.c
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
95 96
demux_LTLIBRARIES += libsmf_plugin.la

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

103
libsid_plugin_la_SOURCES = demux/sid.cpp
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
104 105 106 107 108 109
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)

110
libdiracsys_plugin_la_SOURCES = demux/dirac.c
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
111 112
demux_LTLIBRARIES += libdiracsys_plugin.la

113
libimage_plugin_la_SOURCES = demux/image.c demux/mxpeg_helper.h
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
114 115
demux_LTLIBRARIES += libimage_plugin.la

116
libdemux_stl_plugin_la_SOURCES = demux/stl.c
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
117 118
demux_LTLIBRARIES += libdemux_stl_plugin.la

119
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
120 121
demux_LTLIBRARIES += libasf_plugin.la

122
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
123 124
demux_LTLIBRARIES += libavi_plugin.la

125 126 127 128 129 130 131 132
libavformat_plugin_la_SOURCES = demux/avformat/demux.c \
	codec/avcodec/fourcc.c \
	codec/avcodec/chroma.c \
	codec/avcodec/cpu.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
133
if ENABLE_SOUT
134
libavformat_plugin_la_SOURCES += demux/avformat/mux.c
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
135 136 137 138 139 140 141 142 143 144 145 146 147 148
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
demux_LTLIBRARIES += libavformat_plugin.la
endif

149
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
150 151
demux_LTLIBRARIES += libes_plugin.la

152
libh264_plugin_la_SOURCES = demux/mpeg/h264.c
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
153 154 155
demux_LTLIBRARIES += libh264_plugin.la

libmkv_plugin_la_SOURCES = \
156 157 158 159 160 161 162 163 164 165 166
	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 \
	demux/mkv/mkv.hpp demux/mkv/mkv.cpp
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
167 168 169 170 171 172 173 174 175
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

176
libmp4_plugin_la_SOURCES = demux/mp4/mp4.c demux/mp4/libmp4.c demux/mp4/libmp4.h demux/mp4/id3genres.h
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
177 178 179 180 181 182 183
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

184
libmpgv_plugin_la_SOURCES = demux/mpeg/mpgv.c
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
185 186 187
demux_LTLIBRARIES += libmpgv_plugin.la

libplaylist_plugin_la_SOURCES = \
188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205
	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 \
	demux/playlist/playlist.c demux/playlist/playlist.h
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
206 207
demux_LTLIBRARIES += libplaylist_plugin.la

208
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
209 210 211 212 213
libts_plugin_la_CFLAGS = $(AM_CFLAGS) $(DVBPSI_CFLAGS)
libts_plugin_la_LIBADD = $(DVBPSI_LIBS) $(SOCKET_LIBS)
if HAVE_DVBPSI
demux_LTLIBRARIES += libts_plugin.la
endif