aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
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)