build: move inclusion of subdir.mak to main subdir loop
[ffmpeg.git] / libswscale / Makefile
1 NAME = swscale
2 FFLIBS = avutil
3
4 HEADERS = swscale.h
5
6 OBJS = options.o rgb2rgb.o swscale.o utils.o yuv2rgb.o \
7        swscale_unscaled.o
8
9 OBJS-$(ARCH_BFIN)          +=  bfin/internal_bfin.o     \
10                                bfin/swscale_bfin.o      \
11                                bfin/yuv2rgb_bfin.o
12 OBJS-$(CONFIG_MLIB)        +=  mlib/yuv2rgb_mlib.o
13 OBJS-$(HAVE_ALTIVEC)       +=  ppc/swscale_altivec.o    \
14                                ppc/yuv2rgb_altivec.o    \
15                                ppc/yuv2yuv_altivec.o
16 OBJS-$(HAVE_MMX)           +=  x86/rgb2rgb.o            \
17                                x86/swscale_mmx.o        \
18                                x86/yuv2rgb_mmx.o
19 OBJS-$(HAVE_VIS)           +=  sparc/yuv2rgb_vis.o
20 OBJS-$(HAVE_YASM)          +=  x86/scale.o
21
22 TESTPROGS = colorspace swscale
23
24 DIRS = bfin mlib ppc sparc x86