2008-02-15 19:21:42 +00:00
|
|
|
include ../config.mak
|
|
|
|
|
2008-02-15 19:34:10 +00:00
|
|
|
CFLAGS+=-I$(SRC_PATH)/libavformat -I$(SRC_PATH)/libavcodec -I$(SRC_PATH)/libswscale
|
2008-02-15 19:21:42 +00:00
|
|
|
|
2008-02-15 19:34:43 +00:00
|
|
|
OBJS = allfilters.o \
|
|
|
|
avfilter.o \
|
2008-02-15 19:21:42 +00:00
|
|
|
avfiltergraph.o \
|
2008-02-15 19:24:25 +00:00
|
|
|
avfiltergraphdesc.o \
|
|
|
|
defaults.o \
|
2008-02-15 19:33:05 +00:00
|
|
|
formats.o \
|
2008-02-15 19:34:43 +00:00
|
|
|
avfiltergraphfile.o \
|
2008-02-15 19:21:42 +00:00
|
|
|
|
|
|
|
# TODO: real conditional compilation
|
|
|
|
|
2008-02-15 19:34:43 +00:00
|
|
|
|
|
|
|
OBJS-$(CONFIG_VF_CROP) += vf_crop.o
|
|
|
|
OBJS-$(CONFIG_VF_FPS) += vf_fps.o
|
|
|
|
OBJS-$(CONFIG_VF_HFLIP) += vf_hflip.o
|
|
|
|
OBJS-$(CONFIG_VF_NEGATE) += vf_negate.o
|
2008-02-15 19:34:54 +00:00
|
|
|
OBJS-$(CONFIG_VF_FIFO) += vf_fifo.o
|
2008-02-15 19:34:43 +00:00
|
|
|
OBJS-$(CONFIG_VF_FORMAT) += vf_format.o
|
|
|
|
OBJS-$(CONFIG_VF_OVERLAY) += vf_overlay.o
|
|
|
|
OBJS-$(CONFIG_VF_ROTATE) += vf_rotate.o
|
|
|
|
OBJS-$(CONFIG_VF_SCALE) += vf_scale.o
|
|
|
|
OBJS-$(CONFIG_VF_SETPTS) += vf_setpts.o
|
|
|
|
OBJS-$(CONFIG_VF_SLICIFY) += vf_slicify.o
|
|
|
|
OBJS-$(CONFIG_VF_SPLIT) += vf_split.o
|
|
|
|
OBJS-$(CONFIG_VF_TRANSPOSE) += vf_transpose.o
|
|
|
|
OBJS-$(CONFIG_VF_VFLIP) += vf_vflip.o
|
2008-02-15 19:35:06 +00:00
|
|
|
OBJS-$(CONFIG_VSRC_MOVIE) += vsrc_movie.o
|
2008-02-15 19:34:10 +00:00
|
|
|
|
2008-02-15 19:21:42 +00:00
|
|
|
HEADERS = avfilter.h
|
|
|
|
|
2008-02-15 19:33:48 +00:00
|
|
|
EXTRALIBS := -L$(BUILD_ROOT)/libavcodec -lavcodec$(BUILDSUF) \
|
|
|
|
-L$(BUILD_ROOT)/libswscale -lswscale$(BUILDSUF) \
|
|
|
|
-L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
|
2008-02-15 19:21:42 +00:00
|
|
|
|
2008-02-15 19:34:10 +00:00
|
|
|
ifeq ($(CONFIG_AVFILTER_LAVF),yes)
|
|
|
|
EXTRALIBS := -L$(BUILD_ROOT)/libavformat -lavformat$(BUILDSUF) $(EXTRALIBS)
|
|
|
|
endif
|
|
|
|
|
2008-02-15 19:21:42 +00:00
|
|
|
NAME=avfilter
|
|
|
|
LIBVERSION=$(LAVFILTERVERSION)
|
|
|
|
LIBMAJOR=$(LAVFILTERMAJOR)
|
|
|
|
|
|
|
|
include ../common.mak
|