[sr-dev] git:master:1774cee6: kamcmd: allow defining the name of the application from command line

Daniel-Constantin Mierla miconda at gmail.com
Mon Dec 12 12:58:48 CET 2016


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at 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 \




More information about the sr-dev mailing list