Browse code

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

Diego Pettenò authored on 2008/01/14 23:42:29
Showing 1 changed files
... ...
@@ -12,15 +12,9 @@ LIBMAJOR=$(SPPMAJOR)
12 12
 
13 13
 HEADERS = postprocess.h
14 14
 
15
-include ../common.mak
16
-
17
-$(LIBNAME): postprocess.o
18
-$(SLIBNAME_WITH_MAJOR): postprocess_pic.o
15
+OBJS = postprocess.o
19 16
 
20
-depend dep: postprocess.c
21
-
22
-postprocess_pic.o: postprocess.c
23
-	$(CC) -c $(CFLAGS) -fomit-frame-pointer -fPIC -DPIC -o $@ $<
17
+include ../common.mak
24 18
 
25 19
 uninstall-headers::
26 20
 	-rmdir "$(prefix)/include/postproc"