mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 11:58:52 +00:00
Version 0.1.7 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@261 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
14
Makefile
14
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
|
||||
|
Reference in New Issue
Block a user