b6ac1a6f91f9cb1477fcbab7bf65cc84e43247c8
[libav.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 = $(OPTFLAGS) -I.. -I$(SRC_PATH)/libavcodec
19 # -I/usr/X11R6/include/
20
21 include $(SRC_PATH)/common.mak
22
23 ifeq ($(BUILD_SHARED),yes)
24 postprocess_pic.o: postprocess.c
25 $(CC) -c $(CFLAGS) -fomit-frame-pointer -fPIC -DPIC -o $@ $<
26 endif
27