changeset 8971:734114ba02fa libavcodec

The 3DNow! and SSE FFT optimizations depend on the yasm optimizations in x86/fft_mmx.asm, so only build them if the latter is built.
author diego
date Wed, 18 Feb 2009 23:32:41 +0000
parents 9757b2f87d83
children eaf39f9b25df
files Makefile
diffstat 1 files changed, 4 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Wed Feb 18 23:25:59 2009 +0000
+++ b/Makefile	Wed Feb 18 23:32:41 2009 +0000
@@ -402,12 +402,10 @@
 OBJS-$(HAVE_W32THREADS)                += w32thread.o
 
 # processor-specific code
-FFT-OBJS-$(HAVE_AMD3DNOW)              += x86/fft_3dn.o
-FFT-OBJS-$(HAVE_AMD3DNOWEXT)           += x86/fft_3dn2.o
-FFT-OBJS-$(HAVE_SSE)                   += x86/fft_sse.o
-OBJS-$(CONFIG_FFT)                     += $(FFT-OBJS-yes)
-
-YASM-OBJS-$(CONFIG_FFT)                += x86/fft_mmx.o
+YASM-OBJS-FFT-$(HAVE_AMD3DNOW)         += x86/fft_3dn.o
+YASM-OBJS-FFT-$(HAVE_AMD3DNOWEXT)      += x86/fft_3dn2.o
+YASM-OBJS-FFT-$(HAVE_SSE)              += x86/fft_sse.o
+YASM-OBJS-$(CONFIG_FFT)                += x86/fft_mmx.o $(YASM-OBJS-FFT-yes)
 YASM-OBJS-$(CONFIG_GPL)                += x86/h264_deblock_sse2.o       \
                                           x86/h264_idct_sse2.o          \