Merge remote-tracking branch 'qatar/master'
[ffmpeg.git] / libswscale / Makefile
1 include $(SUBDIR)../config.mak
2
3 NAME = swscale
4 FFLIBS = avutil
5
6 HEADERS = swscale.h
7
8 OBJS = input.o options.o output.o rgb2rgb.o swscale.o \
9        swscale_unscaled.o utils.o yuv2rgb.o
10
11 OBJS-$(ARCH_BFIN)          +=  bfin/internal_bfin.o     \
12                                bfin/swscale_bfin.o      \
13                                bfin/yuv2rgb_bfin.o
14 OBJS-$(HAVE_ALTIVEC)       +=  ppc/swscale_altivec.o    \
15                                ppc/yuv2rgb_altivec.o    \
16                                ppc/yuv2yuv_altivec.o
17 OBJS-$(HAVE_MMX)           +=  x86/rgb2rgb.o            \
18                                x86/swscale_mmx.o        \
19                                x86/yuv2rgb_mmx.o
20 OBJS-$(HAVE_VIS)           +=  sparc/yuv2rgb_vis.o
21 MMX-OBJS-$(HAVE_YASM)      +=  x86/input.o              \
22                                x86/output.o             \
23                                x86/scale.o
24
25 $(SUBDIR)x86/swscale_mmx.o: CFLAGS += $(NOREDZONE_FLAGS)
26
27 OBJS-$(CONFIG_XMM_CLOBBER_TEST) += x86/w64xmmtest.o
28
29 TESTPROGS = colorspace swscale
30
31 DIRS = bfin ppc sparc x86