Improve conditional compilation of vsrc_movie.c
[libav.git] / libavfilter / Makefile
CommitLineData
782e83e2
VS
1include ../config.mak
2
0d642351 3CFLAGS+=-I$(SRC_PATH)/libavformat -I$(SRC_PATH)/libavcodec -I$(SRC_PATH)/libswscale
782e83e2 4
21729613
VS
5OBJS = allfilters.o \
6 avfilter.o \
782e83e2 7 avfiltergraph.o \
da842323
VS
8 avfiltergraphdesc.o \
9 defaults.o \
8d990c19 10 formats.o \
21729613 11 avfiltergraphfile.o \
782e83e2
VS
12
13# TODO: real conditional compilation
782e83e2 14
21729613
VS
15
16OBJS-$(CONFIG_VF_CROP) += vf_crop.o
17OBJS-$(CONFIG_VF_FPS) += vf_fps.o
18OBJS-$(CONFIG_VF_HFLIP) += vf_hflip.o
19OBJS-$(CONFIG_VF_NEGATE) += vf_negate.o
538e94d5 20OBJS-$(CONFIG_VF_FIFO) += vf_fifo.o
21729613
VS
21OBJS-$(CONFIG_VF_FORMAT) += vf_format.o
22OBJS-$(CONFIG_VF_OVERLAY) += vf_overlay.o
23OBJS-$(CONFIG_VF_ROTATE) += vf_rotate.o
24OBJS-$(CONFIG_VF_SCALE) += vf_scale.o
25OBJS-$(CONFIG_VF_SETPTS) += vf_setpts.o
26OBJS-$(CONFIG_VF_SLICIFY) += vf_slicify.o
27OBJS-$(CONFIG_VF_SPLIT) += vf_split.o
28OBJS-$(CONFIG_VF_TRANSPOSE) += vf_transpose.o
29OBJS-$(CONFIG_VF_VFLIP) += vf_vflip.o
a1e3e4ba 30OBJS-$(CONFIG_VSRC_MOVIE) += vsrc_movie.o
0d642351 31
782e83e2
VS
32HEADERS = avfilter.h
33
223c84ac
VS
34EXTRALIBS := -L$(BUILD_ROOT)/libavcodec -lavcodec$(BUILDSUF) \
35 -L$(BUILD_ROOT)/libswscale -lswscale$(BUILDSUF) \
36 -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
782e83e2 37
0d642351
VS
38ifeq ($(CONFIG_AVFILTER_LAVF),yes)
39EXTRALIBS := -L$(BUILD_ROOT)/libavformat -lavformat$(BUILDSUF) $(EXTRALIBS)
40endif
41
782e83e2
VS
42NAME=avfilter
43LIBVERSION=$(LAVFILTERVERSION)
44LIBMAJOR=$(LAVFILTERMAJOR)
45
46include ../common.mak