aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2001-03-30 22:04:14 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2001-03-30 22:04:14 +0000
commit43262aded51ebe1b604c70b5aa39d48ea59a50cf (patch)
tree1e3f96c3e13e895ac2a204121fae812bb5491aae /Makefile
parent3137c9be322b3fe4c3e83e8c99ae02ba63dd616e (diff)
Version 0.1.7 from FTP
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@261 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 252e67f90..260d782c4 100755
--- a/Makefile
+++ b/Makefile
@@ -23,11 +23,14 @@ PROC=i586
DEBUG=-g #-pg
INCLUDE=-Iinclude -I../include
-CFLAGS=-pipe -Wall -Werror -Wmissing-prototypes -Wmissing-declarations -O6 $(DEBUG) $(INCLUDE) -D_REENTRANT
+CFLAGS=-pipe -Wall -Werror -Wmissing-prototypes -Wmissing-declarations -fomit-frame-pointer -O6 $(DEBUG) $(INCLUDE) -D_REENTRANT
CFLAGS+=$(shell if $(CC) -march=$(PROC) -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-march=$(PROC)"; fi)
+CFLAGS += -DDO_CRASH
SUBDIRS=channels pbx apps codecs formats
-LIBS=-ldl -lpthread -lreadline -lncurses # -lefence
-OBJS=io.o sched.o logger.o frame.o loader.o config.o channel.o translate.o file.o say.o pbx.o cli.o md5.o asterisk.o
+LIBS=-ldl -lpthread -lreadline -lncurses -lm # -lefence
+OBJS=io.o sched.o logger.o frame.o loader.o config.o channel.o \
+ translate.o file.o say.o pbx.o cli.o md5.o \
+ ulaw.o callerid.o fskmodem.o asterisk.o
CC=gcc
INSTALL=install
@@ -58,11 +61,10 @@ datafiles: all
for x in sounds/digits/*; do \
install $$x /var/lib/asterisk/sounds/digits ; \
done
- for x in sounds/vm-* sounds/transfer* ; do \
+ for x in sounds/vm-* sounds/transfer* sounds/pbx-* sounds/ss-*; do \
install $$x /var/lib/asterisk/sounds ; \
done
-
-install: all
+install: all datafiles
mkdir -p $(MODULES_DIR)
for x in $(SUBDIRS); do $(MAKE) -C $$x install || exit 1 ; done
install -d /usr/include/asterisk