changeset 8183:46f183b8ce8b libavcodec

Use standard OBJS-$(HAVE_MMX) trick for MMX objects instead of surrounding them by an ifdef.
author diego
date Thu, 20 Nov 2008 22:47:18 +0000
parents ebf5202a8fdf
children 3807503d1a21
files Makefile
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Thu Nov 20 19:04:35 2008 +0000
+++ b/Makefile	Thu Nov 20 22:47:18 2008 +0000
@@ -390,8 +390,7 @@
 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 @@
         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                \