aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authormartinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b>2003-08-05 01:25:43 +0000
committermartinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b>2003-08-05 01:25:43 +0000
commitcdf786eef5325bef38b468ceab52adf257d4d840 (patch)
tree08cc87dde65aae7dfcb9a521d276b7f670f76afa /Makefile
parentdccb0f55b7f4591afa557ddf4d86b0989f3086e5 (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-xMakefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c515dd655..0c5359812 100755
--- a/Makefile
+++ b/Makefile
@@ -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)