Statistics
| Branch: | Revision:

ffmpeg / libavcodec / Makefile @ 26b4fe82

History | View | Annotate | Download (17.9 KB)

1 4cc281d9 Fabrice Bellard
#
2
# libavcodec Makefile
3 6d6d7970 Mike Melanson
# (c) 2000-2005 Fabrice Bellard
4 4cc281d9 Fabrice Bellard
#
5 980fc7b8 Fabrice Bellard
include ../config.mak
6
7 91024272 Stanislav Brabec
CFLAGS+=-I$(SRC_PATH)/libswscale
8 de6d9b64 Fabrice Bellard
9 7fd265a7 Diego Biurrun
OBJS= bitstream.o \
10
      utils.o \
11
      allcodecs.o \
12
      mpegvideo.o \
13
      jrevdct.o \
14
      jfdctfst.o \
15
      jfdctint.o\
16
      mjpeg.o \
17
      resample.o \
18
      resample2.o \
19
      dsputil.o \
20
      motion_est.o \
21
      imgconvert.o \
22
      mpeg12.o \
23
      mpegaudiodec.o \
24
      simple_idct.o \
25
      ratecontrol.o \
26
      eval.o \
27
      error_resilience.o \
28
      fft.o \
29
      mdct.o \
30
      raw.o \
31
      golomb.o \
32
      cabac.o\
33
      faandct.o \
34
      parser.o \
35
      vp3dsp.o \
36
      h264idct.o \
37
      rangecoder.o \
38
      pnm.o \
39
      h263.o \
40 748c2fca Michael Niedermayer
      opt.o \
41
      bitstream_filter.o \
42 0eb6817d Michael Niedermayer
      audioconvert.o \
43 748c2fca Michael Niedermayer
44 240c1657 Fabrice Bellard
45 bb42f829 Nico Sabbi
HEADERS = avcodec.h opt.h
46 8b2121e3 Måns Rullgård
47 bac3be38 Måns Rullgård
OBJS-$(CONFIG_AASC_DECODER)            += aasc.o
48 7adb10be Aurelien Jacobs
OBJS-$(CONFIG_AC3_ENCODER)             += ac3enc.o ac3tab.o ac3.o
49 bac3be38 Måns Rullgård
OBJS-$(CONFIG_ALAC_DECODER)            += alac.o
50
OBJS-$(CONFIG_ASV1_DECODER)            += asv1.o
51
OBJS-$(CONFIG_ASV1_ENCODER)            += asv1.o
52
OBJS-$(CONFIG_ASV2_DECODER)            += asv1.o
53
OBJS-$(CONFIG_ASV2_ENCODER)            += asv1.o
54 10e26bc7 Benjamin Larsson
OBJS-$(CONFIG_ATRAC3_DECODER)          += atrac3.o
55 bac3be38 Måns Rullgård
OBJS-$(CONFIG_AVS_DECODER)             += avs.o
56 1e6c6759 Nicholas Tung
OBJS-$(CONFIG_BETHSOFTVID_DECODER)     += bethsoftvideo.o
57 a29ff6b7 Måns Rullgård
OBJS-$(CONFIG_BMP_DECODER)             += bmp.o
58 52548eee Diego Biurrun
OBJS-$(CONFIG_BMP_ENCODER)             += bmpenc.o
59 9a0ddd09 Anssi Hannula
OBJS-$(CONFIG_C93_DECODER)             += c93.o
60 bac3be38 Måns Rullgård
OBJS-$(CONFIG_CAVS_DECODER)            += cavs.o cavsdsp.o
61
OBJS-$(CONFIG_CINEPAK_DECODER)         += cinepak.o
62
OBJS-$(CONFIG_CLJR_DECODER)            += cljr.o
63
OBJS-$(CONFIG_CLJR_ENCODER)            += cljr.o
64 a29ff6b7 Måns Rullgård
OBJS-$(CONFIG_COOK_DECODER)            += cook.o
65 4302963d Reimar Döffinger
OBJS-$(CONFIG_CSCD_DECODER)            += cscd.o
66 bac3be38 Måns Rullgård
OBJS-$(CONFIG_CYUV_DECODER)            += cyuv.o
67 01ca9ac3 Kostya Shishkov
OBJS-$(CONFIG_DCA_DECODER)             += dca.o
68 52b6bad2 Baptiste Coudurier
OBJS-$(CONFIG_DNXHD_DECODER)           += dnxhddec.o
69 72450e50 Baptiste Coudurier
OBJS-$(CONFIG_DSICINVIDEO_DECODER)     += dsicinav.o
70
OBJS-$(CONFIG_DSICINAUDIO_DECODER)     += dsicinav.o
71 bac3be38 Måns Rullgård
OBJS-$(CONFIG_DVBSUB_DECODER)          += dvbsubdec.o
72
OBJS-$(CONFIG_DVBSUB_ENCODER)          += dvbsub.o
73 ebd6a694 Diego Biurrun
OBJS-$(CONFIG_DVDSUB_DECODER)          += dvdsubdec.o
74 bac3be38 Måns Rullgård
OBJS-$(CONFIG_DVDSUB_ENCODER)          += dvdsubenc.o
75
OBJS-$(CONFIG_DVVIDEO_DECODER)         += dv.o
76
OBJS-$(CONFIG_DVVIDEO_ENCODER)         += dv.o
77 33a0dd37 Kostya Shishkov
OBJS-$(CONFIG_DXA_DECODER)             += dxa.o
78 bac3be38 Måns Rullgård
OBJS-$(CONFIG_EIGHTBPS_DECODER)        += 8bps.o
79
OBJS-$(CONFIG_FFV1_DECODER)            += ffv1.o
80
OBJS-$(CONFIG_FFV1_ENCODER)            += ffv1.o
81 a29ff6b7 Måns Rullgård
OBJS-$(CONFIG_FFVHUFF_DECODER)         += huffyuv.o
82
OBJS-$(CONFIG_FFVHUFF_ENCODER)         += huffyuv.o
83 bac3be38 Måns Rullgård
OBJS-$(CONFIG_FLAC_DECODER)            += flac.o
84
OBJS-$(CONFIG_FLAC_ENCODER)            += flacenc.o
85 90d912af Måns Rullgård
OBJS-$(CONFIG_FLASHSV_DECODER)         += flashsv.o
86
OBJS-$(CONFIG_FLASHSV_ENCODER)         += flashsvenc.o
87 bac3be38 Måns Rullgård
OBJS-$(CONFIG_FLIC_DECODER)            += flicvideo.o
88
OBJS-$(CONFIG_FOURXM_DECODER)          += 4xm.o
89
OBJS-$(CONFIG_FRAPS_DECODER)           += fraps.o
90 ffc5430b Kostya Shishkov
OBJS-$(CONFIG_GIF_DECODER)             += gifdec.o lzw.o
91 93481fe5 Baptiste Coudurier
OBJS-$(CONFIG_GIF_ENCODER)             += gif.o
92 bac3be38 Måns Rullgård
OBJS-$(CONFIG_H261_DECODER)            += h261.o
93
OBJS-$(CONFIG_H261_ENCODER)            += h261.o
94 4a815a7f Diego Biurrun
OBJS-$(CONFIG_H263_DECODER)            += h263dec.o
95 bac3be38 Måns Rullgård
OBJS-$(CONFIG_H264_DECODER)            += h264.o
96 c6b237da Panagiotis Issaris
OBJS-$(CONFIG_H264_ENCODER)            += h264enc.o h264dsp.o
97 bac3be38 Måns Rullgård
OBJS-$(CONFIG_HUFFYUV_DECODER)         += huffyuv.o
98
OBJS-$(CONFIG_HUFFYUV_ENCODER)         += huffyuv.o
99
OBJS-$(CONFIG_IDCIN_DECODER)           += idcinvideo.o
100 84ed36da Kostya Shishkov
OBJS-$(CONFIG_IMC_DECODER)             += imc.o
101 bac3be38 Måns Rullgård
OBJS-$(CONFIG_INDEO2_DECODER)          += indeo2.o
102
OBJS-$(CONFIG_INDEO3_DECODER)          += indeo3.o
103
OBJS-$(CONFIG_INTERPLAY_VIDEO_DECODER) += interplayvideo.o
104 f7e79298 Måns Rullgård
OBJS-$(CONFIG_INTERPLAY_DPCM_DECODER)  += dpcm.o
105 bac3be38 Måns Rullgård
OBJS-$(CONFIG_KMVC_DECODER)            += kmvc.o
106
OBJS-$(CONFIG_LOCO_DECODER)            += loco.o
107
OBJS-$(CONFIG_MACE3_DECODER)           += mace.o
108
OBJS-$(CONFIG_MACE6_DECODER)           += mace.o
109 a29ff6b7 Måns Rullgård
OBJS-$(CONFIG_MMVIDEO_DECODER)         += mmvideo.o
110 bac3be38 Måns Rullgård
OBJS-$(CONFIG_MP2_ENCODER)             += mpegaudio.o
111 185c7b6b Kostya Shishkov
OBJS-$(CONFIG_MPC7_DECODER)            += mpc.o
112 42ef2dbc Aurelien Jacobs
OBJS-$(CONFIG_MSMPEG4V1_DECODER)       += msmpeg4.o msmpeg4data.o
113
OBJS-$(CONFIG_MSMPEG4V1_ENCODER)       += msmpeg4.o msmpeg4data.o
114
OBJS-$(CONFIG_MSMPEG4V2_DECODER)       += msmpeg4.o msmpeg4data.o
115
OBJS-$(CONFIG_MSMPEG4V2_ENCODER)       += msmpeg4.o msmpeg4data.o
116
OBJS-$(CONFIG_MSMPEG4V3_DECODER)       += msmpeg4.o msmpeg4data.o
117
OBJS-$(CONFIG_MSMPEG4V3_ENCODER)       += msmpeg4.o msmpeg4data.o
118 bac3be38 Måns Rullgård
OBJS-$(CONFIG_MSRLE_DECODER)           += msrle.o
119
OBJS-$(CONFIG_MSVIDEO1_DECODER)        += msvideo1.o
120 a29ff6b7 Måns Rullgård
OBJS-$(CONFIG_MSZH_DECODER)            += lcl.o
121 4302963d Reimar Döffinger
OBJS-$(CONFIG_NUV_DECODER)             += nuv.o rtjpeg.o
122 bac3be38 Måns Rullgård
OBJS-$(CONFIG_PNG_DECODER)             += png.o
123
OBJS-$(CONFIG_PNG_ENCODER)             += png.o
124 b46d68c6 Ivo van Poorten
OBJS-$(CONFIG_PTX_DECODER)             += ptx.o
125 bac3be38 Måns Rullgård
OBJS-$(CONFIG_QDM2_DECODER)            += qdm2.o
126
OBJS-$(CONFIG_QDRAW_DECODER)           += qdrw.o
127
OBJS-$(CONFIG_QPEG_DECODER)            += qpeg.o
128
OBJS-$(CONFIG_QTRLE_DECODER)           += qtrle.o
129
OBJS-$(CONFIG_RA_144_DECODER)          += ra144.o
130
OBJS-$(CONFIG_RA_288_DECODER)          += ra288.o
131
OBJS-$(CONFIG_ROQ_DECODER)             += roqvideo.o
132 f7e79298 Måns Rullgård
OBJS-$(CONFIG_ROQ_DPCM_DECODER)        += dpcm.o
133 f025588b Vitor Sessak
OBJS-$(CONFIG_ROQ_DPCM_ENCODER)        += roqaudioenc.o
134 bac3be38 Måns Rullgård
OBJS-$(CONFIG_RPZA_DECODER)            += rpza.o
135
OBJS-$(CONFIG_RV10_DECODER)            += rv10.o
136
OBJS-$(CONFIG_RV10_ENCODER)            += rv10.o
137
OBJS-$(CONFIG_RV20_DECODER)            += rv10.o
138
OBJS-$(CONFIG_RV20_ENCODER)            += rv10.o
139 2d99eed1 Xiaohui Sun
OBJS-$(CONFIG_SGI_DECODER)             += sgidec.o
140
OBJS-$(CONFIG_SGI_ENCODER)             += sgienc.o rle.o
141 bac3be38 Måns Rullgård
OBJS-$(CONFIG_SHORTEN_DECODER)         += shorten.o
142
OBJS-$(CONFIG_SMACKAUD_DECODER)        += smacker.o
143 a29ff6b7 Måns Rullgård
OBJS-$(CONFIG_SMACKER_DECODER)         += smacker.o
144 bac3be38 Måns Rullgård
OBJS-$(CONFIG_SMC_DECODER)             += smc.o
145
OBJS-$(CONFIG_SNOW_DECODER)            += snow.o
146
OBJS-$(CONFIG_SNOW_ENCODER)            += snow.o
147 f7e79298 Måns Rullgård
OBJS-$(CONFIG_SOL_DPCM_DECODER)        += dpcm.o
148 bac3be38 Måns Rullgård
OBJS-$(CONFIG_SONIC_DECODER)           += sonic.o
149
OBJS-$(CONFIG_SONIC_ENCODER)           += sonic.o
150
OBJS-$(CONFIG_SONIC_LS_DECODER)        += sonic.o
151
OBJS-$(CONFIG_SVQ1_DECODER)            += svq1.o
152
OBJS-$(CONFIG_SVQ1_ENCODER)            += svq1.o
153 a29ff6b7 Måns Rullgård
OBJS-$(CONFIG_SVQ3_DECODER)            += h264.o
154 3689cf16 Kostya Shishkov
OBJS-$(CONFIG_TARGA_DECODER)           += targa.o
155 1ca286e1 Michael Niedermayer
OBJS-$(CONFIG_TARGA_ENCODER)           += targaenc.o rle.o
156 da91ed59 Aurelien Jacobs
OBJS-$(CONFIG_THEORA_DECODER)          += vp3.o xiph.o
157 9a64e044 Diego Biurrun
OBJS-$(CONFIG_TIERTEXSEQVIDEO_DECODER) += tiertexseqv.o
158 ffc5430b Kostya Shishkov
OBJS-$(CONFIG_TIFF_DECODER)            += tiff.o lzw.o
159 efd2afc2 Michael Niedermayer
OBJS-$(CONFIG_TIFF_ENCODER)            += tiffenc.o rle.o lzwenc.o
160 bac3be38 Måns Rullgård
OBJS-$(CONFIG_TRUEMOTION1_DECODER)     += truemotion1.o
161
OBJS-$(CONFIG_TRUEMOTION2_DECODER)     += truemotion2.o
162
OBJS-$(CONFIG_TRUESPEECH_DECODER)      += truespeech.o
163
OBJS-$(CONFIG_TSCC_DECODER)            += tscc.o
164 a29ff6b7 Måns Rullgård
OBJS-$(CONFIG_TTA_DECODER)             += tta.o
165 1ca779e7 Ivo van Poorten
OBJS-$(CONFIG_TXD_DECODER)             += txd.o s3tc.o
166 bac3be38 Måns Rullgård
OBJS-$(CONFIG_ULTI_DECODER)            += ulti.o
167 42ef2dbc Aurelien Jacobs
OBJS-$(CONFIG_VC1_DECODER)             += vc1.o vc1data.o vc1dsp.o msmpeg4data.o
168 bac3be38 Måns Rullgård
OBJS-$(CONFIG_VCR1_DECODER)            += vcr1.o
169
OBJS-$(CONFIG_VCR1_ENCODER)            += vcr1.o
170
OBJS-$(CONFIG_VMDAUDIO_DECODER)        += vmdav.o
171 a29ff6b7 Måns Rullgård
OBJS-$(CONFIG_VMDVIDEO_DECODER)        += vmdav.o
172 eb57c889 Kostya Shishkov
OBJS-$(CONFIG_VMNC_DECODER)            += vmnc.o
173 07c55d8e Aurelien Jacobs
OBJS-$(CONFIG_VORBIS_DECODER)          += vorbis_dec.o vorbis.o vorbis_data.o xiph.o
174
OBJS-$(CONFIG_VORBIS_ENCODER)          += vorbis_enc.o vorbis.o vorbis_data.o
175 bac3be38 Måns Rullgård
OBJS-$(CONFIG_VP3_DECODER)             += vp3.o
176 5ce117c3 Aurelien Jacobs
OBJS-$(CONFIG_VP5_DECODER)             += vp5.o vp56.o vp56data.o
177
OBJS-$(CONFIG_VP6_DECODER)             += vp6.o vp56.o vp56data.o
178 bac3be38 Måns Rullgård
OBJS-$(CONFIG_VQA_DECODER)             += vqavideo.o
179 730581f3 Kostya Shishkov
OBJS-$(CONFIG_WAVPACK_DECODER)         += wavpack.o
180 59686073 Michael Niedermayer
OBJS-$(CONFIG_WMAV1_DECODER)           += wmadec.o wma.o
181
OBJS-$(CONFIG_WMAV2_DECODER)           += wmadec.o wma.o
182
OBJS-$(CONFIG_WMAV1_ENCODER)           += wmaenc.o wma.o
183
OBJS-$(CONFIG_WMAV2_ENCODER)           += wmaenc.o wma.o
184 42ef2dbc Aurelien Jacobs
OBJS-$(CONFIG_WMV2_DECODER)            += msmpeg4.o msmpeg4data.o
185
OBJS-$(CONFIG_WMV2_ENCODER)            += msmpeg4.o msmpeg4data.o
186 986a865f Kostya Shishkov
OBJS-$(CONFIG_WMV3_DECODER)            += vc1.o vc1data.o vc1dsp.o
187 bac3be38 Måns Rullgård
OBJS-$(CONFIG_WNV1_DECODER)            += wnv1.o
188
OBJS-$(CONFIG_WS_SND1_DECODER)         += ws-snd1.o
189 f7e79298 Måns Rullgård
OBJS-$(CONFIG_XAN_DPCM_DECODER)        += dpcm.o
190 bac3be38 Måns Rullgård
OBJS-$(CONFIG_XAN_WC3_DECODER)         += xan.o
191
OBJS-$(CONFIG_XAN_WC4_DECODER)         += xan.o
192
OBJS-$(CONFIG_XL_DECODER)              += xl.o
193 a29ff6b7 Måns Rullgård
OBJS-$(CONFIG_ZLIB_DECODER)            += lcl.o
194
OBJS-$(CONFIG_ZLIB_ENCODER)            += lcl.o
195 bac3be38 Måns Rullgård
OBJS-$(CONFIG_ZMBV_DECODER)            += zmbv.o
196 3dd52c5a Kostya Shishkov
OBJS-$(CONFIG_ZMBV_ENCODER)            += zmbvenc.o
197 bac3be38 Måns Rullgård
198 327dcfd3 Måns Rullgård
OBJS-$(CONFIG_PCM_S32LE_DECODER)       += pcm.o
199
OBJS-$(CONFIG_PCM_S32LE_ENCODER)       += pcm.o
200
OBJS-$(CONFIG_PCM_S32BE_DECODER)       += pcm.o
201
OBJS-$(CONFIG_PCM_S32BE_ENCODER)       += pcm.o
202
OBJS-$(CONFIG_PCM_U32LE_DECODER)       += pcm.o
203
OBJS-$(CONFIG_PCM_U32LE_ENCODER)       += pcm.o
204
OBJS-$(CONFIG_PCM_U32BE_DECODER)       += pcm.o
205
OBJS-$(CONFIG_PCM_U32BE_ENCODER)       += pcm.o
206
OBJS-$(CONFIG_PCM_S24LE_DECODER)       += pcm.o
207
OBJS-$(CONFIG_PCM_S24LE_ENCODER)       += pcm.o
208
OBJS-$(CONFIG_PCM_S24BE_DECODER)       += pcm.o
209
OBJS-$(CONFIG_PCM_S24BE_ENCODER)       += pcm.o
210
OBJS-$(CONFIG_PCM_U24LE_DECODER)       += pcm.o
211
OBJS-$(CONFIG_PCM_U24LE_ENCODER)       += pcm.o
212
OBJS-$(CONFIG_PCM_U24BE_DECODER)       += pcm.o
213
OBJS-$(CONFIG_PCM_U24BE_ENCODER)       += pcm.o
214
OBJS-$(CONFIG_PCM_S24DAUD_DECODER)     += pcm.o
215
OBJS-$(CONFIG_PCM_S24DAUD_ENCODER)     += pcm.o
216
OBJS-$(CONFIG_PCM_S16LE_DECODER)       += pcm.o
217
OBJS-$(CONFIG_PCM_S16LE_ENCODER)       += pcm.o
218
OBJS-$(CONFIG_PCM_S16BE_DECODER)       += pcm.o
219
OBJS-$(CONFIG_PCM_S16BE_ENCODER)       += pcm.o
220
OBJS-$(CONFIG_PCM_U16LE_DECODER)       += pcm.o
221
OBJS-$(CONFIG_PCM_U16LE_ENCODER)       += pcm.o
222
OBJS-$(CONFIG_PCM_U16BE_DECODER)       += pcm.o
223
OBJS-$(CONFIG_PCM_U16BE_ENCODER)       += pcm.o
224
OBJS-$(CONFIG_PCM_S8_DECODER)          += pcm.o
225
OBJS-$(CONFIG_PCM_S8_ENCODER)          += pcm.o
226
OBJS-$(CONFIG_PCM_U8_DECODER)          += pcm.o
227
OBJS-$(CONFIG_PCM_U8_ENCODER)          += pcm.o
228
OBJS-$(CONFIG_PCM_ALAW_DECODER)        += pcm.o
229
OBJS-$(CONFIG_PCM_ALAW_ENCODER)        += pcm.o
230
OBJS-$(CONFIG_PCM_MULAW_DECODER)       += pcm.o
231
OBJS-$(CONFIG_PCM_MULAW_ENCODER)       += pcm.o
232
233
OBJS-$(CONFIG_ADPCM_4XM_DECODER)       += adpcm.o
234
OBJS-$(CONFIG_ADPCM_4XM_ENCODER)       += adpcm.o
235 7239fb57 Måns Rullgård
OBJS-$(CONFIG_ADPCM_ADX_DECODER)       += adx.o
236
OBJS-$(CONFIG_ADPCM_ADX_ENCODER)       += adx.o
237 327dcfd3 Måns Rullgård
OBJS-$(CONFIG_ADPCM_CT_DECODER)        += adpcm.o
238
OBJS-$(CONFIG_ADPCM_CT_ENCODER)        += adpcm.o
239
OBJS-$(CONFIG_ADPCM_EA_DECODER)        += adpcm.o
240
OBJS-$(CONFIG_ADPCM_EA_ENCODER)        += adpcm.o
241
OBJS-$(CONFIG_ADPCM_G726_DECODER)      += g726.o
242
OBJS-$(CONFIG_ADPCM_G726_ENCODER)      += g726.o
243
OBJS-$(CONFIG_ADPCM_IMA_DK3_DECODER)   += adpcm.o
244
OBJS-$(CONFIG_ADPCM_IMA_DK3_ENCODER)   += adpcm.o
245
OBJS-$(CONFIG_ADPCM_IMA_DK4_DECODER)   += adpcm.o
246
OBJS-$(CONFIG_ADPCM_IMA_DK4_ENCODER)   += adpcm.o
247
OBJS-$(CONFIG_ADPCM_IMA_QT_DECODER)    += adpcm.o
248
OBJS-$(CONFIG_ADPCM_IMA_QT_ENCODER)    += adpcm.o
249 9b1a3ea0 Diego Biurrun
OBJS-$(CONFIG_ADPCM_IMA_SMJPEG_DECODER) += adpcm.o
250
OBJS-$(CONFIG_ADPCM_IMA_SMJPEG_ENCODER) += adpcm.o
251 327dcfd3 Måns Rullgård
OBJS-$(CONFIG_ADPCM_IMA_WAV_DECODER)   += adpcm.o
252
OBJS-$(CONFIG_ADPCM_IMA_WAV_ENCODER)   += adpcm.o
253
OBJS-$(CONFIG_ADPCM_IMA_WS_DECODER)    += adpcm.o
254
OBJS-$(CONFIG_ADPCM_IMA_WS_ENCODER)    += adpcm.o
255
OBJS-$(CONFIG_ADPCM_MS_DECODER)        += adpcm.o
256
OBJS-$(CONFIG_ADPCM_MS_ENCODER)        += adpcm.o
257
OBJS-$(CONFIG_ADPCM_SBPRO_2_DECODER)   += adpcm.o
258
OBJS-$(CONFIG_ADPCM_SBPRO_2_ENCODER)   += adpcm.o
259
OBJS-$(CONFIG_ADPCM_SBPRO_3_DECODER)   += adpcm.o
260
OBJS-$(CONFIG_ADPCM_SBPRO_3_ENCODER)   += adpcm.o
261
OBJS-$(CONFIG_ADPCM_SBPRO_4_DECODER)   += adpcm.o
262
OBJS-$(CONFIG_ADPCM_SBPRO_4_ENCODER)   += adpcm.o
263
OBJS-$(CONFIG_ADPCM_SWF_DECODER)       += adpcm.o
264
OBJS-$(CONFIG_ADPCM_SWF_ENCODER)       += adpcm.o
265 d1e0d21f Marco Gerards
OBJS-$(CONFIG_ADPCM_THP_DECODER)       += adpcm.o
266 327dcfd3 Måns Rullgård
OBJS-$(CONFIG_ADPCM_XA_DECODER)        += adpcm.o
267
OBJS-$(CONFIG_ADPCM_XA_ENCODER)        += adpcm.o
268
OBJS-$(CONFIG_ADPCM_YAMAHA_DECODER)    += adpcm.o
269
OBJS-$(CONFIG_ADPCM_YAMAHA_ENCODER)    += adpcm.o
270
271 20c9dfe3 Diego Biurrun
# external codec libraries
272 f5a756ef Diego Biurrun
OBJS-$(CONFIG_LIBAMR)                  += amr.o
273 7bc5f2a8 Diego Biurrun
OBJS-$(CONFIG_LIBA52)                  += a52dec.o
274 3ffab361 Diego Biurrun
OBJS-$(CONFIG_LIBDTS)                  += dtsdec.o
275 20c9dfe3 Diego Biurrun
OBJS-$(CONFIG_LIBFAAC)                 += faac.o
276
OBJS-$(CONFIG_LIBFAAD)                 += faad.o
277
OBJS-$(CONFIG_LIBGSM)                  += libgsm.o
278
OBJS-$(CONFIG_LIBMP3LAME)              += mp3lameaudio.o
279 150d2772 Diego Biurrun
OBJS-$(CONFIG_LIBTHEORA)               += libtheoraenc.o
280 20c9dfe3 Diego Biurrun
OBJS-$(CONFIG_LIBVORBIS)               += oggvorbis.o
281
OBJS-$(CONFIG_X264)                    += x264.o
282
OBJS-$(CONFIG_XVID)                    += xvidff.o xvid_rc.o
283 23c99253 Michael Niedermayer
284 bac3be38 Måns Rullgård
285 99ff31dc Aurelien Jacobs
OBJS-$(CONFIG_AAC_PARSER)              += aac_parser.o aac_ac3_parser.o
286
OBJS-$(CONFIG_AC3_PARSER)              += ac3_parser.o ac3tab.o aac_ac3_parser.o
287 c5a60225 Aurelien Jacobs
OBJS-$(CONFIG_CAVSVIDEO_PARSER)        += cavs_parser.o
288 98c98e04 Diego Biurrun
OBJS-$(CONFIG_DCA_PARSER)              += dca_parser.o
289 027f43f0 Diego Biurrun
OBJS-$(CONFIG_DVBSUB_PARSER)           += dvbsub_parser.o
290 44c56000 Diego Biurrun
OBJS-$(CONFIG_DVDSUB_PARSER)           += dvdsub_parser.o
291 3883a99b Diego Biurrun
OBJS-$(CONFIG_H261_PARSER)             += h261_parser.o
292 c33d9814 Diego Biurrun
OBJS-$(CONFIG_H263_PARSER)             += h263_parser.o
293 26b4fe82 Aurelien Jacobs
OBJS-$(CONFIG_H264_PARSER)             += h264_parser.o
294 af9e7d18 Måns Rullgård
OBJS-$(CONFIG_MJPEG_PARSER)            += mjpeg.o
295 d2e911fa Aurelien Jacobs
OBJS-$(CONFIG_MPEG4VIDEO_PARSER)       += mpeg4video_parser.o
296 0cb41728 Aurelien Jacobs
OBJS-$(CONFIG_MPEGAUDIO_PARSER)        += mpegaudio_parser.o
297 7f50d4ac Aurelien Jacobs
OBJS-$(CONFIG_MPEGVIDEO_PARSER)        += mpegvideo_parser.o
298 af9e7d18 Måns Rullgård
OBJS-$(CONFIG_PNM_PARSER)              += pnm.o
299 5982ae94 Diego Biurrun
OBJS-$(CONFIG_VC1_PARSER)              += vc1_parser.o
300 af9e7d18 Måns Rullgård
301 bac3be38 Måns Rullgård
OBJS-$(HAVE_PTHREADS)                  += pthread.o
302
OBJS-$(HAVE_W32THREADS)                += w32thread.o
303
OBJS-$(HAVE_OS2THREADS)                += os2thread.o
304
OBJS-$(HAVE_BEOSTHREADS)               += beosthread.o
305
306
OBJS-$(HAVE_XVMC_ACCEL)                += xvmcvideo.o
307 bb4c2140 Michael Niedermayer
308 790c9ca7 Luca Abeni
ifneq ($(CONFIG_SWSCALER),yes)
309
OBJS += imgresample.o
310
endif
311
312 1026a8d4 Diego Biurrun
# processor-specific code
313 980fc7b8 Fabrice Bellard
ifeq ($(TARGET_MMX),yes)
314 7fd265a7 Diego Biurrun
OBJS += i386/fdct_mmx.o \
315
        i386/cputest.o \
316
        i386/dsputil_mmx.o \
317
        i386/mpegvideo_mmx.o \
318
        i386/motion_est_mmx.o \
319
        i386/simple_idct_mmx.o \
320 0eb59ddb Diego Biurrun
        i386/idct_mmx_xvid.o \
321 7fd265a7 Diego Biurrun
        i386/fft_sse.o \
322
        i386/vp3dsp_mmx.o \
323
        i386/vp3dsp_sse2.o \
324
        i386/fft_3dn.o \
325
        i386/fft_3dn2.o \
326
327 3dc09ed1 Diego Biurrun
OBJS-$(CONFIG_GPL)                     += i386/idct_mmx.o
328
OBJS-$(CONFIG_CAVS_DECODER)            += i386/cavsdsp_mmx.o
329 e870111e Diego Biurrun
OBJS-$(CONFIG_SNOW_DECODER)            += i386/snowdsp_mmx.o
330 de6d9b64 Fabrice Bellard
endif
331
332 bac3be38 Måns Rullgård
ASM_OBJS-$(TARGET_ARCH_ARMV4L)         += armv4l/jrevdct_arm.o     \
333
                                          armv4l/simple_idct_arm.o \
334 5064755e Diego Biurrun
                                          armv4l/dsputil_arm_s.o   \
335
336 bac3be38 Måns Rullgård
OBJS-$(TARGET_ARCH_ARMV4L)             += armv4l/dsputil_arm.o   \
337 5064755e Diego Biurrun
                                          armv4l/mpegvideo_arm.o \
338
339 bac3be38 Måns Rullgård
OBJS-$(TARGET_IWMMXT)                  += armv4l/dsputil_iwmmxt.o   \
340 5064755e Diego Biurrun
                                          armv4l/mpegvideo_iwmmxt.o \
341
342
ASM_OBJS-$(TARGET_ARMV5TE)             += armv4l/simple_idct_armv5te.o \
343 7a886063 Siarhei Siamashka
                                          armv4l/mpegvideo_armv5te.o \
344 bac3be38 Måns Rullgård
345 7d42886b Måns Rullgård
ASM_OBJS-$(HAVE_ARMV6)                 += armv4l/simple_idct_armv6.o
346
347 5064755e Diego Biurrun
OBJS-$(TARGET_ARCH_SPARC)              += sparc/dsputil_vis.o \
348
349 bac3be38 Måns Rullgård
sparc/dsputil_vis.o: CFLAGS += -mcpu=ultrasparc -mtune=ultrasparc
350 3d03c0a2 Fabrice Bellard
351 5064755e Diego Biurrun
OBJS-$(HAVE_MLIB)                      += mlib/dsputil_mlib.o \
352 6ad1fa5a Bernhard Rosenkränzer
353 bac3be38 Måns Rullgård
OBJS-$(TARGET_ARCH_ALPHA)              += alpha/dsputil_alpha.o     \
354
                                          alpha/mpegvideo_alpha.o   \
355
                                          alpha/simple_idct_alpha.o \
356 5064755e Diego Biurrun
                                          alpha/motion_est_alpha.o  \
357
358 bac3be38 Måns Rullgård
ASM_OBJS-$(TARGET_ARCH_ALPHA)          += alpha/dsputil_alpha_asm.o  \
359 5064755e Diego Biurrun
                                          alpha/motion_est_mvi_asm.o \
360
361
OBJS-$(TARGET_ARCH_POWERPC)            += ppc/dsputil_ppc.o   \
362
                                          ppc/mpegvideo_ppc.o \
363 bac3be38 Måns Rullgård
364
OBJS-$(TARGET_MMI)                     += ps2/dsputil_mmi.o   \
365
                                          ps2/idct_mmi.o      \
366 5064755e Diego Biurrun
                                          ps2/mpegvideo_mmi.o \
367
368 bac3be38 Måns Rullgård
OBJS-$(TARGET_ARCH_SH4)                += sh4/idct_sh4.o      \
369
                                          sh4/dsputil_sh4.o   \
370 5064755e Diego Biurrun
                                          sh4/dsputil_align.o \
371
372 bac3be38 Måns Rullgård
OBJS-$(TARGET_ALTIVEC)                 += ppc/dsputil_altivec.o      \
373
                                          ppc/mpegvideo_altivec.o    \
374
                                          ppc/idct_altivec.o         \
375
                                          ppc/fft_altivec.o          \
376
                                          ppc/gmc_altivec.o          \
377
                                          ppc/fdct_altivec.o         \
378 5064755e Diego Biurrun
                                          ppc/float_altivec.o        \
379 1f1aadc3 Luca Barbato
                                          ppc/int_altivec.o          \
380 5064755e Diego Biurrun
381 8cff89be Diego Biurrun
ifeq ($(TARGET_ALTIVEC),yes)
382
OBJS-$(CONFIG_H264_DECODER)            += ppc/h264_altivec.o
383
OBJS-$(CONFIG_SNOW_DECODER)            += ppc/snow_altivec.o
384
OBJS-$(CONFIG_VC1_DECODER)             += ppc/vc1dsp_altivec.o
385
OBJS-$(CONFIG_WMV3_DECODER)            += ppc/vc1dsp_altivec.o
386
endif
387
388 5064755e Diego Biurrun
OBJS-$(TARGET_ARCH_BFIN)               += bfin/dsputil_bfin.o \
389 bac3be38 Måns Rullgård
390 67fd620c Marc Hoffman
ASM_OBJS-$(TARGET_ARCH_BFIN)           += bfin/pixels_bfin.o \
391
                                          bfin/idct_bfin.o   \
392
                                          bfin/fdct_bfin.o   \
393
394 14f29f79 Diego Biurrun
EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
395
396 4bdd05e7 Diego Biurrun
NAME=avcodec
397 f3b60109 Diego Biurrun
LIBVERSION=$(LAVCVERSION)
398
LIBMAJOR=$(LAVCMAJOR)
399 e164fbfe Diego Biurrun
400 51aeb7aa Diego Biurrun
TESTS= imgresample-test fft-test dct-test
401 e164fbfe Diego Biurrun
ifeq ($(TARGET_ARCH_X86),yes)
402 51aeb7aa Diego Biurrun
TESTS+= cpuid_test motion-test
403 e164fbfe Diego Biurrun
endif
404 de6d9b64 Fabrice Bellard
405 997baf01 Måns Rullgård
include ../common.mak
406 8b2121e3 Måns Rullgård
407 93555ad5 Diego Biurrun
tests: apiexample $(TESTS)
408 de6d9b64 Fabrice Bellard
409 c7f1a2f5 Diego Biurrun
clean::
410 8b2121e3 Måns Rullgård
	rm -f \
411 98013cc1 Diego Biurrun
	   i386/*.o i386/*~ \
412 3d03c0a2 Fabrice Bellard
	   armv4l/*.o armv4l/*~ \
413 c34270f5 Fabrice Bellard
	   mlib/*.o mlib/*~ \
414 1e98dffb Nick Kurshev
	   alpha/*.o alpha/*~ \
415 59925ef2 Brian Foley
	   ppc/*.o ppc/*~ \
416 d46aba26 Leon van Stuivenberg
	   ps2/*.o ps2/*~ \
417 0c6bd2ea BERO
	   sh4/*.o sh4/*~ \
418 bb476ff3 James Morrison
	   sparc/*.o sparc/*~ \
419 57514323 Zdenek Kabelac
	   apiexample $(TESTS)
420 d663a1fd Michael Niedermayer
421 c6c46511 Diego Biurrun
apiexample: apiexample.o $(LIB)
422 de6d9b64 Fabrice Bellard
423 c10e9f70 Nick Kurshev
cpuid_test: i386/cputest.c
424
	$(CC) $(CFLAGS) -D__TEST__ -o $@ $<
425
426 0ec92a15 Diego Biurrun
imgresample-test: imgresample.c $(LIB)
427 9933dc71 Diego Biurrun
	$(CC) $(CFLAGS) -DTEST -o $@ $^ $(EXTRALIBS)
428 de6d9b64 Fabrice Bellard
429 9ebc63a9 Fabrice Bellard
dct-test: dct-test.o fdctref.o $(LIB)
430 d771bcae Fabrice Bellard
431 4300403e Fabrice Bellard
motion-test: motion_test.o $(LIB)
432
433 923ceff8 Fabrice Bellard
fft-test: fft-test.o $(LIB)
434 3263626f Diego Biurrun
435 73508bc6 Diego Biurrun
.PHONY: tests