1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00
FFmpeg/libavfilter/Makefile
Vitor Sessak ea28ecb093 Fix avfilter compilation with --enable-shared and no libswscaler
Originally committed as revision 12340 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-05 18:26:44 +00:00

31 lines
712 B
Makefile

include ../config.mak
CFLAGS+=-I$(SRC_PATH)/libavformat -I$(SRC_PATH)/libavcodec -I$(SRC_PATH)/libswscale
OBJS = allfilters.o \
avfilter.o \
defaults.o \
formats.o \
#OBJS-$(CONFIG_XXX_FILTER) += vf_xxx.o
HEADERS = avfilter.h
EXTRALIBS := -L$(BUILD_ROOT)/libavcodec -lavcodec$(BUILDSUF) \
-L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
ifeq ($(CONFIG_SWSCALER),yes)
EXTRALIBS+=-L$(BUILD_ROOT)/libswscale
EXTRALIBS+=-lswscale$(BUILDSUF)
endif
ifeq ($(CONFIG_AVFILTER_LAVF),yes)
EXTRALIBS := -L$(BUILD_ROOT)/libavformat -lavformat$(BUILDSUF) $(EXTRALIBS)
endif
NAME=avfilter
LIBVERSION=$(LAVFILTERVERSION)
LIBMAJOR=$(LAVFILTERMAJOR)
include ../common.mak