aboutsummaryrefslogtreecommitdiffstats
path: root/apps/Makefile
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-08-29 19:07:24 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-08-29 19:07:24 +0000
commitb9d46c65249dbeb592f320b7ad41392a0c0a9a4e (patch)
treed964161322d2f83c1b1b759bc8aa7eb38ed0088b /apps/Makefile
parent1b9c46bbcd462af79cc54d92e5f522285c7638a8 (diff)
remove unused defines and logic (issue #5058)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6435 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/Makefile')
-rwxr-xr-xapps/Makefile17
1 files changed, 1 insertions, 16 deletions
diff --git a/apps/Makefile b/apps/Makefile
index 7b05172a9..d2211aafb 100755
--- a/apps/Makefile
+++ b/apps/Makefile
@@ -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