summaryrefslogtreecommitdiff
path: root/libavfilter/Makefile
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2008-02-15 19:34:10 +0000
committerVitor Sessak <vitor1001@gmail.com>2008-02-15 19:34:10 +0000
commit0d6423514bd56b8d731e7b20cb3d9dd483dedc0d (patch)
tree2997fbdb7a4da650dd94e5896bc4ede04dcf10f2 /libavfilter/Makefile
parent223c84acf4b652789c49670ec23961487bf798d4 (diff)
Add movie file video source filter.
Commited in SoC by VĂ­ctor Paesa on 2008-01-31 20:55:50 Originally committed as revision 11954 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/Makefile')
-rw-r--r--libavfilter/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/libavfilter/Makefile b/libavfilter/Makefile
index a6f5480128..272761f5be 100644
--- a/libavfilter/Makefile
+++ b/libavfilter/Makefile
@@ -1,6 +1,6 @@
include ../config.mak
-CFLAGS+=-I$(SRC_PATH)/libavcodec -I$(SRC_PATH)/libswscale
+CFLAGS+=-I$(SRC_PATH)/libavformat -I$(SRC_PATH)/libavcodec -I$(SRC_PATH)/libswscale
OBJS = avfilter.o \
avfiltergraph.o \
@@ -25,12 +25,18 @@ OBJS-yes = vf_crop.o \
vf_vflip.o \
avfiltergraphfile.o \
+OBJS-$(CONFIG_AVFILTER_LAVF) += vsrc_movie.o
+
HEADERS = avfilter.h
EXTRALIBS := -L$(BUILD_ROOT)/libavcodec -lavcodec$(BUILDSUF) \
-L$(BUILD_ROOT)/libswscale -lswscale$(BUILDSUF) \
-L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
+ifeq ($(CONFIG_AVFILTER_LAVF),yes)
+EXTRALIBS := -L$(BUILD_ROOT)/libavformat -lavformat$(BUILDSUF) $(EXTRALIBS)
+endif
+
NAME=avfilter
LIBVERSION=$(LAVFILTERVERSION)
LIBMAJOR=$(LAVFILTERMAJOR)