Build both static and shared libs from the same object.

This makes libpostproc consistent with all the other libraries.
patch by Diego 'Flameeyes' Pettenò, flameeyes gmail com

Originally committed as revision 11526 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Diego Pettenò 2008-01-14 14:42:29 +00:00 committed by Diego Biurrun
parent 750e37eb83
commit 363728ea0e
1 changed files with 2 additions and 8 deletions

View File

@ -12,15 +12,9 @@ LIBMAJOR=$(SPPMAJOR)
HEADERS = postprocess.h HEADERS = postprocess.h
OBJS = postprocess.o
include ../common.mak 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:: uninstall-headers::
-rmdir "$(prefix)/include/postproc" -rmdir "$(prefix)/include/postproc"