Mercurial > libavcodec.hg
annotate Makefile @ 3441:040e907f30b7 libavcodec
rewrite kconfig-style
author | mru |
---|---|
date | Sat, 08 Jul 2006 16:39:49 +0000 |
parents | 57ebd927d693 |
children | 31b62dbfa32e |
rev | line source |
---|---|
395 | 1 # |
2 # libavcodec Makefile | |
2542
a27a580f292e
first pass at ALAC decoder from David Hammerton; while David's original
melanson
parents:
2541
diff
changeset
|
3 # (c) 2000-2005 Fabrice Bellard |
395 | 4 # |
2 | 5 include ../config.mak |
6 | |
429 | 7 # NOTE: -I.. is needed to include config.h |
3413 | 8 CFLAGS=$(OPTFLAGS) -DHAVE_AV_CONFIG_H -I.. -I$(SRC_PATH)/libavutil \ |
9 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE $(AMR_CFLAGS) | |
0 | 10 |
2398
582e635cfa08
common.c -> bitstream.c (and the single non bitstream func -> utils.c)
michael
parents:
2362
diff
changeset
|
11 OBJS= bitstream.o utils.o mem.o allcodecs.o \ |
1042 | 12 mpegvideo.o jrevdct.o jfdctfst.o jfdctint.o\ |
3426 | 13 mjpeg.o resample.o resample2.o dsputil.o \ |
1042 | 14 motion_est.o imgconvert.o imgresample.o \ |
1383 | 15 mpeg12.o mpegaudiodec.o pcm.o simple_idct.o \ |
2639 | 16 ratecontrol.o adpcm.o eval.o error_resilience.o \ |
17 fft.o mdct.o raw.o golomb.o cabac.o\ | |
2817
b128802eb77b
libavutil: Utility code from libavcodec moved to a separate library.
al
parents:
2796
diff
changeset
|
18 dpcm.o adx.o faandct.o parser.o g726.o \ |
2946
ac94d509884e
dvbsub encoder, patch by Wolfram Gloger < wmglo AH dent POIS med POIS uni-muenchen POIS de >
gpoirier
parents:
2933
diff
changeset
|
19 vp3dsp.o h264idct.o rangecoder.o pnm.o h263.o msmpeg4.o h263dec.o \ |
3421
b7826511f7b6
AVBitStreamFilter (some thingy which can modify the bitstream like add or remove global headers or change the headers or ...)
michael
parents:
3417
diff
changeset
|
20 opt.o \ |
b7826511f7b6
AVBitStreamFilter (some thingy which can modify the bitstream like add or remove global headers or change the headers or ...)
michael
parents:
3417
diff
changeset
|
21 bitstream_filter.o \ |
b7826511f7b6
AVBitStreamFilter (some thingy which can modify the bitstream like add or remove global headers or change the headers or ...)
michael
parents:
3417
diff
changeset
|
22 |
2756 | 23 |
3208
084635b31002
since Michael prefers to keep dsputil.h private to libavcodec
mru
parents:
3207
diff
changeset
|
24 HEADERS = avcodec.h |
3124 | 25 |
3441 | 26 OBJS-$(CONFIG_AASC_DECODER) += aasc.o |
27 OBJS-$(CONFIG_AC3_ENCODER) += ac3enc.o | |
28 OBJS-$(CONFIG_ALAC_DECODER) += alac.o | |
29 OBJS-$(CONFIG_ASV1_DECODER) += asv1.o | |
30 OBJS-$(CONFIG_ASV1_ENCODER) += asv1.o | |
31 OBJS-$(CONFIG_ASV2_DECODER) += asv1.o | |
32 OBJS-$(CONFIG_ASV2_ENCODER) += asv1.o | |
33 OBJS-$(CONFIG_AVS_DECODER) += avs.o | |
34 OBJS-$(CONFIG_CAVS_DECODER) += cavs.o cavsdsp.o | |
35 OBJS-$(CONFIG_CINEPAK_DECODER) += cinepak.o | |
36 OBJS-$(CONFIG_COOK_DECODER) += cook.o | |
37 OBJS-$(CONFIG_CLJR_DECODER) += cljr.o | |
38 OBJS-$(CONFIG_CLJR_ENCODER) += cljr.o | |
39 OBJS-$(CONFIG_CYUV_DECODER) += cyuv.o | |
40 OBJS-$(CONFIG_DVBSUB_DECODER) += dvbsubdec.o | |
41 OBJS-$(CONFIG_DVBSUB_ENCODER) += dvbsub.o | |
42 OBJS-$(CONFIG_DVDSUB_DECODER) += dvdsub.o | |
43 OBJS-$(CONFIG_DVDSUB_ENCODER) += dvdsubenc.o | |
44 OBJS-$(CONFIG_DVVIDEO_DECODER) += dv.o | |
45 OBJS-$(CONFIG_DVVIDEO_ENCODER) += dv.o | |
46 OBJS-$(CONFIG_EIGHTBPS_DECODER) += 8bps.o | |
47 OBJS-$(CONFIG_FFV1_DECODER) += ffv1.o | |
48 OBJS-$(CONFIG_FFV1_ENCODER) += ffv1.o | |
49 OBJS-$(CONFIG_FLAC_DECODER) += flac.o | |
50 OBJS-$(CONFIG_FLAC_ENCODER) += flacenc.o | |
51 OBJS-$(CONFIG_FLIC_DECODER) += flicvideo.o | |
52 OBJS-$(CONFIG_FOURXM_DECODER) += 4xm.o | |
53 OBJS-$(CONFIG_FRAPS_DECODER) += fraps.o | |
54 OBJS-$(CONFIG_H261_DECODER) += h261.o | |
55 OBJS-$(CONFIG_H261_ENCODER) += h261.o | |
56 OBJS-$(CONFIG_H264_DECODER) += h264.o | |
57 OBJS-$(CONFIG_SVQ3_DECODER) += h264.o | |
58 OBJS-$(CONFIG_HUFFYUV_DECODER) += huffyuv.o | |
59 OBJS-$(CONFIG_HUFFYUV_ENCODER) += huffyuv.o | |
60 OBJS-$(CONFIG_FFVHUFF_DECODER) += huffyuv.o | |
61 OBJS-$(CONFIG_FFVHUFF_ENCODER) += huffyuv.o | |
62 OBJS-$(CONFIG_IDCIN_DECODER) += idcinvideo.o | |
63 OBJS-$(CONFIG_INDEO2_DECODER) += indeo2.o | |
64 OBJS-$(CONFIG_INDEO3_DECODER) += indeo3.o | |
65 OBJS-$(CONFIG_INTERPLAY_VIDEO_DECODER) += interplayvideo.o | |
66 OBJS-$(CONFIG_KMVC_DECODER) += kmvc.o | |
67 OBJS-$(CONFIG_MSZH_DECODER) += lcl.o | |
68 OBJS-$(CONFIG_ZLIB_DECODER) += lcl.o | |
69 OBJS-$(CONFIG_ZLIB_ENCODER) += lcl.o | |
70 OBJS-$(CONFIG_LOCO_DECODER) += loco.o | |
71 OBJS-$(CONFIG_MACE3_DECODER) += mace.o | |
72 OBJS-$(CONFIG_MACE6_DECODER) += mace.o | |
73 OBJS-$(CONFIG_MP2_ENCODER) += mpegaudio.o | |
74 OBJS-$(CONFIG_MSRLE_DECODER) += msrle.o | |
75 OBJS-$(CONFIG_MSVIDEO1_DECODER) += msvideo1.o | |
76 OBJS-$(CONFIG_PNG_DECODER) += png.o | |
77 OBJS-$(CONFIG_PNG_ENCODER) += png.o | |
78 OBJS-$(CONFIG_QDM2_DECODER) += qdm2.o | |
79 OBJS-$(CONFIG_QDRAW_DECODER) += qdrw.o | |
80 OBJS-$(CONFIG_QPEG_DECODER) += qpeg.o | |
81 OBJS-$(CONFIG_QTRLE_DECODER) += qtrle.o | |
82 OBJS-$(CONFIG_RA_144_DECODER) += ra144.o | |
83 OBJS-$(CONFIG_RA_288_DECODER) += ra288.o | |
84 OBJS-$(CONFIG_ROQ_DECODER) += roqvideo.o | |
85 OBJS-$(CONFIG_RPZA_DECODER) += rpza.o | |
86 OBJS-$(CONFIG_RV10_DECODER) += rv10.o | |
87 OBJS-$(CONFIG_RV10_ENCODER) += rv10.o | |
88 OBJS-$(CONFIG_RV20_DECODER) += rv10.o | |
89 OBJS-$(CONFIG_RV20_ENCODER) += rv10.o | |
90 OBJS-$(CONFIG_SHORTEN_DECODER) += shorten.o | |
91 OBJS-$(CONFIG_SMACKER_DECODER) += smacker.o | |
92 OBJS-$(CONFIG_SMACKAUD_DECODER) += smacker.o | |
93 OBJS-$(CONFIG_SMC_DECODER) += smc.o | |
94 OBJS-$(CONFIG_SNOW_DECODER) += snow.o | |
95 OBJS-$(CONFIG_SNOW_ENCODER) += snow.o | |
96 OBJS-$(CONFIG_SONIC_DECODER) += sonic.o | |
97 OBJS-$(CONFIG_SONIC_ENCODER) += sonic.o | |
98 OBJS-$(CONFIG_SONIC_LS_DECODER) += sonic.o | |
99 OBJS-$(CONFIG_SVQ1_DECODER) += svq1.o | |
100 OBJS-$(CONFIG_SVQ1_ENCODER) += svq1.o | |
101 OBJS-$(CONFIG_TRUEMOTION1_DECODER) += truemotion1.o | |
102 OBJS-$(CONFIG_TRUEMOTION2_DECODER) += truemotion2.o | |
103 OBJS-$(CONFIG_TRUESPEECH_DECODER) += truespeech.o | |
104 OBJS-$(CONFIG_TTA_DECODER) += tta.o | |
105 OBJS-$(CONFIG_TSCC_DECODER) += tscc.o | |
106 OBJS-$(CONFIG_CSCD_DECODER) += cscd.o lzo.o | |
107 OBJS-$(CONFIG_NUV_DECODER) += nuv.o rtjpeg.o lzo.o | |
108 OBJS-$(CONFIG_ULTI_DECODER) += ulti.o | |
109 OBJS-$(CONFIG_VC1_DECODER) += vc1.o | |
110 OBJS-$(CONFIG_WMV3_DECODER) += vc1.o | |
111 OBJS-$(CONFIG_VCR1_DECODER) += vcr1.o | |
112 OBJS-$(CONFIG_VCR1_ENCODER) += vcr1.o | |
113 OBJS-$(CONFIG_VMDVIDEO_DECODER) += vmdav.o | |
114 OBJS-$(CONFIG_VMDAUDIO_DECODER) += vmdav.o | |
115 OBJS-$(CONFIG_VORBIS_DECODER) += vorbis.o | |
116 OBJS-$(CONFIG_VP3_DECODER) += vp3.o | |
117 OBJS-$(CONFIG_THEORA_DECODER) += vp3.o | |
118 OBJS-$(CONFIG_VQA_DECODER) += vqavideo.o | |
119 OBJS-$(CONFIG_WMAV1_DECODER) += wmadec.o | |
120 OBJS-$(CONFIG_WMAV2_DECODER) += wmadec.o | |
121 OBJS-$(CONFIG_WNV1_DECODER) += wnv1.o | |
122 OBJS-$(CONFIG_WS_SND1_DECODER) += ws-snd1.o | |
123 OBJS-$(CONFIG_XAN_WC3_DECODER) += xan.o | |
124 OBJS-$(CONFIG_XAN_WC4_DECODER) += xan.o | |
125 OBJS-$(CONFIG_XL_DECODER) += xl.o | |
126 OBJS-$(CONFIG_BMP_DECODER) += bmp.o | |
127 OBJS-$(CONFIG_MMVIDEO_DECODER) += mmvideo.o | |
128 OBJS-$(CONFIG_ZMBV_DECODER) += zmbv.o | |
129 OBJS-$(CONFIG_FLASHSV_DECODER) += flashsv.o | |
2949 | 130 |
3441 | 131 OBJS-$(CONFIG_FAAD) += faad.o |
132 OBJS-$(CONFIG_FAAC) += faac.o | |
133 OBJS-$(CONFIG_XVID) += xvidff.o xvid_rc.o | |
134 OBJS-$(CONFIG_X264) += x264.o | |
135 OBJS-$(CONFIG_MP3LAME) += mp3lameaudio.o | |
136 OBJS-$(CONFIG_LIBVORBIS) += oggvorbis.o | |
137 OBJS-$(CONFIG_LIBTHEORA) += oggtheora.o | |
138 OBJS-$(CONFIG_LIBGSM) += libgsm.o | |
3275
13460cb4ec73
cosmetics: Group all AMR variables together, add some newlines.
diego
parents:
3274
diff
changeset
|
139 |
3441 | 140 # currently using liba52 for ac3 decoding |
141 OBJS-$(CONFIG_AC3) += a52dec.o | |
3275
13460cb4ec73
cosmetics: Group all AMR variables together, add some newlines.
diego
parents:
3274
diff
changeset
|
142 |
3441 | 143 # using builtin liba52 or runtime linked liba52.so.0 |
144 OBJS-$(CONFIG_AC3)$(CONFIG_A52BIN) += liba52/bit_allocate.o \ | |
145 liba52/bitstream.o \ | |
146 liba52/downmix.o \ | |
147 liba52/imdct.o \ | |
148 liba52/parse.o \ | |
149 liba52/crc.o \ | |
150 liba52/resample.o | |
151 | |
152 # currently using libdts for dts decoding | |
153 OBJS-$(CONFIG_DTS) += dtsdec.o | |
154 CFLAGS-$(CONFIG_DTS) += $(DTS_INC) | |
155 | |
156 OBJS-$(AMR) += amr.o | |
157 OBJS-$(AMR_NB) += amr_float/sp_dec.o \ | |
158 amr_float/sp_enc.o \ | |
159 amr_float/interf_dec.o \ | |
160 amr_float/interf_enc.o | |
3276
941c00ef6d94
Disentangle dependencies between amr_nb and amr_nb-fixed: amr_nb-fixed does
diego
parents:
3275
diff
changeset
|
161 |
1297 | 162 ifeq ($(AMR_NB_FIXED),yes) |
3277 | 163 EXTRAOBJS += amr/*.o |
164 EXTRADEPS=amrlibs | |
1258
802614404398
AMR-NB audio support patch by (<joca at rixmail dot se>)
michaelni
parents:
1247
diff
changeset
|
165 endif |
802614404398
AMR-NB audio support patch by (<joca at rixmail dot se>)
michaelni
parents:
1247
diff
changeset
|
166 |
3441 | 167 OBJS-$(AMR_WB) += amrwb_float/dec_acelp.o \ |
168 amrwb_float/dec_dtx.o \ | |
169 amrwb_float/dec_gain.o \ | |
170 amrwb_float/dec_if.o \ | |
171 amrwb_float/dec_lpc.o \ | |
172 amrwb_float/dec_main.o \ | |
173 amrwb_float/dec_rom.o \ | |
174 amrwb_float/dec_util.o \ | |
175 amrwb_float/enc_acelp.o \ | |
176 amrwb_float/enc_dtx.o \ | |
177 amrwb_float/enc_gain.o \ | |
178 amrwb_float/enc_if.o \ | |
179 amrwb_float/enc_lpc.o \ | |
180 amrwb_float/enc_main.o \ | |
181 amrwb_float/enc_rom.o \ | |
182 amrwb_float/enc_util.o \ | |
183 amrwb_float/if_rom.o | |
338 | 184 |
3441 | 185 OBJS-$(HAVE_PTHREADS) += pthread.o |
186 OBJS-$(HAVE_W32THREADS) += w32thread.o | |
187 OBJS-$(HAVE_OS2THREADS) += os2thread.o | |
188 OBJS-$(HAVE_BEOSTHREADS) += beosthread.o | |
1500
726a81d83ddd
Patch for AAC encoding with libfaac by (Gildas Bazin <gbazin at altern dot org>)
michaelni
parents:
1498
diff
changeset
|
189 |
3441 | 190 OBJS-$(HAVE_XVMC_ACCEL) += xvmcvideo.o |
2729 | 191 |
0 | 192 # i386 mmx specific stuff |
2 | 193 ifeq ($(TARGET_MMX),yes) |
74 | 194 OBJS += i386/fdct_mmx.o i386/cputest.o \ |
32 | 195 i386/dsputil_mmx.o i386/mpegvideo_mmx.o \ |
338 | 196 i386/idct_mmx.o i386/motion_est_mmx.o \ |
1972 | 197 i386/simple_idct_mmx.o i386/fft_sse.o i386/vp3dsp_mmx.o \ |
3207
33110c1008a4
Add the mmx and sse2 implementations of ff_snow_vertical_compose().
gpoirier
parents:
3175
diff
changeset
|
198 i386/vp3dsp_sse2.o i386/fft_3dn.o i386/fft_3dn2.o i386/snowdsp_mmx.o |
2868 | 199 ifeq ($(CONFIG_GPL),yes) |
200 OBJS += i386/idct_mmx_xvid.o | |
201 endif | |
3340 | 202 ifeq ($(TARGET_BUILTIN_VECTOR),yes) |
1027
a0a7149be543
fixed dependancy generation (I want the case where SRC_PATH is not . to work too - very useful if you have different gcc versions to test at the same time...) - fixed -msse stuff
bellard
parents:
1010
diff
changeset
|
203 i386/fft_sse.o: CFLAGS+= -msse |
1869 | 204 depend: CFLAGS+= -msse |
1027
a0a7149be543
fixed dependancy generation (I want the case where SRC_PATH is not . to work too - very useful if you have different gcc versions to test at the same time...) - fixed -msse stuff
bellard
parents:
1010
diff
changeset
|
205 endif |
3340 | 206 ifeq ($(TARGET_BUILTIN_3DNOW),yes) |
3175 | 207 i386/fft_3dn.o: CFLAGS+= -m3dnow |
3308
57078a058b96
fix compilation of 3dnowext instinsincs, both on ia32 and AMD64.
gpoirier
parents:
3307
diff
changeset
|
208 ifeq ($(TARGET_ARCH_X86),yes) |
57078a058b96
fix compilation of 3dnowext instinsincs, both on ia32 and AMD64.
gpoirier
parents:
3307
diff
changeset
|
209 i386/fft_3dn2.o: CFLAGS+= -march=athlon |
57078a058b96
fix compilation of 3dnowext instinsincs, both on ia32 and AMD64.
gpoirier
parents:
3307
diff
changeset
|
210 endif |
57078a058b96
fix compilation of 3dnowext instinsincs, both on ia32 and AMD64.
gpoirier
parents:
3307
diff
changeset
|
211 ifeq ($(TARGET_ARCH_X86_64),yes) |
57078a058b96
fix compilation of 3dnowext instinsincs, both on ia32 and AMD64.
gpoirier
parents:
3307
diff
changeset
|
212 i386/fft_3dn2.o: CFLAGS+= -march=k8 |
57078a058b96
fix compilation of 3dnowext instinsincs, both on ia32 and AMD64.
gpoirier
parents:
3307
diff
changeset
|
213 endif |
3175 | 214 endif |
0 | 215 endif |
216 | |
62 | 217 # armv4l specific stuff |
3441 | 218 ASM_OBJS-$(TARGET_ARCH_ARMV4L) += armv4l/jrevdct_arm.o \ |
219 armv4l/simple_idct_arm.o \ | |
220 armv4l/dsputil_arm_s.o | |
221 OBJS-$(TARGET_ARCH_ARMV4L) += armv4l/dsputil_arm.o \ | |
222 armv4l/mpegvideo_arm.o | |
223 OBJS-$(TARGET_IWMMXT) += armv4l/dsputil_iwmmxt.o \ | |
224 armv4l/mpegvideo_iwmmxt.o | |
225 | |
226 # sun sparc | |
227 OBJS-$(TARGET_ARCH_SPARC) += sparc/dsputil_vis.o | |
228 sparc/dsputil_vis.o: CFLAGS += -mcpu=ultrasparc -mtune=ultrasparc | |
62 | 229 |
88 | 230 # sun mediaLib specific stuff |
3441 | 231 OBJS-$(HAVE_MLIB) += mlib/dsputil_mlib.o |
232 CFLAGS-$(HAVE_MLIB) += $(MLIB_INC) | |
88 | 233 |
214
73df666cacc7
Alpha optimizations by Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
nickols_k
parents:
174
diff
changeset
|
234 # alpha specific stuff |
3441 | 235 OBJS-$(TARGET_ARCH_ALPHA) += alpha/dsputil_alpha.o \ |
236 alpha/mpegvideo_alpha.o \ | |
237 alpha/simple_idct_alpha.o \ | |
238 alpha/motion_est_alpha.o | |
239 ASM_OBJS-$(TARGET_ARCH_ALPHA) += alpha/dsputil_alpha_asm.o \ | |
240 alpha/motion_est_mvi_asm.o | |
689
efcbfbd18864
ps2 idct patch by (Leon van Stuivenberg <leonvs at iae dot nl>)
michaelni
parents:
683
diff
changeset
|
241 |
3441 | 242 OBJS-$(TARGET_ARCH_POWERPC) += ppc/dsputil_ppc.o ppc/mpegvideo_ppc.o |
243 OBJS-$(TARGET_MMI) += ps2/dsputil_mmi.o \ | |
244 ps2/idct_mmi.o \ | |
245 ps2/mpegvideo_mmi.o | |
246 OBJS-$(TARGET_ARCH_SH4) += sh4/idct_sh4.o \ | |
247 sh4/dsputil_sh4.o \ | |
248 sh4/dsputil_align.o | |
249 OBJS-$(TARGET_ALTIVEC) += ppc/dsputil_altivec.o \ | |
250 ppc/mpegvideo_altivec.o \ | |
251 ppc/idct_altivec.o \ | |
252 ppc/fft_altivec.o \ | |
253 ppc/gmc_altivec.o \ | |
254 ppc/fdct_altivec.o \ | |
255 ppc/dsputil_h264_altivec.o \ | |
256 ppc/dsputil_snow_altivec.o | |
623
92e99e506920
first cut at altivec support on darwin patch by (Brian Foley <bfoley at compsoc dot nuigalway dot ie>)
michaelni
parents:
612
diff
changeset
|
257 |
3441 | 258 CFLAGS += $(CFLAGS-yes) |
259 OBJS += $(OBJS-yes) | |
260 ASM_OBJS += $(ASM_OBJS-yes) | |
1259
e8c3884f2c7e
sh4 optimized idct & bswap patch by (BERO <bero at geocities dot co dot jp>)
michaelni
parents:
1258
diff
changeset
|
261 |
3441 | 262 EXTRALIBS := -L../libavutil -lavutil$(BUILDSUF) $(EXTRALIBS) |
2 | 263 |
3044
ed98beb48872
Move library name generation to configure, simplifies build system a bit more.
diego
parents:
3040
diff
changeset
|
264 NAME=avcodec |
2817
b128802eb77b
libavutil: Utility code from libavcodec moved to a separate library.
al
parents:
2796
diff
changeset
|
265 LIBAVUTIL= $(SRC_PATH)/libavutil/$(LIBPREF)avutil$(LIBSUF) |
136 | 266 ifeq ($(BUILD_SHARED),yes) |
3040
6a388c616fa3
Create symbolic links for all library sonames and clean up Makefiles.
diego
parents:
3037
diff
changeset
|
267 LIBVERSION=$(LAVCVERSION) |
6a388c616fa3
Create symbolic links for all library sonames and clean up Makefiles.
diego
parents:
3037
diff
changeset
|
268 LIBMAJOR=$(LAVCMAJOR) |
136 | 269 endif |
784 | 270 TESTS= imgresample-test dct-test motion-test fft-test |
0 | 271 |
3124 | 272 include $(SRC_PATH)/common.mak |
273 | |
1297 | 274 amrlibs: |
275 $(MAKE) -C amr spclib fipoplib | |
276 | |
43 | 277 tests: apiexample cpuid_test $(TESTS) |
0 | 278 |
279 dsputil.o: dsputil.c dsputil.h | |
280 | |
3289 | 281 clean:: |
3124 | 282 rm -f \ |
3050
61e47d203191
Make clean/distclean consistent throughout all the Makefiles.
diego
parents:
3048
diff
changeset
|
283 i386/*.o i386/*~ \ |
62 | 284 armv4l/*.o armv4l/*~ \ |
88 | 285 mlib/*.o mlib/*~ \ |
214
73df666cacc7
Alpha optimizations by Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
nickols_k
parents:
174
diff
changeset
|
286 alpha/*.o alpha/*~ \ |
623
92e99e506920
first cut at altivec support on darwin patch by (Brian Foley <bfoley at compsoc dot nuigalway dot ie>)
michaelni
parents:
612
diff
changeset
|
287 ppc/*.o ppc/*~ \ |
689
efcbfbd18864
ps2 idct patch by (Leon van Stuivenberg <leonvs at iae dot nl>)
michaelni
parents:
683
diff
changeset
|
288 ps2/*.o ps2/*~ \ |
1259
e8c3884f2c7e
sh4 optimized idct & bswap patch by (BERO <bero at geocities dot co dot jp>)
michaelni
parents:
1258
diff
changeset
|
289 sh4/*.o sh4/*~ \ |
1965
f74f306c30b5
vis detection patch by (James Morrison <ja2morri at csclub dot uwaterloo dot ca>)
michael
parents:
1960
diff
changeset
|
290 sparc/*.o sparc/*~ \ |
338 | 291 liba52/*.o liba52/*~ \ |
3289 | 292 amr_float/*.o \ |
338 | 293 apiexample $(TESTS) |
3290 | 294 -$(MAKE) -C amr clean |
295 -$(MAKE) -C amrwb_float -f makefile.gcc clean | |
1486
f22010affdce
AMR-WB support by (Johannes Carlsson <joca at rixmail dot se>)
michaelni
parents:
1472
diff
changeset
|
296 |
0 | 297 # api example program |
298 apiexample: apiexample.c $(LIB) | |
3229
0afff8f416e6
EXTRALIBS already contains -lm, no need to add it explicitly.
diego
parents:
3224
diff
changeset
|
299 $(CC) $(CFLAGS) -o $@ $< $(LIB) $(LIBAVUTIL) $(EXTRALIBS) |
0 | 300 |
43 | 301 # cpuid test |
302 cpuid_test: i386/cputest.c | |
303 $(CC) $(CFLAGS) -D__TEST__ -o $@ $< | |
304 | |
0 | 305 # testing progs |
306 | |
307 imgresample-test: imgresample.c | |
644 | 308 $(CC) $(CFLAGS) -DTEST -o $@ $^ -lm |
0 | 309 |
979 | 310 dct-test: dct-test.o fdctref.o $(LIB) |
2872 | 311 $(CC) -o $@ $^ -lm $(LIBAVUTIL) |
3
1bdbd869c1f0
added CONFIG_AC3, CONFIG_MPGLIB, CONFIG_DECODERS and CONFIG_ENCODERS (Arpi: don't forget to put CONFIG_DECODERS in mplayer)
glantau
parents:
2
diff
changeset
|
312 |
74 | 313 motion-test: motion_test.o $(LIB) |
644 | 314 $(CC) -o $@ $^ -lm |
74 | 315 |
973
e2c119417470
enabled SSE fft (first code using GCC 3.2 vector builtins on x86 - please tell me if you have better ideas for intrinsic naming or Makefile support)
bellard
parents:
866
diff
changeset
|
316 fft-test: fft-test.o $(LIB) |
2817
b128802eb77b
libavutil: Utility code from libavcodec moved to a separate library.
al
parents:
2796
diff
changeset
|
317 $(CC) -o $@ $^ $(LIBAVUTIL) -lm |