[Mplayer-cvslog] CVS: main/postproc Makefile,1.9,1.10

Michael Niedermayer michael at mplayerhq.hu
Thu Oct 31 11:22:13 CET 2002


Update of /cvsroot/mplayer/main/postproc
In directory mail:/var/tmp.root/cvs-serv20319

Modified Files:
	Makefile 
Log Message:
disabling compilation of .so if its not needed, gcc 3.1 seems to have problems with it


Index: Makefile
===================================================================
RCS file: /cvsroot/mplayer/main/postproc/Makefile,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- Makefile	29 Oct 2002 11:21:43 -0000	1.9
+++ Makefile	31 Oct 2002 10:21:44 -0000	1.10
@@ -2,8 +2,10 @@
 include ../config.mak
 
 SWSLIB = libswscale.a
+ifeq ($(SHARED_PP),yes)
 SPPLIB = libpostproc.so
 SPPVERSION = 0.0.1
+endif
 PPLIB = libpostproc.a
 
 SWSSRCS=swscale.c rgb2rgb.c yuv2rgb.c
@@ -41,13 +43,15 @@
 cs_test: $(CS_TEST_OBJS)
 	$(CC) $(CS_TEST_OBJS) -o cs_test
 
+ifeq ($(SHARED_PP),yes)
 postprocess_pic.o: postprocess.c
 	$(CC) -c $(CFLAGS) -fomit-frame-pointer -fPIC -DPIC -o $@ $<
 
 $(SPPLIB): $(SPPOBJS)
 	$(CC) -shared -Wl,-soname,$(SPPLIB).0 \
 	-o $(SPPLIB) $(SPPOBJS)
-
+endif
+	
 $(PPLIB): $(PPOBJS)
 	$(AR) r $(PPLIB) $(PPOBJS)
 




More information about the MPlayer-cvslog mailing list