Add movie file video source filter.
[ffmpeg.git] / libavfilter / Makefile
1 include ../config.mak
2
3 CFLAGS+=-I$(SRC_PATH)/libavformat -I$(SRC_PATH)/libavcodec -I$(SRC_PATH)/libswscale
4
5 OBJS = avfilter.o \
6        avfiltergraph.o \
7        avfiltergraphdesc.o \
8        defaults.o \
9        formats.o \
10
11 # TODO: real conditional compilation
12 OBJS-yes = vf_crop.o \
13            vf_fifo.o \
14            vf_fps.o \
15            vf_hflip.o \
16            vf_negate.o \
17            vf_format.o \
18            vf_overlay.o \
19            vf_rotate.o \
20            vf_scale.o \
21            vf_setpts.o \
22            vf_slicify.o \
23            vf_split.o \
24            vf_transpose.o \
25            vf_vflip.o \
26            avfiltergraphfile.o \
27
28 OBJS-$(CONFIG_AVFILTER_LAVF) += vsrc_movie.o
29
30 HEADERS = avfilter.h
31
32 EXTRALIBS := -L$(BUILD_ROOT)/libavcodec -lavcodec$(BUILDSUF) \
33              -L$(BUILD_ROOT)/libswscale -lswscale$(BUILDSUF) \
34              -L$(BUILD_ROOT)/libavutil  -lavutil$(BUILDSUF) $(EXTRALIBS)
35
36 ifeq ($(CONFIG_AVFILTER_LAVF),yes)
37 EXTRALIBS := -L$(BUILD_ROOT)/libavformat -lavformat$(BUILDSUF) $(EXTRALIBS)
38 endif
39
40 NAME=avfilter
41 LIBVERSION=$(LAVFILTERVERSION)
42 LIBMAJOR=$(LAVFILTERMAJOR)
43
44 include ../common.mak