Merge of several revisions that add more targets to the
[ffmpeg.git] / libavfilter / Makefile
1 include ../config.mak
2
3 CFLAGS+=-I$(SRC_PATH)/libavcodec
4
5 OBJS = avfilter.o \
6        avfiltergraph.o \
7        avfiltergraphdesc.o \
8        defaults.o \
9
10 # TODO: real conditional compilation
11 OBJS-yes = vsrc_dummy.o \
12            vsrc_ppm.o \
13            vo_sdl.o \
14            vf_crop.o \
15            vf_fps.o \
16            vf_overlay.o \
17            vf_passthrough.o \
18            vf_rgb2bgr.o \
19            vf_slicify.o \
20            vf_vflip.o \
21
22 HEADERS = avfilter.h
23
24 EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
25
26 NAME=avfilter
27 LIBVERSION=$(LAVFILTERVERSION)
28 LIBMAJOR=$(LAVFILTERMAJOR)
29
30 include ../common.mak
31
32 clean::
33         rm -f \
34            filter_test $(TESTS)
35
36 tests: filter_test
37
38 filter_test: filter_test.o $(LIB)
39         $(CC) $(CFLAGS) $< -o $@ $(LIB) -lm -lSDL
40
41 .PHONY: tests