mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-18 05:24:42 +00:00
582c1c47da
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
27 lines
561 B
Makefile
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"
|