Simplify conditional compilation handling.

Originally committed as revision 22009 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
This commit is contained in:
Diego Biurrun 2007-01-25 00:35:29 +00:00
parent 722dabcc94
commit 91f2de5e18
1 changed files with 3 additions and 6 deletions

View File

@ -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