build: non-x86: Only compile mpegvideo optimizations when necessary
[ffmpeg.git] / libavcodec / ppc / Makefile
1 OBJS                                   += ppc/dsputil_ppc.o             \
2
3 OBJS-$(CONFIG_VP3DSP)                  += ppc/vp3dsp_altivec.o
4
5 FFT-OBJS-$(HAVE_GNU_AS)                += ppc/fft_altivec_s.o
6 ALTIVEC-OBJS-$(CONFIG_FFT)             += ppc/fft_altivec.o             \
7                                           $(FFT-OBJS-yes)
8 ALTIVEC-OBJS-$(CONFIG_H264DSP)         += ppc/h264_altivec.o
9 ALTIVEC-OBJS-$(CONFIG_MPEGAUDIODSP)    += ppc/mpegaudiodec_altivec.o
10 ALTIVEC-OBJS-$(CONFIG_MPEGVIDEO)       += ppc/mpegvideo_altivec.o
11 ALTIVEC-OBJS-$(CONFIG_VC1_DECODER)     += ppc/vc1dsp_altivec.o
12 ALTIVEC-OBJS-$(CONFIG_VP8_DECODER)     += ppc/vp8dsp_altivec.o
13
14 ALTIVEC-OBJS                           += ppc/dsputil_altivec.o         \
15                                           ppc/fdct_altivec.o            \
16                                           ppc/float_altivec.o           \
17                                           ppc/fmtconvert_altivec.o      \
18                                           ppc/gmc_altivec.o             \
19                                           ppc/idct_altivec.o            \
20                                           ppc/int_altivec.o             \