build: Only clean the architecture subdirectory we build for.
[ffmpeg.git] / libswscale / Makefile
1 NAME = swscale
2 FFLIBS = avutil
3
4 HEADERS = swscale.h
5
6 OBJS = input.o                                          \
7        options.o                                        \
8        output.o                                         \
9        rgb2rgb.o                                        \
10        swscale.o                                        \
11        swscale_unscaled.o                               \
12        utils.o                                          \
13        yuv2rgb.o                                        \
14
15 OBJS-$(ARCH_BFIN)          +=  bfin/internal_bfin.o     \
16                                bfin/swscale_bfin.o      \
17                                bfin/yuv2rgb_bfin.o
18 OBJS-$(HAVE_ALTIVEC)       +=  ppc/swscale_altivec.o    \
19                                ppc/yuv2rgb_altivec.o    \
20                                ppc/yuv2yuv_altivec.o
21 OBJS-$(HAVE_MMX)           +=  x86/rgb2rgb.o            \
22                                x86/swscale_mmx.o        \
23                                x86/yuv2rgb_mmx.o
24 OBJS-$(HAVE_VIS)           +=  sparc/yuv2rgb_vis.o
25 MMX-OBJS-$(HAVE_YASM)      +=  x86/input.o              \
26                                x86/output.o             \
27                                x86/scale.o
28
29 OBJS-$(CONFIG_XMM_CLOBBER_TEST) += x86/w64xmmtest.o
30
31 TESTPROGS = colorspace swscale