Rename cdr_unixodbc to cdr_odbc
authorMark Spencer <markster@digium.com>
Sat, 6 Dec 2003 23:19:22 +0000 (23:19 +0000)
committerMark Spencer <markster@digium.com>
Sat, 6 Dec 2003 23:19:22 +0000 (23:19 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1834 65c4cc65-6c06-0410-ace0-fbb531ad65f3

Makefile
cdr/Makefile
cdr/cdr_odbc.c [moved from cdr/cdr_unixodbc.c with 100% similarity]

index 417b9ac..14de595 100755 (executable)
--- a/Makefile
+++ b/Makefile
@@ -315,6 +315,7 @@ bininstall: all
        rm -f $(DESTDIR)$(MODULES_DIR)/chan_ixj.so
        rm -f $(DESTDIR)$(MODULES_DIR)/chan_tor.so
        rm -f $(DESTDIR)$(MODULES_DIR)/cdr_mysql.so
+       rm -f $(DESTDIR)$(MODULES_DIR)/cdr_unixodbc.so
        rm -f $(DESTDIR)$(MODULES_DIR)/codec_mp3_d.so
        rm -f $(DESTDIR)$(MODULES_DIR)/format_mp3.so
        rm -f $(DESTDIR)$(MODULES_DIR)/app_voicemail2.so
index 0fa902c..056b919 100755 (executable)
@@ -18,7 +18,7 @@ CFLAGS+=-fPIC
 #
 # unixODBC stuff...
 #
-MODS+=$(shell if [ -f "/usr/include/odbcinst.h" ]; then echo "cdr_unixodbc.so"; fi)
+MODS+=$(shell if [ -f "/usr/include/odbcinst.h" ]; then echo "cdr_odbc.so"; fi)
 
 
 #
@@ -52,7 +52,7 @@ ifneq ($(wildcard .depend),)
 include .depend
 endif
 
-cdr_unixodbc.so: cdr_unixodbc.o
+cdr_odbc.so: cdr_odbc.o
        $(CC) $(SOLINK) -o $@ $< -lodbc -I/usr/include $(MLFLAGS)
 
 cdr_pgsql.so: cdr_pgsql.o
similarity index 100%
rename from cdr/cdr_unixodbc.c
rename to cdr/cdr_odbc.c