[Asterisk-cvs] asterisk/channels Makefile,1.62,1.63
markster at lists.digium.com
markster at lists.digium.com
Thu Oct 7 15:03:50 CDT 2004
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv19250/channels
Modified Files:
Makefile
Log Message:
Remove last vestiges of MySQL friends from makefile, in favor of realtime config
Index: Makefile
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/Makefile,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -d -r1.62 -r1.63
--- Makefile 2 Oct 2004 01:09:05 -0000 1.62
+++ Makefile 7 Oct 2004 19:05:05 -0000 1.63
@@ -17,9 +17,6 @@
OSARCH=$(shell uname -s)
PROC=$(shell uname -m)
-USE_MYSQL_FRIENDS=0
-USE_SIP_MYSQL_FRIENDS=0
-
CHANNEL_LIBS=chan_modem.so chan_sip.so \
chan_modem_aopen.so \
chan_modem_bestdata.so chan_modem_i4l.so \
@@ -27,14 +24,12 @@
chan_local.so chan_skinny.so
ifeq (${OSARCH},OpenBSD)
-MYSQLLIB=-L/usr/local/lib/mysql -lmysqlclient
CFLAGS+=-I/usr/local/include
PTLIB=-lpt_OpenBSD_x86_r
H323LIB=-lh323_OpenBSD_x86_r
CHANH323LIB=-L/usr/local/lib
endif
ifeq (${OSARCH},Linux)
-MYSQLLIB=-L/usr/lib/mysql -lmysqlclient
PTLIB=-lpt_linux_x86_r
H323LIB=-lh323_linux_x86_r
CHANH323LIB=-ldl
@@ -83,14 +78,6 @@
CFLAGS+=-DCRYPTO
CFLAGS+=-fPIC
-ifeq ($(USE_MYSQL_FRIENDS),1)
-CFLAGS+=-DMYSQL_FRIENDS
-USE_SIP_MYSQL_FRIENDS=1
-endif
-ifeq ($(USE_SIP_MYSQL_FRIENDS),1)
-CFLAGS+=-DSIP_MYSQL_FRIENDS
-endif
-
CFLAGS+=#-DVOFRDUMPER
ZAPDIR=/usr/lib
@@ -147,18 +134,7 @@
endif
chan_iax2.so: chan_iax2.o iax2-parser.o iax2-provision.o
-ifeq ($(USE_MYSQL_FRIENDS),1)
- $(CC) $(SOLINK) -o $@ chan_iax2.o iax2-parser.o iax2-provision.o $(MYSQLLIB) -lz
-else
$(CC) $(SOLINK) -o $@ chan_iax2.o iax2-parser.o iax2-provision.o
-endif
-
-chan_iax.so: chan_iax.o
-ifeq ($(USE_MYSQL_FRIENDS),1)
- $(CC) $(SOLINK) -o $@ chan_iax.o $(MYSQLLIB) -lz
-else
- $(CC) $(SOLINK) -o $@ chan_iax.o
-endif
chan_zap.o: chan_zap.c
$(CC) -c $(CFLAGS) -o chan_zap.o chan_zap.c
@@ -167,11 +143,7 @@
$(CC) $(SOLINK) -o $@ $< $(ZAPPRI) $(ZAPR2) -ltonezone
chan_sip.so: chan_sip.o
-ifeq ($(USE_SIP_MYSQL_FRIENDS),1)
- $(CC) $(SOLINK) -o $@ chan_sip.o $(MYSQLLIB) -lz
-else
$(CC) $(SOLINK) -o $@ chan_sip.o
-endif
chan_alsa.o: $(ALSA_SRC)
More information about the svn-commits
mailing list