Mercurial > mplayer.hg
diff libswscale/Makefile @ 21683:befebdb3ebaa
Allow to compile swscale's non-SIMD code under the LGPL license.
Since mplayer always define CONFIG_GPL, this commit should not change
anything for mplayer.
author | lucabe |
---|---|
date | Wed, 20 Dec 2006 13:09:29 +0000 |
parents | 5298f5174a8b |
children | 72e44326407e |
line wrap: on
line diff
--- a/libswscale/Makefile Wed Dec 20 12:43:06 2006 +0000 +++ b/libswscale/Makefile Wed Dec 20 13:09:29 2006 +0000 @@ -9,10 +9,15 @@ EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS) -OBJS= swscale.o rgb2rgb.o yuv2rgb.o +OBJS= swscale.o rgb2rgb.o ifeq ($(TARGET_ALTIVEC),yes) OBJS+= yuv2rgb_altivec.o endif +ifeq ($(CONFIG_GPL),yes) +OBJS+= yuv2rgb.o +else +OBJS+= yuv2rgb_init.o +endif HEADERS = swscale.h rgb2rgb.h