Module: kamailio
Branch: master
Commit: 1774cee6209807504a33d864e595fc9ef7350f98
URL: 
https://github.com/kamailio/kamailio/commit/1774cee6209807504a33d864e595fc9ef7350f98

Author: Daniel-Constantin Mierla <mico...@gmail.com>
Committer: Daniel-Constantin Mierla <mico...@gmail.com>
Date: 2016-12-12T12:57:54+01:00

kamcmd: allow defining the name of the application from command line

cd utils/kamcmd/
make NAME=mykamcmd ...

---

Modified: utils/kamcmd/Makefile

---

Diff:  
https://github.com/kamailio/kamailio/commit/1774cee6209807504a33d864e595fc9ef7350f98.diff
Patch: 
https://github.com/kamailio/kamailio/commit/1774cee6209807504a33d864e595fc9ef7350f98.patch

---

diff --git a/utils/kamcmd/Makefile b/utils/kamcmd/Makefile
index 424ed46..4dc4674 100644
--- a/utils/kamcmd/Makefile
+++ b/utils/kamcmd/Makefile
@@ -1,4 +1,6 @@
-# $Id$
+#
+#
+
 COREPATH=../../src/
 include $(COREPATH)/Makefile.defs
 include $(COREPATH)/Makefile.targets
@@ -7,9 +9,9 @@ auto_gen=
 RELEASE=0.2
 UTIL_SRC_NAME=kamcmd
 ifeq ($(FLAVOUR),ser)
-       NAME=sercmd
+       NAME?=sercmd
 else
-       NAME=kamcmd
+       NAME?=kamcmd
 endif
 
 readline_locations= /usr/include/readline/readline.h \


_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to