OSDN Git Service

Move addition of MMX-OBJS to OBJS into common.mak instead of duplicating it.
authorDiego Biurrun <diego@biurrun.de>
Sun, 12 Apr 2009 22:48:44 +0000 (22:48 +0000)
committerDiego Biurrun <diego@biurrun.de>
Sun, 12 Apr 2009 22:48:44 +0000 (22:48 +0000)
Originally committed as revision 18478 to svn://svn.ffmpeg.org/ffmpeg/trunk

common.mak
libavcodec/Makefile

index 9f1080f..23907af 100644 (file)
@@ -57,6 +57,8 @@ uninstall: uninstall-libs uninstall-headers
 .PHONY: all depend dep *clean install* uninstall* examples testprogs
 endif
 
+OBJS-$(HAVE_MMX) +=  $(MMX-OBJS-yes)
+
 CFLAGS    += $(CFLAGS-yes)
 OBJS      += $(OBJS-yes)
 FFLIBS    := $(FFLIBS-yes) $(FFLIBS)
index 2768057..5aaf614 100644 (file)
@@ -463,7 +463,6 @@ OBJS-$(HAVE_MMX)                       += x86/cpuid.o                   \
                                           x86/motion_est_mmx.o          \
                                           x86/mpegvideo_mmx.o           \
                                           x86/simple_idct_mmx.o         \
-                                          $(MMX-OBJS-yes)
 
 OBJS-$(ARCH_ALPHA)                     += alpha/dsputil_alpha.o         \
                                           alpha/dsputil_alpha_asm.o     \