aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/Makefile
blob: 272761f5be7900369f1b5796f97fb1d10b12d697 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
include ../config.mak

CFLAGS+=-I$(SRC_PATH)/libavformat -I$(SRC_PATH)/libavcodec -I$(SRC_PATH)/libswscale

OBJS = avfilter.o \
       avfiltergraph.o \
       avfiltergraphdesc.o \
       defaults.o \
       formats.o \

# TODO: real conditional compilation
OBJS-yes = vf_crop.o \
           vf_fifo.o \
           vf_fps.o \
           vf_hflip.o \
           vf_negate.o \
           vf_format.o \
           vf_overlay.o \
           vf_rotate.o \
           vf_scale.o \
           vf_setpts.o \
           vf_slicify.o \
           vf_split.o \
           vf_transpose.o \
           vf_vflip.o \
           avfiltergraphfile.o \

OBJS-$(CONFIG_AVFILTER_LAVF) += vsrc_movie.o

HEADERS = avfilter.h

EXTRALIBS := -L$(BUILD_ROOT)/libavcodec -lavcodec$(BUILDSUF) \
             -L$(BUILD_ROOT)/libswscale -lswscale$(BUILDSUF) \
             -L$(BUILD_ROOT)/libavutil  -lavutil$(BUILDSUF) $(EXTRALIBS)

ifeq ($(CONFIG_AVFILTER_LAVF),yes)
EXTRALIBS := -L$(BUILD_ROOT)/libavformat -lavformat$(BUILDSUF) $(EXTRALIBS)
endif

NAME=avfilter
LIBVERSION=$(LAVFILTERVERSION)
LIBMAJOR=$(LAVFILTERMAJOR)

include ../common.mak