Require libswscale only if the scale filter is used.
[libav.git] / libavfilter / Makefile
1 include $(SUBDIR)../config.mak
2
3 NAME = avfilter
4 FFLIBS = avcodec avcore avutil
5 FFLIBS-$(CONFIG_SCALE_FILTER) += swscale
6
7 HEADERS = avfilter.h
8
9 OBJS = allfilters.o \
10 avfilter.o \
11 avfiltergraph.o \
12 defaults.o \
13 formats.o \
14 graphparser.o \
15 parseutils.o \
16
17 OBJS-$(CONFIG_ASPECT_FILTER) += vf_aspect.o
18 OBJS-$(CONFIG_CROP_FILTER) += vf_crop.o
19 OBJS-$(CONFIG_FORMAT_FILTER) += vf_format.o
20 OBJS-$(CONFIG_NOFORMAT_FILTER) += vf_format.o
21 OBJS-$(CONFIG_NULL_FILTER) += vf_null.o
22 OBJS-$(CONFIG_PAD_FILTER) += vf_pad.o
23 OBJS-$(CONFIG_PIXDESCTEST_FILTER) += vf_pixdesctest.o
24 OBJS-$(CONFIG_PIXELASPECT_FILTER) += vf_aspect.o
25 OBJS-$(CONFIG_SCALE_FILTER) += vf_scale.o
26 OBJS-$(CONFIG_SLICIFY_FILTER) += vf_slicify.o
27 OBJS-$(CONFIG_UNSHARP_FILTER) += vf_unsharp.o
28 OBJS-$(CONFIG_VFLIP_FILTER) += vf_vflip.o
29
30 OBJS-$(CONFIG_BUFFER_FILTER) += vsrc_buffer.o
31 OBJS-$(CONFIG_COLOR_FILTER) += vf_pad.o
32 OBJS-$(CONFIG_NULLSRC_FILTER) += vsrc_nullsrc.o
33
34 OBJS-$(CONFIG_NULLSINK_FILTER) += vsink_nullsink.o
35
36 include $(SUBDIR)../subdir.mak