[MPlayer-cvslog] r22009 - trunk/libswscale/Makefile

diego subversion at mplayerhq.hu
Thu Jan 25 01:35:29 CET 2007


Author: diego
Date: Thu Jan 25 01:35:29 2007
New Revision: 22009

Modified:
   trunk/libswscale/Makefile

Log:
Simplify conditional compilation handling.


Modified: trunk/libswscale/Makefile
==============================================================================
--- trunk/libswscale/Makefile	(original)
+++ trunk/libswscale/Makefile	Thu Jan 25 01:35:29 2007
@@ -10,12 +10,9 @@
 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
 



More information about the MPlayer-cvslog mailing list