True conditional compilation
[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
20OBJS-$(CONFIG_VF_FORMAT) += vf_format.o
21OBJS-$(CONFIG_VF_OVERLAY) += vf_overlay.o
22OBJS-$(CONFIG_VF_ROTATE) += vf_rotate.o
23OBJS-$(CONFIG_VF_SCALE) += vf_scale.o
24OBJS-$(CONFIG_VF_SETPTS) += vf_setpts.o
25OBJS-$(CONFIG_VF_SLICIFY) += vf_slicify.o
26OBJS-$(CONFIG_VF_SPLIT) += vf_split.o
27OBJS-$(CONFIG_VF_TRANSPOSE) += vf_transpose.o
28OBJS-$(CONFIG_VF_VFLIP) += vf_vflip.o
0d642351
VS
29OBJS-$(CONFIG_AVFILTER_LAVF) += vsrc_movie.o
30
782e83e2
VS
31HEADERS = avfilter.h
32
223c84ac
VS
33EXTRALIBS := -L$(BUILD_ROOT)/libavcodec -lavcodec$(BUILDSUF) \
34 -L$(BUILD_ROOT)/libswscale -lswscale$(BUILDSUF) \
35 -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
782e83e2 36
0d642351
VS
37ifeq ($(CONFIG_AVFILTER_LAVF),yes)
38EXTRALIBS := -L$(BUILD_ROOT)/libavformat -lavformat$(BUILDSUF) $(EXTRALIBS)
39endif
40
782e83e2
VS
41NAME=avfilter
42LIBVERSION=$(LAVFILTERVERSION)
43LIBMAJOR=$(LAVFILTERMAJOR)
44
45include ../common.mak