[FFmpeg-cvslog] r11526 - trunk/libpostproc/Makefile

diego subversion
Mon Jan 14 15:42:29 CET 2008


Author: diego
Date: Mon Jan 14 15:42:29 2008
New Revision: 11526

Log:
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


Modified:
   trunk/libpostproc/Makefile

Modified: trunk/libpostproc/Makefile
==============================================================================
--- trunk/libpostproc/Makefile	(original)
+++ trunk/libpostproc/Makefile	Mon Jan 14 15:42:29 2008
@@ -12,15 +12,9 @@ LIBMAJOR=$(SPPMAJOR)
 
 HEADERS = postprocess.h
 
-include ../common.mak
-
-$(LIBNAME): postprocess.o
-$(SLIBNAME_WITH_MAJOR): postprocess_pic.o
-
-depend dep: postprocess.c
+OBJS = postprocess.o
 
-postprocess_pic.o: postprocess.c
-	$(CC) -c $(CFLAGS) -fomit-frame-pointer -fPIC -DPIC -o $@ $<
+include ../common.mak
 
 uninstall-headers::
 	-rmdir "$(prefix)/include/postproc"




More information about the ffmpeg-cvslog mailing list