2008-02-15 20:21:42 +01:00
|
|
|
include ../config.mak
|
|
|
|
|
2008-02-15 20:34:10 +01:00
|
|
|
CFLAGS+=-I$(SRC_PATH)/libavformat -I$(SRC_PATH)/libavcodec -I$(SRC_PATH)/libswscale
|
2008-02-15 20:21:42 +01:00
|
|
|
|
2008-02-15 20:34:43 +01:00
|
|
|
OBJS = allfilters.o \
|
|
|
|
avfilter.o \
|
2008-02-15 20:21:42 +01:00
|
|
|
avfiltergraph.o \
|
2008-02-15 20:24:25 +01:00
|
|
|
avfiltergraphdesc.o \
|
|
|
|
defaults.o \
|
2008-02-15 20:33:05 +01:00
|
|
|
formats.o \
|
2008-02-15 20:34:43 +01:00
|
|
|
avfiltergraphfile.o \
|
2008-02-15 20:21:42 +01:00
|
|
|
|
|
|
|
# TODO: real conditional compilation
|
|
|
|
|
2008-02-15 20:34:43 +01: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
|
|
|
|
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 20:34:10 +01:00
|
|
|
OBJS-$(CONFIG_AVFILTER_LAVF) += vsrc_movie.o
|
|
|
|
|
2008-02-15 20:21:42 +01:00
|
|
|
HEADERS = avfilter.h
|
|
|
|
|
2008-02-15 20:33:48 +01:00
|
|
|
EXTRALIBS := -L$(BUILD_ROOT)/libavcodec -lavcodec$(BUILDSUF) \
|
|
|
|
-L$(BUILD_ROOT)/libswscale -lswscale$(BUILDSUF) \
|
|
|
|
-L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
|
2008-02-15 20:21:42 +01:00
|
|
|
|
2008-02-15 20:34:10 +01:00
|
|
|
ifeq ($(CONFIG_AVFILTER_LAVF),yes)
|
|
|
|
EXTRALIBS := -L$(BUILD_ROOT)/libavformat -lavformat$(BUILDSUF) $(EXTRALIBS)
|
|
|
|
endif
|
|
|
|
|
2008-02-15 20:21:42 +01:00
|
|
|
NAME=avfilter
|
|
|
|
LIBVERSION=$(LAVFILTERVERSION)
|
|
|
|
LIBMAJOR=$(LAVFILTERMAJOR)
|
|
|
|
|
|
|
|
include ../common.mak
|