1999-11-13 17:59:36 +00:00
|
|
|
#
|
|
|
|
# Asterisk -- A telephony toolkit for Linux.
|
|
|
|
#
|
|
|
|
# Makefile for PBX frontends (dynamically loaded)
|
|
|
|
#
|
1999-12-11 20:09:45 +00:00
|
|
|
# Copyright (C) 1999, Mark Spencer
|
1999-11-13 17:59:36 +00:00
|
|
|
#
|
|
|
|
# Mark Spencer <markster@linux-support.net>
|
|
|
|
#
|
|
|
|
# This program is free software, distributed under the terms of
|
|
|
|
# the GNU General Public License
|
|
|
|
#
|
|
|
|
|
2001-04-14 14:11:40 +00:00
|
|
|
APPS=app_dial.so app_playback.so app_voicemail.so app_directory.so app_intercom.so app_mp3.so \
|
2001-09-14 14:31:58 +00:00
|
|
|
app_system.so app_echo.so app_record.so app_image.so app_url.so app_disa.so \
|
|
|
|
app_agi.so
|
1999-11-13 17:59:36 +00:00
|
|
|
|
|
|
|
CFLAGS+=
|
|
|
|
|
|
|
|
all: $(APPS)
|
|
|
|
|
|
|
|
clean:
|
2001-04-14 14:11:40 +00:00
|
|
|
rm -f *.so *.o look
|
1999-11-13 17:59:36 +00:00
|
|
|
|
|
|
|
%.so : %.o
|
|
|
|
$(CC) -shared -Xlinker -x -o $@ $<
|
|
|
|
|
|
|
|
install: all
|
|
|
|
for x in $(APPS); do $(INSTALL) -m 755 $$x $(MODULES_DIR) ; done
|
2001-04-14 14:11:40 +00:00
|
|
|
|
|
|
|
app_todd.o: app_todd.c
|
|
|
|
gcc -pipe -O6 -g -Iinclude -I../include -D_REENTRANT -march=i586 -DDO_CRASH -DDEBUG_THREADS -c -o app_todd.o app_todd.c
|
|
|
|
|
|
|
|
app_todd.so: app_todd.o
|
|
|
|
$(CC) -shared -Xlinker -x -o $@ $< -L/usr/local/ssl/lib -lssl -lcrypto
|
|
|
|
|
|
|
|
|
|
|
|
look: look.c
|
|
|
|
gcc -pipe -O6 -g look.c -o look -lncurses
|