Jelajahi Sumber

makefile: for kamailio flavour define AS support

- needed by seas module
Daniel-Constantin Mierla 15 tahun lalu
induk
melakukan
f821c005ab
1 mengubah file dengan 5 tambahan dan 0 penghapusan
  1. 5 0
      Makefile.defs

+ 5 - 0
Makefile.defs

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