changeset 26638:e82c55f04149

Build sparc arch specific code using the Makefile
author lu_zero
date Sun, 04 May 2008 20:19:33 +0000
parents e3fd577a9573
children 00dee59d921d
files libswscale/Makefile libswscale/yuv2rgb.c
diffstat 2 files changed, 3 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/libswscale/Makefile	Sun May 04 18:28:24 2008 +0000
+++ b/libswscale/Makefile	Sun May 04 20:19:33 2008 +0000
@@ -9,6 +9,9 @@
 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
--- a/libswscale/yuv2rgb.c	Sun May 04 18:28:24 2008 +0000
+++ b/libswscale/yuv2rgb.c	Sun May 04 20:19:33 2008 +0000
@@ -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]={