9ebe825266902b395577ba6238f6a014ea049845
[libav.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 yuv2rgb2.o
9
10 OBJS-$(ARCH_BFIN) += internal_bfin.o swscale_bfin.o yuv2rgb_bfin.o
11 OBJS-$(CONFIG_MLIB) += yuv2rgb_mlib.o
12 OBJS-$(HAVE_ALTIVEC) += yuv2rgb_altivec.o
13 OBJS-$(HAVE_VIS) += yuv2rgb_vis.o
14
15 TESTS = cs_test swscale-example
16
17 CLEANFILES = cs_test swscale-example
18
19 include $(SUBDIR)../subdir.mak
20
21 $(SUBDIR)cs_test: $(SUBDIR)cs_test.o $(SUBDIR)$(LIBNAME)
22
23 $(SUBDIR)swscale-example: $(SUBDIR)swscale-example.o $(SUBDIR)$(LIBNAME)
24 $(SUBDIR)swscale-example: EXTRALIBS += -lm