Move arch-specific makefile parts into $arch/Makefile
[ffmpeg.git] / libavcodec / x86 / Makefile
1 X86-OBJS-$(CONFIG_MLP_DECODER)         += x86/mlpdsp.o
2 X86-OBJS-$(CONFIG_TRUEHD_DECODER)      += x86/mlpdsp.o
3
4 OBJS-$(ARCH_X86)                       += $(X86-OBJS-yes)
5
6 YASM-OBJS-FFT-$(HAVE_AMD3DNOW)         += x86/fft_3dn.o
7 YASM-OBJS-FFT-$(HAVE_AMD3DNOWEXT)      += x86/fft_3dn2.o
8 YASM-OBJS-FFT-$(HAVE_SSE)              += x86/fft_sse.o
9 YASM-OBJS-$(CONFIG_FFT)                += x86/fft_mmx.o                 \
10                                           $(YASM-OBJS-FFT-yes)
11 YASM-OBJS-$(CONFIG_GPL)                += x86/h264_deblock_sse2.o       \
12                                           x86/h264_idct_sse2.o          \
13
14 MMX-OBJS-$(CONFIG_CAVS_DECODER)        += x86/cavsdsp_mmx.o
15 MMX-OBJS-$(CONFIG_ENCODERS)            += x86/dsputilenc_mmx.o
16 MMX-OBJS-$(CONFIG_GPL)                 += x86/idct_mmx.o
17 MMX-OBJS-$(CONFIG_LPC)                 += x86/lpc_mmx.o
18 MMX-OBJS-$(CONFIG_DWT)                 += x86/snowdsp_mmx.o
19 MMX-OBJS-$(CONFIG_VC1_DECODER)         += x86/vc1dsp_mmx.o
20 MMX-OBJS-$(CONFIG_VP3_DECODER)         += x86/vp3dsp_mmx.o              \
21                                           x86/vp3dsp_sse2.o
22 MMX-OBJS-$(CONFIG_VP5_DECODER)         += x86/vp3dsp_mmx.o              \
23                                           x86/vp3dsp_sse2.o
24 MMX-OBJS-$(CONFIG_VP6_DECODER)         += x86/vp3dsp_mmx.o              \
25                                           x86/vp3dsp_sse2.o             \
26                                           x86/vp6dsp_mmx.o              \
27                                           x86/vp6dsp_sse2.o
28 MMX-OBJS-$(HAVE_YASM)                  += x86/dsputil_yasm.o            \
29                                           $(YASM-OBJS-yes)
30
31 MMX-OBJS-$(CONFIG_FFT)                 += x86/fft.o
32
33 OBJS-$(HAVE_MMX)                       += x86/cpuid.o                   \
34                                           x86/dnxhd_mmx.o               \
35                                           x86/dsputil_mmx.o             \
36                                           x86/fdct_mmx.o                \
37                                           x86/idct_mmx_xvid.o           \
38                                           x86/idct_sse2_xvid.o          \
39                                           x86/motion_est_mmx.o          \
40                                           x86/mpegvideo_mmx.o           \
41                                           x86/simple_idct_mmx.o         \