buildsys: only include log2_tab per library for shared builds
[ffmpeg.git] / libavformat / Makefile
1 include $(SUBDIR)../config.mak
2
3 NAME = avformat
4 FFLIBS = avcodec avutil
5
6 HEADERS = avformat.h                                                    \
7           avio.h                                                        \
8           version.h                                                     \
9
10 OBJS = allformats.o         \
11        avio.o               \
12        aviobuf.o            \
13        cutils.o             \
14        id3v1.o              \
15        id3v2.o              \
16        metadata.o           \
17        mux.o                \
18        options.o            \
19        os_support.o         \
20        riff.o               \
21        sdp.o                \
22        seek.o               \
23        subtitles.o          \
24        utils.o              \
25
26 OBJS-$(CONFIG_NETWORK)                   += network.o
27 OBJS-$(CONFIG_RTPDEC)                    += rdt.o                       \
28                                             rtp.o                       \
29                                             rtpdec.o                    \
30                                             rtpdec_amr.o                \
31                                             rtpdec_asf.o                \
32                                             rtpdec_g726.o               \
33                                             rtpdec_h263.o               \
34                                             rtpdec_h263_rfc2190.o       \
35                                             rtpdec_h264.o               \
36                                             rtpdec_ilbc.o               \
37                                             rtpdec_jpeg.o               \
38                                             rtpdec_latm.o               \
39                                             rtpdec_mpeg12.o             \
40                                             rtpdec_mpeg4.o              \
41                                             rtpdec_mpegts.o             \
42                                             rtpdec_qcelp.o              \
43                                             rtpdec_qdm2.o               \
44                                             rtpdec_qt.o                 \
45                                             rtpdec_svq3.o               \
46                                             rtpdec_vp8.o                \
47                                             rtpdec_xiph.o               \
48                                             srtp.o
49 OBJS-$(CONFIG_RTPENC_CHAIN)              += rtpenc_chain.o rtp.o
50 OBJS-$(CONFIG_SHARED)                    += log2_tab.o
51
52 # muxers/demuxers
53 OBJS-$(CONFIG_A64_MUXER)                 += a64.o rawenc.o
54 OBJS-$(CONFIG_AAC_DEMUXER)               += aacdec.o rawdec.o
55 OBJS-$(CONFIG_AC3_DEMUXER)               += ac3dec.o rawdec.o
56 OBJS-$(CONFIG_AC3_MUXER)                 += rawenc.o
57 OBJS-$(CONFIG_ACT_DEMUXER)               += act.o
58 OBJS-$(CONFIG_ADF_DEMUXER)               += bintext.o sauce.o
59 OBJS-$(CONFIG_ADX_DEMUXER)               += adxdec.o
60 OBJS-$(CONFIG_ADX_MUXER)                 += rawenc.o
61 OBJS-$(CONFIG_ADTS_MUXER)                += adtsenc.o
62 OBJS-$(CONFIG_AEA_DEMUXER)               += aea.o pcm.o
63 OBJS-$(CONFIG_AFC_DEMUXER)               += afc.o
64 OBJS-$(CONFIG_AIFF_DEMUXER)              += aiffdec.o pcm.o isom.o \
65                                             mov_chan.o
66 OBJS-$(CONFIG_AIFF_MUXER)                += aiffenc.o isom.o id3v2enc.o
67 OBJS-$(CONFIG_AMR_DEMUXER)               += amr.o
68 OBJS-$(CONFIG_AMR_MUXER)                 += amr.o
69 OBJS-$(CONFIG_ANM_DEMUXER)               += anm.o
70 OBJS-$(CONFIG_APC_DEMUXER)               += apc.o
71 OBJS-$(CONFIG_APE_DEMUXER)               += ape.o apetag.o img2.o
72 OBJS-$(CONFIG_AQTITLE_DEMUXER)           += aqtitledec.o
73 OBJS-$(CONFIG_ASF_DEMUXER)               += asfdec.o asf.o asfcrypt.o \
74                                             avlanguage.o
75 OBJS-$(CONFIG_ASF_MUXER)                 += asfenc.o asf.o
76 OBJS-$(CONFIG_ASS_DEMUXER)               += assdec.o
77 OBJS-$(CONFIG_ASS_MUXER)                 += assenc.o
78 OBJS-$(CONFIG_AST_DEMUXER)               += ast.o astdec.o
79 OBJS-$(CONFIG_AST_MUXER)                 += ast.o astenc.o
80 OBJS-$(CONFIG_AU_DEMUXER)                += au.o pcm.o
81 OBJS-$(CONFIG_AU_MUXER)                  += au.o rawenc.o
82 OBJS-$(CONFIG_AVI_DEMUXER)               += avidec.o
83 OBJS-$(CONFIG_AVI_MUXER)                 += avienc.o
84 OBJS-$(CONFIG_AVISYNTH)                  += avisynth.o
85 OBJS-$(CONFIG_AVM2_MUXER)                += swfenc.o swf.o
86 OBJS-$(CONFIG_AVR_DEMUXER)               += avr.o pcm.o
87 OBJS-$(CONFIG_AVS_DEMUXER)               += avs.o vocdec.o voc.o
88 OBJS-$(CONFIG_BETHSOFTVID_DEMUXER)       += bethsoftvid.o
89 OBJS-$(CONFIG_BFI_DEMUXER)               += bfi.o
90 OBJS-$(CONFIG_BINK_DEMUXER)              += bink.o
91 OBJS-$(CONFIG_BINTEXT_DEMUXER)           += bintext.o sauce.o
92 OBJS-$(CONFIG_BIT_DEMUXER)               += bit.o
93 OBJS-$(CONFIG_BIT_MUXER)                 += bit.o
94 OBJS-$(CONFIG_BMV_DEMUXER)               += bmv.o
95 OBJS-$(CONFIG_BRSTM_DEMUXER)             += brstm.o
96 OBJS-$(CONFIG_C93_DEMUXER)               += c93.o vocdec.o voc.o
97 OBJS-$(CONFIG_CAF_DEMUXER)               += cafdec.o caf.o mov.o mov_chan.o \
98                                             isom.o
99 OBJS-$(CONFIG_CAF_MUXER)                 += cafenc.o caf.o riff.o isom.o
100 OBJS-$(CONFIG_CAVSVIDEO_DEMUXER)         += cavsvideodec.o rawdec.o
101 OBJS-$(CONFIG_CAVSVIDEO_MUXER)           += rawenc.o
102 OBJS-$(CONFIG_CDG_DEMUXER)               += cdg.o
103 OBJS-$(CONFIG_CDXL_DEMUXER)              += cdxl.o
104 OBJS-$(CONFIG_CONCAT_DEMUXER)            += concatdec.o
105 OBJS-$(CONFIG_CRC_MUXER)                 += crcenc.o
106 OBJS-$(CONFIG_DAUD_DEMUXER)              += daud.o
107 OBJS-$(CONFIG_DAUD_MUXER)                += daud.o
108 OBJS-$(CONFIG_DFA_DEMUXER)               += dfa.o
109 OBJS-$(CONFIG_DIRAC_DEMUXER)             += diracdec.o rawdec.o
110 OBJS-$(CONFIG_DIRAC_MUXER)               += rawenc.o
111 OBJS-$(CONFIG_DNXHD_DEMUXER)             += dnxhddec.o rawdec.o
112 OBJS-$(CONFIG_DNXHD_MUXER)               += rawenc.o
113 OBJS-$(CONFIG_DSICIN_DEMUXER)            += dsicin.o
114 OBJS-$(CONFIG_DTSHD_DEMUXER)             += dtshddec.o
115 OBJS-$(CONFIG_DTS_DEMUXER)               += dtsdec.o rawdec.o
116 OBJS-$(CONFIG_DTS_MUXER)                 += rawenc.o
117 OBJS-$(CONFIG_DV_DEMUXER)                += dv.o
118 OBJS-$(CONFIG_DV_MUXER)                  += dvenc.o
119 OBJS-$(CONFIG_DXA_DEMUXER)               += dxa.o
120 OBJS-$(CONFIG_EA_CDATA_DEMUXER)          += eacdata.o
121 OBJS-$(CONFIG_EA_DEMUXER)                += electronicarts.o
122 OBJS-$(CONFIG_EAC3_DEMUXER)              += ac3dec.o rawdec.o
123 OBJS-$(CONFIG_EAC3_MUXER)                += rawenc.o
124 OBJS-$(CONFIG_EPAF_DEMUXER)              += epafdec.o pcm.o
125 OBJS-$(CONFIG_FFM_DEMUXER)               += ffmdec.o
126 OBJS-$(CONFIG_FFM_MUXER)                 += ffmenc.o
127 OBJS-$(CONFIG_FFMETADATA_DEMUXER)        += ffmetadec.o
128 OBJS-$(CONFIG_FFMETADATA_MUXER)          += ffmetaenc.o
129 OBJS-$(CONFIG_FILMSTRIP_DEMUXER)         += filmstripdec.o
130 OBJS-$(CONFIG_FILMSTRIP_MUXER)           += filmstripenc.o
131 OBJS-$(CONFIG_FLAC_DEMUXER)              += flacdec.o rawdec.o \
132                                             oggparsevorbis.o \
133                                             vorbiscomment.o
134 OBJS-$(CONFIG_FLAC_MUXER)                += flacenc.o flacenc_header.o \
135                                             vorbiscomment.o
136 OBJS-$(CONFIG_FLIC_DEMUXER)              += flic.o
137 OBJS-$(CONFIG_FLV_DEMUXER)               += flvdec.o
138 OBJS-$(CONFIG_FLV_MUXER)                 += flvenc.o avc.o
139 OBJS-$(CONFIG_FOURXM_DEMUXER)            += 4xm.o
140 OBJS-$(CONFIG_FRAMECRC_MUXER)            += framecrcenc.o framehash.o
141 OBJS-$(CONFIG_FRAMEMD5_MUXER)            += md5enc.o framehash.o
142 OBJS-$(CONFIG_FRM_DEMUXER)               += frmdec.o
143 OBJS-$(CONFIG_GIF_MUXER)                 += gif.o
144 OBJS-$(CONFIG_GIF_DEMUXER)               += gifdec.o
145 OBJS-$(CONFIG_GSM_DEMUXER)               += gsmdec.o
146 OBJS-$(CONFIG_GXF_DEMUXER)               += gxf.o
147 OBJS-$(CONFIG_GXF_MUXER)                 += gxfenc.o audiointerleave.o
148 OBJS-$(CONFIG_G722_DEMUXER)              += g722.o rawdec.o
149 OBJS-$(CONFIG_G722_MUXER)                += rawenc.o
150 OBJS-$(CONFIG_G723_1_DEMUXER)            += g723_1.o
151 OBJS-$(CONFIG_G723_1_MUXER)              += rawenc.o
152 OBJS-$(CONFIG_G729_DEMUXER)              += g729dec.o
153 OBJS-$(CONFIG_H261_DEMUXER)              += h261dec.o rawdec.o
154 OBJS-$(CONFIG_H261_MUXER)                += rawenc.o
155 OBJS-$(CONFIG_H263_DEMUXER)              += h263dec.o rawdec.o
156 OBJS-$(CONFIG_H263_MUXER)                += rawenc.o
157 OBJS-$(CONFIG_H264_DEMUXER)              += h264dec.o rawdec.o
158 OBJS-$(CONFIG_H264_MUXER)                += rawenc.o
159 OBJS-$(CONFIG_HLS_DEMUXER)               += hls.o
160 OBJS-$(CONFIG_HLS_MUXER)                 += hlsenc.o mpegtsenc.o
161 OBJS-$(CONFIG_ICO_DEMUXER)               += icodec.o
162 OBJS-$(CONFIG_ICO_MUXER)                 += icoenc.o
163 OBJS-$(CONFIG_IDCIN_DEMUXER)             += idcin.o
164 OBJS-$(CONFIG_IDF_DEMUXER)               += bintext.o sauce.o
165 OBJS-$(CONFIG_IFF_DEMUXER)               += iff.o
166 OBJS-$(CONFIG_ILBC_DEMUXER)              += ilbc.o
167 OBJS-$(CONFIG_ILBC_MUXER)                += ilbc.o
168 OBJS-$(CONFIG_IMAGE2_DEMUXER)            += img2dec.o img2.o
169 OBJS-$(CONFIG_IMAGE2_MUXER)              += img2enc.o img2.o
170 OBJS-$(CONFIG_IMAGE2PIPE_DEMUXER)        += img2dec.o img2.o
171 OBJS-$(CONFIG_IMAGE2PIPE_MUXER)          += img2enc.o img2.o
172 OBJS-$(CONFIG_INGENIENT_DEMUXER)         += ingenientdec.o rawdec.o
173 OBJS-$(CONFIG_IPMOVIE_DEMUXER)           += ipmovie.o
174 OBJS-$(CONFIG_IRCAM_DEMUXER)             += ircamdec.o ircam.o pcm.o
175 OBJS-$(CONFIG_IRCAM_MUXER)               += ircamenc.o ircam.o rawenc.o
176 OBJS-$(CONFIG_ISS_DEMUXER)               += iss.o
177 OBJS-$(CONFIG_IV8_DEMUXER)               += iv8.o
178 OBJS-$(CONFIG_IVF_DEMUXER)               += ivfdec.o
179 OBJS-$(CONFIG_IVF_MUXER)                 += ivfenc.o
180 OBJS-$(CONFIG_JACOSUB_DEMUXER)           += jacosubdec.o
181 OBJS-$(CONFIG_JACOSUB_MUXER)             += jacosubenc.o rawenc.o
182 OBJS-$(CONFIG_JV_DEMUXER)                += jvdec.o
183 OBJS-$(CONFIG_LATM_DEMUXER)              += rawdec.o
184 OBJS-$(CONFIG_LATM_MUXER)                += latmenc.o rawenc.o
185 OBJS-$(CONFIG_LMLM4_DEMUXER)             += lmlm4.o
186 OBJS-$(CONFIG_LOAS_DEMUXER)              += loasdec.o rawdec.o
187 OBJS-$(CONFIG_LVF_DEMUXER)               += lvfdec.o
188 OBJS-$(CONFIG_LXF_DEMUXER)               += lxfdec.o
189 OBJS-$(CONFIG_M4V_DEMUXER)               += m4vdec.o rawdec.o
190 OBJS-$(CONFIG_M4V_MUXER)                 += rawenc.o
191 OBJS-$(CONFIG_MATROSKA_DEMUXER)          += matroskadec.o matroska.o  \
192                                             isom.o rmsipr.o
193 OBJS-$(CONFIG_MATROSKA_MUXER)            += matroskaenc.o matroska.o \
194                                             isom.o avc.o \
195                                             flacenc_header.o avlanguage.o
196 OBJS-$(CONFIG_MD5_MUXER)                 += md5enc.o
197 OBJS-$(CONFIG_MGSTS_DEMUXER)             += mgsts.o
198 OBJS-$(CONFIG_MICRODVD_DEMUXER)          += microdvddec.o
199 OBJS-$(CONFIG_MICRODVD_MUXER)            += microdvdenc.o
200 OBJS-$(CONFIG_MJPEG_DEMUXER)             += rawdec.o
201 OBJS-$(CONFIG_MJPEG_MUXER)               += rawenc.o
202 OBJS-$(CONFIG_MLP_DEMUXER)               += rawdec.o
203 OBJS-$(CONFIG_MLP_MUXER)                 += rawenc.o
204 OBJS-$(CONFIG_MM_DEMUXER)                += mm.o
205 OBJS-$(CONFIG_MMF_DEMUXER)               += mmf.o
206 OBJS-$(CONFIG_MMF_MUXER)                 += mmf.o rawenc.o
207 OBJS-$(CONFIG_MOV_DEMUXER)               += mov.o isom.o mov_chan.o
208 OBJS-$(CONFIG_MOV_MUXER)                 += movenc.o isom.o avc.o \
209                                             movenchint.o mov_chan.o rtp.o
210 OBJS-$(CONFIG_MP2_MUXER)                 += mp3enc.o rawenc.o id3v2enc.o
211 OBJS-$(CONFIG_MP3_DEMUXER)               += mp3dec.o
212 OBJS-$(CONFIG_MP3_MUXER)                 += mp3enc.o rawenc.o id3v2enc.o
213 OBJS-$(CONFIG_MPC_DEMUXER)               += mpc.o apetag.o img2.o
214 OBJS-$(CONFIG_MPC8_DEMUXER)              += mpc8.o apetag.o img2.o
215 OBJS-$(CONFIG_MPEG1SYSTEM_MUXER)         += mpegenc.o
216 OBJS-$(CONFIG_MPEG1VCD_MUXER)            += mpegenc.o
217 OBJS-$(CONFIG_MPEG2DVD_MUXER)            += mpegenc.o
218 OBJS-$(CONFIG_MPEG2VOB_MUXER)            += mpegenc.o
219 OBJS-$(CONFIG_MPEG2SVCD_MUXER)           += mpegenc.o
220 OBJS-$(CONFIG_MPEG1VIDEO_MUXER)          += rawenc.o
221 OBJS-$(CONFIG_MPEG2VIDEO_MUXER)          += rawenc.o
222 OBJS-$(CONFIG_MPEGPS_DEMUXER)            += mpeg.o
223 OBJS-$(CONFIG_MPEGTS_DEMUXER)            += mpegts.o isom.o
224 OBJS-$(CONFIG_MPEGTS_MUXER)              += mpegtsenc.o
225 OBJS-$(CONFIG_MPEGVIDEO_DEMUXER)         += mpegvideodec.o rawdec.o
226 OBJS-$(CONFIG_MPJPEG_MUXER)              += mpjpeg.o
227 OBJS-$(CONFIG_MPL2_DEMUXER)              += mpl2dec.o
228 OBJS-$(CONFIG_MPSUB_DEMUXER)             += mpsubdec.o
229 OBJS-$(CONFIG_MSNWC_TCP_DEMUXER)         += msnwc_tcp.o
230 OBJS-$(CONFIG_MTV_DEMUXER)               += mtv.o
231 OBJS-$(CONFIG_MVI_DEMUXER)               += mvi.o
232 OBJS-$(CONFIG_MV_DEMUXER)                += mvdec.o
233 OBJS-$(CONFIG_MXF_DEMUXER)               += mxfdec.o mxf.o
234 OBJS-$(CONFIG_MXF_MUXER)                 += mxfenc.o mxf.o audiointerleave.o
235 OBJS-$(CONFIG_MXG_DEMUXER)               += mxg.o
236 OBJS-$(CONFIG_NC_DEMUXER)                += ncdec.o
237 OBJS-$(CONFIG_NISTSPHERE_DEMUXER)        += nistspheredec.o pcm.o
238 OBJS-$(CONFIG_NSV_DEMUXER)               += nsvdec.o
239 OBJS-$(CONFIG_NULL_MUXER)                += nullenc.o
240 OBJS-$(CONFIG_NUT_DEMUXER)               += nutdec.o nut.o
241 OBJS-$(CONFIG_NUT_MUXER)                 += nutenc.o nut.o
242 OBJS-$(CONFIG_NUV_DEMUXER)               += nuv.o
243 OBJS-$(CONFIG_OGG_DEMUXER)               += oggdec.o         \
244                                             oggparsecelt.o   \
245                                             oggparsedirac.o  \
246                                             oggparseflac.o   \
247                                             oggparseogm.o    \
248                                             oggparseopus.o   \
249                                             oggparseskeleton.o \
250                                             oggparsespeex.o  \
251                                             oggparsetheora.o \
252                                             oggparsevorbis.o \
253                                             vorbiscomment.o
254 OBJS-$(CONFIG_OGG_MUXER)                 += oggenc.o \
255                                             vorbiscomment.o
256 OBJS-$(CONFIG_OMA_DEMUXER)               += omadec.o pcm.o oma.o
257 OBJS-$(CONFIG_OMA_MUXER)                 += omaenc.o rawenc.o oma.o id3v2enc.o
258 OBJS-$(CONFIG_PAF_DEMUXER)               += paf.o
259 OBJS-$(CONFIG_PCM_ALAW_DEMUXER)          += pcmdec.o pcm.o
260 OBJS-$(CONFIG_PCM_ALAW_MUXER)            += pcmenc.o rawenc.o
261 OBJS-$(CONFIG_PCM_F32BE_DEMUXER)         += pcmdec.o pcm.o
262 OBJS-$(CONFIG_PCM_F32BE_MUXER)           += pcmenc.o rawenc.o
263 OBJS-$(CONFIG_PCM_F32LE_DEMUXER)         += pcmdec.o pcm.o
264 OBJS-$(CONFIG_PCM_F32LE_MUXER)           += pcmenc.o rawenc.o
265 OBJS-$(CONFIG_PCM_F64BE_DEMUXER)         += pcmdec.o pcm.o
266 OBJS-$(CONFIG_PCM_F64BE_MUXER)           += pcmenc.o rawenc.o
267 OBJS-$(CONFIG_PCM_F64LE_DEMUXER)         += pcmdec.o pcm.o
268 OBJS-$(CONFIG_PCM_F64LE_MUXER)           += pcmenc.o rawenc.o
269 OBJS-$(CONFIG_PCM_MULAW_DEMUXER)         += pcmdec.o pcm.o
270 OBJS-$(CONFIG_PCM_MULAW_MUXER)           += pcmenc.o rawenc.o
271 OBJS-$(CONFIG_PCM_S16BE_DEMUXER)         += pcmdec.o pcm.o
272 OBJS-$(CONFIG_PCM_S16BE_MUXER)           += pcmenc.o rawenc.o
273 OBJS-$(CONFIG_PCM_S16LE_DEMUXER)         += pcmdec.o pcm.o
274 OBJS-$(CONFIG_PCM_S16LE_MUXER)           += pcmenc.o rawenc.o
275 OBJS-$(CONFIG_PCM_S24BE_DEMUXER)         += pcmdec.o pcm.o
276 OBJS-$(CONFIG_PCM_S24BE_MUXER)           += pcmenc.o rawenc.o
277 OBJS-$(CONFIG_PCM_S24LE_DEMUXER)         += pcmdec.o pcm.o
278 OBJS-$(CONFIG_PCM_S24LE_MUXER)           += pcmenc.o rawenc.o
279 OBJS-$(CONFIG_PCM_S32BE_DEMUXER)         += pcmdec.o pcm.o
280 OBJS-$(CONFIG_PCM_S32BE_MUXER)           += pcmenc.o rawenc.o
281 OBJS-$(CONFIG_PCM_S32LE_DEMUXER)         += pcmdec.o pcm.o
282 OBJS-$(CONFIG_PCM_S32LE_MUXER)           += pcmenc.o rawenc.o
283 OBJS-$(CONFIG_PCM_S8_DEMUXER)            += pcmdec.o pcm.o
284 OBJS-$(CONFIG_PCM_S8_MUXER)              += pcmenc.o rawenc.o
285 OBJS-$(CONFIG_PCM_U16BE_DEMUXER)         += pcmdec.o pcm.o
286 OBJS-$(CONFIG_PCM_U16BE_MUXER)           += pcmenc.o rawenc.o
287 OBJS-$(CONFIG_PCM_U16LE_DEMUXER)         += pcmdec.o pcm.o
288 OBJS-$(CONFIG_PCM_U16LE_MUXER)           += pcmenc.o rawenc.o
289 OBJS-$(CONFIG_PCM_U24BE_DEMUXER)         += pcmdec.o pcm.o
290 OBJS-$(CONFIG_PCM_U24BE_MUXER)           += pcmenc.o rawenc.o
291 OBJS-$(CONFIG_PCM_U24LE_DEMUXER)         += pcmdec.o pcm.o
292 OBJS-$(CONFIG_PCM_U24LE_MUXER)           += pcmenc.o rawenc.o
293 OBJS-$(CONFIG_PCM_U32BE_DEMUXER)         += pcmdec.o pcm.o
294 OBJS-$(CONFIG_PCM_U32BE_MUXER)           += pcmenc.o rawenc.o
295 OBJS-$(CONFIG_PCM_U32LE_DEMUXER)         += pcmdec.o pcm.o
296 OBJS-$(CONFIG_PCM_U32LE_MUXER)           += pcmenc.o rawenc.o
297 OBJS-$(CONFIG_PCM_U8_DEMUXER)            += pcmdec.o pcm.o
298 OBJS-$(CONFIG_PCM_U8_MUXER)              += pcmenc.o rawenc.o
299 OBJS-$(CONFIG_PJS_DEMUXER)               += pjsdec.o
300 OBJS-$(CONFIG_PMP_DEMUXER)               += pmpdec.o
301 OBJS-$(CONFIG_PVA_DEMUXER)               += pva.o
302 OBJS-$(CONFIG_PVF_DEMUXER)               += pvfdec.o pcm.o
303 OBJS-$(CONFIG_QCP_DEMUXER)               += qcp.o
304 OBJS-$(CONFIG_R3D_DEMUXER)               += r3d.o
305 OBJS-$(CONFIG_RAWVIDEO_DEMUXER)          += rawvideodec.o
306 OBJS-$(CONFIG_RAWVIDEO_MUXER)            += rawenc.o
307 OBJS-$(CONFIG_REALTEXT_DEMUXER)          += realtextdec.o
308 OBJS-$(CONFIG_RL2_DEMUXER)               += rl2.o
309 OBJS-$(CONFIG_RM_DEMUXER)                += rmdec.o rm.o rmsipr.o
310 OBJS-$(CONFIG_RM_MUXER)                  += rmenc.o rm.o
311 OBJS-$(CONFIG_ROQ_DEMUXER)               += idroqdec.o
312 OBJS-$(CONFIG_ROQ_MUXER)                 += idroqenc.o rawenc.o
313 OBJS-$(CONFIG_RSO_DEMUXER)               += rsodec.o rso.o pcm.o
314 OBJS-$(CONFIG_RSO_MUXER)                 += rsoenc.o rso.o
315 OBJS-$(CONFIG_RPL_DEMUXER)               += rpl.o
316 OBJS-$(CONFIG_RTP_MUXER)                 += rtp.o         \
317                                             rtpenc_aac.o     \
318                                             rtpenc_latm.o    \
319                                             rtpenc_amr.o     \
320                                             rtpenc_h263.o    \
321                                             rtpenc_h263_rfc2190.o \
322                                             rtpenc_jpeg.o \
323                                             rtpenc_mpv.o     \
324                                             rtpenc.o      \
325                                             rtpenc_h264.o \
326                                             rtpenc_vp8.o  \
327                                             rtpenc_xiph.o \
328                                             avc.o
329 OBJS-$(CONFIG_RTSP_DEMUXER)              += rtsp.o rtspdec.o httpauth.o \
330                                             urldecode.o
331 OBJS-$(CONFIG_RTSP_MUXER)                += rtsp.o rtspenc.o httpauth.o \
332                                             urldecode.o
333 OBJS-$(CONFIG_SAMI_DEMUXER)              += samidec.o
334 OBJS-$(CONFIG_SAP_DEMUXER)               += sapdec.o
335 OBJS-$(CONFIG_SAP_MUXER)                 += sapenc.o
336 OBJS-$(CONFIG_SBG_DEMUXER)               += sbgdec.o
337 OBJS-$(CONFIG_SDP_DEMUXER)               += rtsp.o
338 OBJS-$(CONFIG_SEGAFILM_DEMUXER)          += segafilm.o
339 OBJS-$(CONFIG_SEGMENT_MUXER)             += segment.o
340 OBJS-$(CONFIG_SHORTEN_DEMUXER)           += rawdec.o
341 OBJS-$(CONFIG_SIFF_DEMUXER)              += siff.o
342 OBJS-$(CONFIG_SMACKER_DEMUXER)           += smacker.o
343 OBJS-$(CONFIG_SMJPEG_DEMUXER)            += smjpegdec.o smjpeg.o
344 OBJS-$(CONFIG_SMJPEG_MUXER)              += smjpegenc.o smjpeg.o
345 OBJS-$(CONFIG_SMOOTHSTREAMING_MUXER)     += smoothstreamingenc.o isom.o
346 OBJS-$(CONFIG_SMUSH_DEMUXER)             += smush.o
347 OBJS-$(CONFIG_SOL_DEMUXER)               += sol.o pcm.o
348 OBJS-$(CONFIG_SOX_DEMUXER)               += soxdec.o pcm.o
349 OBJS-$(CONFIG_SOX_MUXER)                 += soxenc.o rawenc.o
350 OBJS-$(CONFIG_SPDIF_DEMUXER)             += spdif.o spdifdec.o
351 OBJS-$(CONFIG_SPDIF_MUXER)               += spdif.o spdifenc.o
352 OBJS-$(CONFIG_SRT_DEMUXER)               += srtdec.o
353 OBJS-$(CONFIG_SRT_MUXER)                 += srtenc.o
354 OBJS-$(CONFIG_STR_DEMUXER)               += psxstr.o
355 OBJS-$(CONFIG_SUBVIEWER1_DEMUXER)        += subviewer1dec.o
356 OBJS-$(CONFIG_SUBVIEWER_DEMUXER)         += subviewerdec.o
357 OBJS-$(CONFIG_SWF_DEMUXER)               += swfdec.o swf.o
358 OBJS-$(CONFIG_SWF_MUXER)                 += swfenc.o swf.o
359 OBJS-$(CONFIG_TAK_DEMUXER)               += takdec.o apetag.o img2.o rawdec.o
360 OBJS-$(CONFIG_TEDCAPTIONS_DEMUXER)       += tedcaptionsdec.o
361 OBJS-$(CONFIG_TEE_MUXER)                 += tee.o
362 OBJS-$(CONFIG_THP_DEMUXER)               += thp.o
363 OBJS-$(CONFIG_TIERTEXSEQ_DEMUXER)        += tiertexseq.o
364 OBJS-$(CONFIG_MKVTIMESTAMP_V2_MUXER)     += mkvtimestamp_v2.o
365 OBJS-$(CONFIG_TMV_DEMUXER)               += tmv.o
366 OBJS-$(CONFIG_TRUEHD_DEMUXER)            += rawdec.o
367 OBJS-$(CONFIG_TRUEHD_MUXER)              += rawenc.o
368 OBJS-$(CONFIG_TTA_DEMUXER)               += tta.o
369 OBJS-$(CONFIG_TTY_DEMUXER)               += tty.o sauce.o
370 OBJS-$(CONFIG_TXD_DEMUXER)               += txd.o
371 OBJS-$(CONFIG_VC1_DEMUXER)               += rawdec.o
372 OBJS-$(CONFIG_VC1T_DEMUXER)              += vc1test.o
373 OBJS-$(CONFIG_VC1T_MUXER)                += vc1testenc.o
374 OBJS-$(CONFIG_VIVO_DEMUXER)              += vivo.o
375 OBJS-$(CONFIG_VMD_DEMUXER)               += sierravmd.o
376 OBJS-$(CONFIG_VOC_DEMUXER)               += vocdec.o voc.o
377 OBJS-$(CONFIG_VOC_MUXER)                 += vocenc.o voc.o
378 OBJS-$(CONFIG_VPLAYER_DEMUXER)           += vplayerdec.o
379 OBJS-$(CONFIG_VQF_DEMUXER)               += vqf.o
380 OBJS-$(CONFIG_W64_DEMUXER)               += wavdec.o w64.o pcm.o
381 OBJS-$(CONFIG_W64_MUXER)                 += wavenc.o w64.o
382 OBJS-$(CONFIG_WAV_DEMUXER)               += wavdec.o pcm.o
383 OBJS-$(CONFIG_WAV_MUXER)                 += wavenc.o
384 OBJS-$(CONFIG_WC3_DEMUXER)               += wc3movie.o
385 OBJS-$(CONFIG_WEBM_MUXER)                += matroskaenc.o matroska.o \
386                                             isom.o avc.o \
387                                             flacenc_header.o avlanguage.o
388 OBJS-$(CONFIG_WEBVTT_DEMUXER)            += webvttdec.o
389 OBJS-$(CONFIG_WSAUD_DEMUXER)             += westwood_aud.o
390 OBJS-$(CONFIG_WSVQA_DEMUXER)             += westwood_vqa.o
391 OBJS-$(CONFIG_WTV_DEMUXER)               += wtvdec.o wtv.o asfdec.o asf.o asfcrypt.o \
392                                             avlanguage.o mpegts.o isom.o
393 OBJS-$(CONFIG_WTV_MUXER)                 += wtvenc.o wtv.o asf.o asfenc.o
394 OBJS-$(CONFIG_WV_DEMUXER)                += wv.o apetag.o img2.o
395 OBJS-$(CONFIG_WV_MUXER)                  += wvenc.o apetagenc.o
396 OBJS-$(CONFIG_XA_DEMUXER)                += xa.o
397 OBJS-$(CONFIG_XBIN_DEMUXER)              += bintext.o sauce.o
398 OBJS-$(CONFIG_XMV_DEMUXER)               += xmv.o
399 OBJS-$(CONFIG_XWMA_DEMUXER)              += xwma.o
400 OBJS-$(CONFIG_YOP_DEMUXER)               += yop.o
401 OBJS-$(CONFIG_YUV4MPEGPIPE_MUXER)        += yuv4mpeg.o
402 OBJS-$(CONFIG_YUV4MPEGPIPE_DEMUXER)      += yuv4mpeg.o
403
404 # external libraries
405 OBJS-$(CONFIG_LIBMODPLUG_DEMUXER)        += libmodplug.o
406 OBJS-$(CONFIG_LIBNUT_DEMUXER)            += libnut.o
407 OBJS-$(CONFIG_LIBNUT_MUXER)              += libnut.o
408 OBJS-$(CONFIG_LIBRTMP)                   += librtmp.o
409
410 # protocols I/O
411 OBJS-$(CONFIG_APPLEHTTP_PROTOCOL)        += hlsproto.o
412 OBJS-$(CONFIG_BLURAY_PROTOCOL)           += bluray.o
413 OBJS-$(CONFIG_CACHE_PROTOCOL)            += cache.o
414 OBJS-$(CONFIG_CONCAT_PROTOCOL)           += concat.o
415 OBJS-$(CONFIG_CRYPTO_PROTOCOL)           += crypto.o
416 OBJS-$(CONFIG_DATA_PROTOCOL)             += data_uri.o
417 OBJS-$(CONFIG_FFRTMPCRYPT_PROTOCOL)      += rtmpcrypt.o rtmpdh.o
418 OBJS-$(CONFIG_FFRTMPHTTP_PROTOCOL)       += rtmphttp.o
419 OBJS-$(CONFIG_FILE_PROTOCOL)             += file.o
420 OBJS-$(CONFIG_GOPHER_PROTOCOL)           += gopher.o
421 OBJS-$(CONFIG_HLS_PROTOCOL)              += hlsproto.o
422 OBJS-$(CONFIG_HTTP_PROTOCOL)             += http.o httpauth.o urldecode.o
423 OBJS-$(CONFIG_HTTPPROXY_PROTOCOL)        += http.o httpauth.o urldecode.o
424 OBJS-$(CONFIG_HTTPS_PROTOCOL)            += http.o httpauth.o urldecode.o
425 OBJS-$(CONFIG_MMSH_PROTOCOL)             += mmsh.o mms.o asf.o
426 OBJS-$(CONFIG_MMST_PROTOCOL)             += mmst.o mms.o asf.o
427 OBJS-$(CONFIG_MD5_PROTOCOL)              += md5proto.o
428 OBJS-$(CONFIG_PIPE_PROTOCOL)             += file.o
429 OBJS-$(CONFIG_RTMP_PROTOCOL)             += rtmpproto.o rtmppkt.o
430 OBJS-$(CONFIG_RTMPE_PROTOCOL)            += rtmpproto.o rtmppkt.o
431 OBJS-$(CONFIG_RTMPS_PROTOCOL)            += rtmpproto.o rtmppkt.o
432 OBJS-$(CONFIG_RTMPT_PROTOCOL)            += rtmpproto.o rtmppkt.o
433 OBJS-$(CONFIG_RTMPTE_PROTOCOL)           += rtmpproto.o rtmppkt.o
434 OBJS-$(CONFIG_RTMPTS_PROTOCOL)           += rtmpproto.o rtmppkt.o
435 OBJS-$(CONFIG_RTP_PROTOCOL)              += rtpproto.o
436 OBJS-$(CONFIG_SCTP_PROTOCOL)             += sctp.o
437 OBJS-$(CONFIG_SRTP_PROTOCOL)             += srtpproto.o srtp.o
438 OBJS-$(CONFIG_TCP_PROTOCOL)              += tcp.o
439 OBJS-$(CONFIG_TLS_PROTOCOL)              += tls.o
440 OBJS-$(CONFIG_UDP_PROTOCOL)              += udp.o
441
442 SKIPHEADERS-$(CONFIG_FFRTMPCRYPT_PROTOCOL) += rtmpdh.h
443 SKIPHEADERS-$(CONFIG_NETWORK)            += network.h rtsp.h
444 TESTPROGS = noproxy                                                     \
445             seek                                                        \
446             srtp                                                        \
447             url                                                         \
448
449 TOOLS     = aviocat                                                     \
450             ismindex                                                    \
451             pktdumper                                                   \
452             probetest                                                   \
453             seek_print                                                  \