Browse Source

Simplify conditional compilation handling.

Originally committed as revision 22009 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
tags/v0.5
Diego Biurrun 19 years ago
parent
commit
91f2de5e18
1 changed files with 3 additions and 6 deletions
  1. +3
    -6
      libswscale/Makefile

+ 3
- 6
libswscale/Makefile View File

@@ -10,12 +10,9 @@ endif
EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS) EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)


OBJS= swscale.o rgb2rgb.o 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 HEADERS = swscale.h rgb2rgb.h




Loading…
Cancel
Save