diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-05-16 20:37:02 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-05-16 20:37:02 +0000 |
commit | 1bf12f001e8f22fa3fb83a480eebb4b082251278 (patch) | |
tree | 8c81f479fd3d0a0095cd2f40cc0e6377b83d1fe5 /apps/Makefile | |
parent | 1c195019fa3128fdae3dfee8ec9d8b6b6319fad5 (diff) |
Merge Vonage's MySQL Voicemail stuff
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1030 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/Makefile')
-rwxr-xr-x | apps/Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/Makefile b/apps/Makefile index 03f5c558c..8a14c5558 100755 --- a/apps/Makefile +++ b/apps/Makefile @@ -11,6 +11,8 @@ # the GNU General Public License # +USE_MYSQL_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_intercom.so app_mp3.so \ app_system.so app_echo.so app_record.so app_image.so app_url.so app_disa.so \ @@ -50,6 +52,14 @@ app_todd.o: app_todd.c app_todd.so: app_todd.o $(CC) -shared -Xlinker -x -o $@ $< -L/usr/local/ssl/lib -lssl -lcrypto +ifeq (${USE_MYSQL_VM_INTERFACE}, 1) +app_voicemail2.o: app_voicemail2.c + $(CC) -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -O6 -g -Iinclude -I../include -DUSEMYSQLVM=\"1\" -D_REENTRANT -D_GNU_SOURCE -march=i686 -DASTERISK_VERSION=\"CVS-07/21/02-14:49:14\" -DDO_CRASH -DDEBUG_THREADS -c -o app_voicemail2.o app_voicemail2.c +else +app_voicemail2.so : app_voicemail2.o + $(CC) -shared -Xlinker -x -o $@ $< -L/usr/lib/mysql -lmysqlclient +endif + app_sql_postgres.o: app_sql_postgres.c $(CC) -pipe -I/usr/local/pgsql/include -Wall -Wmissing-prototypes -Wmissing-declarations -O6 -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -march=i686 -DASTERISK_VERSION=\"CVS-07/21/02-14:49:14\" -DDO_CRASH -DDEBUG_THREADS -c -o app_sql_postgres.o app_sql_postgres.c |