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
This commit is contained in:
Diego Biurrun 2008-11-20 22:47:18 +00:00
parent 469105aadb
commit 39fdda2bf1

View File

@ -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 \