diff options
author | martinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-08-05 01:25:43 +0000 |
---|---|---|
committer | martinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-08-05 01:25:43 +0000 |
commit | cdf786eef5325bef38b468ceab52adf257d4d840 (patch) | |
tree | 08cc87dde65aae7dfcb9a521d276b7f670f76afa /Makefile | |
parent | dccb0f55b7f4591afa557ddf4d86b0989f3086e5 (diff) |
Fix and improve the new pri hangup routines
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1262 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'Makefile')
-rwxr-xr-x | Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -13,6 +13,9 @@ .EXPORT_ALL_VARIABLES: +# Create OPTIONS variable +OPTIONS= + OSARCH=$(shell uname -s) ifeq (${OSARCH},Linux) @@ -41,6 +44,11 @@ OPTIMIZE=-O6 #Include debug symbols in the executables (-g) and profiling info (-pg) DEBUG=-g #-pg +# New hangup routines for chan_zap.c +# If this flag is uncommented then you need to have new libpri code in your system +# You can still use the old libpri if you do "cvs update -D "08/03/03" in libpri source code +OPTIONS += -DNEW_PRI_HANGUP + # Optional debugging parameters DEBUG_THREADS = #-DDO_CRASH -DDEBUG_THREADS @@ -117,6 +125,7 @@ CFLAGS+= $(DEBUG_THREADS) CFLAGS+= $(TRACE_FRAMES) CFLAGS+= $(MALLOC_DEBUG) CFLAGS+= $(BUSYDETECT) +CFLAGS+= $(OPTIONS) CFLAGS+=# -fomit-frame-pointer SUBDIRS=res channels pbx apps codecs formats agi cdr astman ifeq (${OSARCH},Linux) |