Statistics
| Branch: | Revision:

ffmpeg / libavcodec / Makefile @ 0d02cacd

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