NAME = avfilter FFLIBS = avcodec avutil swscale FFLIBS-$(CONFIG_AVFILTER_LAVF) += avformat HEADERS = avfilter.h OBJS = allfilters.c \ avfilter.c \ defaults.c \ formats.c \ #OBJS-$(CONFIG_XXX_FILTER) += vf_xxx.c lib_LIBRARIES:=$(NAME) $(NAME)_SOURCES:=$(OBJS) $(OBJS-y) $(OBJS-yes) renamed_include_HEADERS:=$(foreach h,$(HEADERS),$(h)->lib$(NAME)/$(h) )