From 5478959b8f2973dccb2c446899ff9f4615ab8be9 Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Sun, 4 May 2008 20:19:33 +0000 Subject: [PATCH] Build sparc arch specific code using the Makefile Originally committed as revision 26670 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale --- libswscale/Makefile | 3 +++ libswscale/yuv2rgb.c | 8 -------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/libswscale/Makefile b/libswscale/Makefile index c0941b92eb..8b1ea9a82f 100644 --- a/libswscale/Makefile +++ b/libswscale/Makefile @@ -9,6 +9,9 @@ OBJS-$(ARCH_BFIN) += swscale_bfin.o yuv2rgb_bfin.o OBJS-$(CONFIG_GPL) += yuv2rgb.o OBJS-$(HAVE_ALTIVEC) += yuv2rgb_altivec.o +OBJS-$(CONFIG_MLIB) += yuv2rgb_mlib.c +OBJS-$(HAVE_VIS) += yuv2rgb_vis.c + ASM_OBJS-$(ARCH_BFIN) += internal_bfin.o HEADERS = swscale.h rgb2rgb.h diff --git a/libswscale/yuv2rgb.c b/libswscale/yuv2rgb.c index e51cd0cadc..b90f78c1fb 100644 --- a/libswscale/yuv2rgb.c +++ b/libswscale/yuv2rgb.c @@ -39,14 +39,6 @@ #include "swscale.h" #include "swscale_internal.h" -#ifdef HAVE_VIS -#include "yuv2rgb_vis.c" -#endif - -#ifdef CONFIG_MLIB -#include "yuv2rgb_mlib.c" -#endif - #define DITHER1XBPP // only for mmx const uint8_t __attribute__((aligned(8))) dither_2x2_4[2][8]={