aboutsummaryrefslogtreecommitdiffstats
path: root/libpostproc/Makefile
blob: 8f5c921eb5fd40035c6f2f426c8e9d7a4f870228 (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
include ../config.mak

# Overload incdir, postproc include files go in a different directory.
incdir=$(prefix)/include/postproc

NAME=postproc
ifeq ($(BUILD_SHARED),yes)
LIBVERSION=$(SPPVERSION)
LIBMAJOR=$(SPPMAJOR)
endif

STATIC_OBJS=postprocess.o
SHARED_OBJS=postprocess_pic.o

HEADERS = postprocess.h

CFLAGS  = -I.. -I$(SRC_PATH)/libavcodec $(OPTFLAGS)
# -I/usr/X11R6/include/

include $(SRC_PATH)/common.mak

depend: postprocess.c

ifeq ($(BUILD_SHARED),yes)
postprocess_pic.o: postprocess.c
	$(CC) -c $(CFLAGS) -fomit-frame-pointer -fPIC -DPIC -o $@ $<
endif