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

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

EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)

NAME=postproc
LIBVERSION=$(SPPVERSION)
LIBMAJOR=$(SPPMAJOR)

HEADERS = postprocess.h

include ../common.mak

$(LIBNAME): postprocess.o
$(SLIBNAME_WITH_MAJOR): postprocess_pic.o

depend dep: postprocess.c

postprocess_pic.o: postprocess.c
	$(CC) -c $(CFLAGS) -fomit-frame-pointer -fPIC -DPIC -o $@ $<

uninstall-headers::
	-rmdir "$(prefix)/include/postproc"