remove unused defines and logic (issue #5058)
authorKevin P. Fleming <kpfleming@digium.com>
Mon, 29 Aug 2005 19:07:24 +0000 (19:07 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Mon, 29 Aug 2005 19:07:24 +0000 (19:07 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6435 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/Makefile

index 7b05172..d2211aa 100755 (executable)
@@ -11,9 +11,6 @@
 # the GNU General Public License
 #
 
-USE_MYSQL_VM_INTERFACE=0
-USE_POSTGRES_VM_INTERFACE=0
-
 #APPS=app_dial.so app_playback.so app_directory.so app_intercom.so app_mp3.so 
 APPS=app_dial.so app_playback.so app_voicemail.so app_directory.so app_mp3.so\
      app_system.so app_echo.so app_record.so app_image.so app_url.so app_disa.so \
@@ -43,9 +40,9 @@ endif
 #
 # Obsolete things...
 #
-
 #APPS+=app_sql_postgres.so
 #APPS+=app_sql_odbc.so
+
 #
 # Experimental things
 #
@@ -53,7 +50,6 @@ endif
 #APPS+=app_skel.so
 #APPS+=app_rpt.so
 
-
 APPS+=$(shell if [ -f $(CROSS_COMPILE_TARGET)/usr/include/linux/zaptel.h ]; then echo "app_zapras.so app_meetme.so app_flash.so app_zapbarge.so app_zapscan.so" ; fi)
 APPS+=$(shell if [ -f $(CROSS_COMPILE_TARGET)/usr/local/include/zaptel.h ]; then echo "app_zapras.so app_meetme.so app_flash.so app_zapbarge.so app_zapscan.so" ; fi)
 APPS+=$(shell if [ -f $(CROSS_COMPILE_TARGET)/usr/include/osp/osp.h ]; then echo "app_osplookup.so" ; fi)
@@ -97,17 +93,6 @@ install: all
 app_curl.so: app_curl.o
        $(CC) $(SOLINK) -o $@ $< $(CURLLIBS)
 
-app_voicemail.so : app_voicemail.o
-ifeq ($(USE_MYSQL_VM_INTERFACE),1)
-       $(CC) $(SOLINK) -o $@ $(MLFLAGS) $< -L/usr/lib/mysql -lmysqlclient -lz
-else
-ifeq ($(USE_POSTGRES_VM_INTERFACE),1)
-       $(CC) $(SOLINK) -o $@ $(MLFLAGS) $< -lpq
-else
-       $(CC) $(SOLINK) -o $@ $(MLFLAGS) $< 
-endif
-endif
-
 app_sql_postgres.o: app_sql_postgres.c
        $(CC) -pipe -I/usr/local/pgsql/include $(CFLAGS) -c -o app_sql_postgres.o app_sql_postgres.c