diff options
Diffstat (limited to 'apps/Makefile')
-rwxr-xr-x | apps/Makefile | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/apps/Makefile b/apps/Makefile index 0bc6259b2..ce48c4707 100755 --- a/apps/Makefile +++ b/apps/Makefile @@ -15,7 +15,11 @@ 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 \ app_agi.so app_qcall.so app_adsiprog.so app_getcpeid.so app_milliwatt.so \ - app_zapateller.so + app_zapateller.so app_datetime.so app_setcallerid.so app_festival.so \ + app_queue.so + +#APPS+=app_sql_postgres.so +#APPS+=app_sql_odbc.so APPS+=$(shell if [ -f /usr/include/zap.h ]; then echo "app_zapras.so app_meetme.so" ; fi) @@ -38,6 +42,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 +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 + +app_sql_postgres.so: app_sql_postgres.o + $(CC) -shared -Xlinker -x -o $@ $< -L/usr/local/pgsql/lib -lpq + +app_sql_odbc.so: app_sql_odbc.o + $(CC) -shared -Xlinker -x -o $@ $< -lodbc look: look.c gcc -pipe -O6 -g look.c -o look -lncurses |