From: Diego Biurrun Date: Thu, 25 Jan 2007 00:35:29 +0000 (+0000) Subject: Simplify conditional compilation handling. X-Git-Tag: v0.5~10361 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=91f2de5e1894350c6b43a6ede759ad2f6a7c9a9b;p=platform%2Fupstream%2Flibav.git Simplify conditional compilation handling. Originally committed as revision 22009 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale --- diff --git a/libswscale/Makefile b/libswscale/Makefile index c65a3a9..d9b67da 100644 --- a/libswscale/Makefile +++ b/libswscale/Makefile @@ -10,12 +10,9 @@ endif EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS) OBJS= swscale.o rgb2rgb.o -ifeq ($(TARGET_ALTIVEC),yes) -OBJS+= yuv2rgb_altivec.o -endif -ifeq ($(CONFIG_GPL),yes) -OBJS+= yuv2rgb.o -endif + +OBJS-$(TARGET_ALTIVEC) += yuv2rgb_altivec.o +OBJS-$(CONFIG_GPL) += yuv2rgb.o HEADERS = swscale.h rgb2rgb.h