From 39fdda2bf157a7d8fcd51b102e12852d5aaa7573 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Thu, 20 Nov 2008 22:47:18 +0000 Subject: [PATCH] Use standard OBJS-$(HAVE_MMX) trick for MMX objects instead of surrounding them by an ifdef. Originally committed as revision 15893 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/Makefile b/libavcodec/Makefile index 62678e9..d3bb4cc 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefile @@ -390,8 +390,7 @@ OBJS-$(HAVE_W32THREADS) += w32thread.o OBJS-$(HAVE_XVMC) += xvmcvideo.o # processor-specific code -ifdef HAVE_MMX -OBJS += i386/cpuid.o \ +OBJS-$(HAVE_MMX) += i386/cpuid.o \ i386/dsputil_mmx.o \ i386/fdct_mmx.o \ i386/idct_mmx_xvid.o \ @@ -400,6 +399,7 @@ OBJS += i386/cpuid.o \ i386/mpegvideo_mmx.o \ i386/simple_idct_mmx.o \ +ifdef HAVE_MMX OBJS-$(CONFIG_CAVS_DECODER) += i386/cavsdsp_mmx.o OBJS-$(CONFIG_ENCODERS) += i386/dsputilenc_mmx.o OBJS-$(CONFIG_FFT_MMX) += i386/fft_3dn.o \ -- 2.7.4