ffmpeg/libpostproc/Makefile
Diego Biurrun 582c1c47da Declare libpostproc prerequisites directly instead of using a layer of
indirection. This moves build system workarounds closer to libpostproc
where they are really needed.

Originally committed as revision 10874 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-10-30 07:54:18 +00:00

27 lines
561 B
Makefile

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"