[Asterisk-cvs] asterisk/codecs Makefile,1.9,1.10

markster at lists.digium.com markster at lists.digium.com
Sun Oct 26 12:24:43 CST 2003


Update of /usr/cvsroot/asterisk/codecs
In directory mongoose.digium.com:/tmp/cvs-serv12438/codecs

Modified Files:
	Makefile 
Log Message:
Make it build and run on MacOS X


Index: Makefile
===================================================================
RCS file: /usr/cvsroot/asterisk/codecs/Makefile,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- Makefile	25 Oct 2003 17:27:53 -0000	1.9
+++ Makefile	26 Oct 2003 18:50:49 -0000	1.10
@@ -68,31 +68,31 @@
 	$(MAKE) -C ilbc all
 
 codec_ilbc.so: codec_ilbc.o $(LIBILBC)
-	$(CC) -shared -Xlinker -x -o $@ $< $(LIBILBC)
+	$(CC) $(SOLINK) -o $@ $< $(LIBILBC)
 
 codec_g723_1.so : codec_g723_1.o $(LIBG723)
-	$(CC) -shared -Xlinker -x -o $@ $< $(LIBG723)
+	$(CC) $(SOLINK) -o $@ $< $(LIBG723)
 
 codec_g723_1b.o : codec_g723_1.c
 	$(CC) -c -o $@ $(CFLAGS) -DANNEX_B -Dsingle $<
 
 codec_g723_1b.so : codec_g723_1b.o $(LIBG723B)
-	$(CC) -shared -Xlinker -x -o $@ $< $(LIBG723B) -lm
+	$(CC) $(SOLINK) -o $@ $< $(LIBG723B) -lm
 
 codec_gsm.so: codec_gsm.o $(LIBGSMT) 
-	$(CC) -shared -Xlinker -x -o $@ $< $(LIBGSM)
+	$(CC) $(SOLINK) -o $@ $< $(LIBGSM)
 
 codec_speex.so: codec_speex.o
-	$(CC) -shared -Xlinker -x -o $@ $< $(LIBSPEEX)
+	$(CC) $(SOLINK) -o $@ $< $(LIBSPEEX)
 
 codec_lpc10.so: codec_lpc10.o $(LIBLPC10)
-	$(CC) -shared -Xlinker -x -o $@ $< $(LIBLPC10) -lm
+	$(CC) $(SOLINK) -o $@ $< $(LIBLPC10) -lm
 
 codec_mp3_d.so: codec_mp3_d.o $(LIBMP3)
-	$(CC) -lm -shared -Xlinker -x -o $@ $< $(LIBMP3)
+	$(CC) -lm $(SOLINK) -o $@ $< $(LIBMP3)
 
 %.so : %.o
-	$(CC) -shared -Xlinker -x -o $@ $<
+	$(CC) $(SOLINK) -o $@ $<
 
 include .depend
 




More information about the svn-commits mailing list