Add correct version number to shared libavfilter
[libav.git] / libavfilter / Makefile
CommitLineData
782e83e2
VS
1include ../config.mak
2
0d642351 3CFLAGS+=-I$(SRC_PATH)/libavformat -I$(SRC_PATH)/libavcodec -I$(SRC_PATH)/libswscale
782e83e2 4
21729613
VS
5OBJS = allfilters.o \
6 avfilter.o \
da842323 7 defaults.o \
8d990c19 8 formats.o \
0fdf410a 9
81124ba0 10#OBJS-$(CONFIG_XXX_FILTER) += vf_xxx.o
0d642351 11
782e83e2
VS
12HEADERS = avfilter.h
13
223c84ac 14EXTRALIBS := -L$(BUILD_ROOT)/libavcodec -lavcodec$(BUILDSUF) \
223c84ac 15 -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
782e83e2 16
ea28ecb0
VS
17ifeq ($(CONFIG_SWSCALER),yes)
18EXTRALIBS+=-L$(BUILD_ROOT)/libswscale
19EXTRALIBS+=-lswscale$(BUILDSUF)
20endif
21
0d642351
VS
22ifeq ($(CONFIG_AVFILTER_LAVF),yes)
23EXTRALIBS := -L$(BUILD_ROOT)/libavformat -lavformat$(BUILDSUF) $(EXTRALIBS)
24endif
25
782e83e2 26NAME=avfilter
c2b0b21d
VS
27LIBVERSION=$(LAVFIVERSION)
28LIBMAJOR=$(LAVFIMAJOR)
782e83e2
VS
29
30include ../common.mak