c96e6d07d67959e4f7f5a443cd0b040e121a1549
[libav.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 = allfilters.o \
6 avfilter.o \
7 avfiltergraph.o \
8 avfiltergraphdesc.o \
9 defaults.o \
10 formats.o \
11 avfiltergraphfile.o \
12
13 # TODO: real conditional compilation
14
15
16 OBJS-$(CONFIG_VF_CROP) += vf_crop.o
17 OBJS-$(CONFIG_VF_FPS) += vf_fps.o
18 OBJS-$(CONFIG_VF_HFLIP) += vf_hflip.o
19 OBJS-$(CONFIG_VF_NEGATE) += vf_negate.o
20 OBJS-$(CONFIG_VF_FORMAT) += vf_format.o
21 OBJS-$(CONFIG_VF_OVERLAY) += vf_overlay.o
22 OBJS-$(CONFIG_VF_ROTATE) += vf_rotate.o
23 OBJS-$(CONFIG_VF_SCALE) += vf_scale.o
24 OBJS-$(CONFIG_VF_SETPTS) += vf_setpts.o
25 OBJS-$(CONFIG_VF_SLICIFY) += vf_slicify.o
26 OBJS-$(CONFIG_VF_SPLIT) += vf_split.o
27 OBJS-$(CONFIG_VF_TRANSPOSE) += vf_transpose.o
28 OBJS-$(CONFIG_VF_VFLIP) += vf_vflip.o
29 OBJS-$(CONFIG_AVFILTER_LAVF) += vsrc_movie.o
30
31 HEADERS = avfilter.h
32
33 EXTRALIBS := -L$(BUILD_ROOT)/libavcodec -lavcodec$(BUILDSUF) \
34 -L$(BUILD_ROOT)/libswscale -lswscale$(BUILDSUF) \
35 -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
36
37 ifeq ($(CONFIG_AVFILTER_LAVF),yes)
38 EXTRALIBS := -L$(BUILD_ROOT)/libavformat -lavformat$(BUILDSUF) $(EXTRALIBS)
39 endif
40
41 NAME=avfilter
42 LIBVERSION=$(LAVFILTERVERSION)
43 LIBMAJOR=$(LAVFILTERMAJOR)
44
45 include ../common.mak