Fix 'make depend' for libpostproc.
[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 NAME=postproc
8 ifeq ($(BUILD_SHARED),yes)
9 LIBVERSION=$(SPPVERSION)
10 LIBMAJOR=$(SPPMAJOR)
11 endif
12
13 STATIC_OBJS=postprocess.o
14 SHARED_OBJS=postprocess_pic.o
15
16 HEADERS = postprocess.h
17
18 CFLAGS  = -I.. -I$(SRC_PATH)/libavcodec $(OPTFLAGS)
19 # -I/usr/X11R6/include/
20
21 include $(SRC_PATH)/common.mak
22
23 depend: postprocess.c
24
25 ifeq ($(BUILD_SHARED),yes)
26 postprocess_pic.o: postprocess.c
27         $(CC) -c $(CFLAGS) -fomit-frame-pointer -fPIC -DPIC -o $@ $<
28 endif
29