Fix postproc build, thanks to Pavlov Konstantin <thresh@cpms.ru>
[ffmpeg.git] / libpostproc / Makefile
1
2 include ../config.mak
3
4 # Overload incdir, postproc include files go in a different directory.
5 incdir=$(prefix)/include/postproc
6
7 EXTRALIBS := -L../libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
8
9 NAME=postproc
10 ifeq ($(BUILD_SHARED),yes)
11 LIBVERSION=$(SPPVERSION)
12 LIBMAJOR=$(SPPMAJOR)
13 endif
14
15 STATIC_OBJS=postprocess.o
16 SHARED_OBJS=postprocess_pic.o
17
18 HEADERS = postprocess.h
19
20 CFLAGS  = -I.. -I$(SRC_PATH)/libavutil $(OPTFLAGS)
21 # -I/usr/X11R6/include/
22
23 include $(SRC_PATH)/common.mak
24
25 depend: postprocess.c
26
27 postprocess_pic.o: postprocess.c
28         $(CC) -c $(CFLAGS) -fomit-frame-pointer -fPIC -DPIC -o $@ $<
29