Forráskód Böngészése

makefile: for kamailio flavour define AS support

- needed by seas module
Daniel-Constantin Mierla 15 éve
szülő
commit
f821c005ab
1 módosított fájl, 5 hozzáadás és 0 törlés
  1. 5 0
      Makefile.defs

+ 5 - 0
Makefile.defs

@@ -146,6 +146,8 @@ CFG_NAME=kamailio
 KMSTATS ?= 1
 KMSTATS ?= 1
 # fast malloc statistics on
 # fast malloc statistics on
 FMSTATS ?= 1
 FMSTATS ?= 1
+# application server support on
+WITHAS ?= 1
 else # default:
 else # default:
 # main binary name
 # main binary name
 MAIN_NAME=sip-router
 MAIN_NAME=sip-router
@@ -699,6 +701,9 @@ endif
 ifeq ($(FMSTATS), 1)
 ifeq ($(FMSTATS), 1)
 	C_DEFS+= -DMALLOC_STATS
 	C_DEFS+= -DMALLOC_STATS
 endif
 endif
+ifeq ($(WITHAS), 1)
+	C_DEFS+= -DWITH_AS_SUPPORT
+endif
 
 
 ifneq ($(STUN),)
 ifneq ($(STUN),)
 	C_DEFS+= -DUSE_STUN
 	C_DEFS+= -DUSE_STUN