Rename cs_test.c --> colorspace-test.c. This is more consistent with the names
[ffmpeg.git] / libswscale / Makefile
1 include $(SUBDIR)../config.mak
2
3 NAME = swscale
4 FFLIBS = avutil
5
6 HEADERS = swscale.h
7
8 OBJS = rgb2rgb.o swscale.o swscale_avoption.o yuv2rgb.o
9
10 OBJS-$(ARCH_BFIN)          +=  internal_bfin.o swscale_bfin.o bfin/yuv2rgb_bfin.o
11 OBJS-$(CONFIG_MLIB)        +=  mlib/yuv2rgb_mlib.o
12 OBJS-$(HAVE_ALTIVEC)       +=  ppc/yuv2rgb_altivec.o
13 OBJS-$(HAVE_VIS)           +=  sparc/yuv2rgb_vis.o
14
15 MMX-OBJS-$(CONFIG_GPL)     +=  x86/yuv2rgb_mmx.o        \
16
17 OBJS-$(HAVE_MMX)           +=  $(MMX-OBJS-yes)
18
19 EXAMPLES  = swscale-example
20 TESTPROGS = colorspace
21
22 DIRS = bfin mlib ppc sparc x86
23
24 include $(SUBDIR)../subdir.mak
25
26 $(SUBDIR)colorspace-test: $(SUBDIR)colorspace-test.o $(SUBDIR)$(LIBNAME)
27
28 $(SUBDIR)swscale-example: $(SUBDIR)swscale-example.o $(SUBDIR)$(LIBNAME)
29 $(SUBDIR)swscale-example: EXTRALIBS += -lm