view Makefile @ 62:aac097949f15 libpostproc

Declare libpostproc prerequisites directly instead of using a layer of indirection. This moves build system workarounds closer to libpostproc where they are really needed.
author diego
date Tue, 30 Oct 2007 07:54:18 +0000
parents b64be993e95c
children cc79af45c2ae
line wrap: on
line source


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"