[Asterisk-cvs] asterisk-addons Makefile,1.2,1.3

markster at lists.digium.com markster at lists.digium.com
Mon Sep 29 15:14:24 CDT 2003


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

Modified Files:
	Makefile 
Log Message:
Build fixes


Index: Makefile
===================================================================
RCS file: /usr/cvsroot/asterisk-addons/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- Makefile	26 Sep 2003 22:53:21 -0000	1.2
+++ Makefile	29 Sep 2003 20:15:36 -0000	1.3
@@ -16,10 +16,15 @@
 CFLAGS+=-fPIC
 CFLAGS+=-I../asterisk
 
+INSTALL=install
+INSTALL_PREFIX=
+ASTLIBDIR=$(INSTALL_PREFIX)/usr/lib/asterisk
+MODULES_DIR=$(ASTLIBDIR)/modules
+
 #
 # MySQL stuff...  Autoconf anyone??
 #
-MODS+=$(shell if [ -d /usr/local/mysql/include ] || [ -d /usr/include/mysql ] || [ -d /usr/local/include/mysql ] || [ -d /opt/mysql/include ]; then echo "cdr_mysql.so"; fi)
+MODS+=$(shell if [ -d /usr/local/mysql/include ] || [ -d /usr/include/mysql ] || [ -d /usr/local/include/mysql ] || [ -d /opt/mysql/include ]; then echo "cdr_addon_mysql.so"; fi)
 CFLAGS+=$(shell if [ -d /usr/local/mysql/include ]; then echo "-I/usr/local/mysql/include"; fi)
 CFLAGS+=$(shell if [ -d /usr/include/mysql ]; then echo "-I/usr/include/mysql"; fi)
 CFLAGS+=$(shell if [ -d /usr/local/include/mysql ]; then echo "-I/usr/local/include/mysql"; fi)
@@ -45,7 +50,7 @@
 include .depend
 endif
 
-cdr_mysql.so: cdr_mysql.o
+cdr_addon_mysql.so: cdr_addon_mysql.o
 	$(CC) -shared -Xlinker -x -o $@ $< -lmysqlclient -lz $(MLFLAGS)
 
 depend: .depend




More information about the svn-commits mailing list