Module: kamailio
Branch: master
Commit: df9479643d43adf7a657a6b39371142d1d8a702e
URL:
https://github.com/kamailio/kamailio/commit/df9479643d43adf7a657a6b39371142…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-07-06T15:15:05+02:00
Makefile.defs: renamed define name SER_VER to VERSIONVAL
- the value is the number computed by the rule:
$(VERSION) * 1000000 + $(PATCHLEVEL) * 1000 + $(SUBLEVEL)
Example: for kamailio 5.1.4, that is 5001004
---
Modified: src/Makefile.defs
---
Diff:
https://github.com/kamailio/kamailio/commit/df9479643d43adf7a657a6b39371142…
Patch:
https://github.com/kamailio/kamailio/commit/df9479643d43adf7a657a6b39371142…
---
diff --git a/src/Makefile.defs b/src/Makefile.defs
index 8e76de7687..a114c8ae0f 100644
--- a/src/Makefile.defs
+++ b/src/Makefile.defs
@@ -119,7 +119,7 @@ MEMMNG ?= 0
# 1 - on (debug mode)
MEMDBG ?= 1
-SER_VER = $(shell expr $(VERSION) \* 1000000 + $(PATCHLEVEL) \* 1000 + \
+VERSIONVAL = $(shell expr $(VERSION) \* 1000000 + $(PATCHLEVEL) \* 1000 + \
$(SUBLEVEL) )
RELEASE:=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
OS := $(shell uname -s | sed -e s/SunOS/solaris/ -e s/CYGWIN.*/cygwin/ \
@@ -653,7 +653,7 @@ C_DEFS= $(extra_defs) \
-DNAME='"$(MAIN_NAME)"' -DVERSION='"$(RELEASE)"'
-DARCH='"$(ARCH)"' \
-DOS='$(OS)_' -DOS_QUOTED='"$(OS)"'
-DCOMPILER='"$(CC_VER)"'\
-D__CPU_$(ARCH) $(os_defs) \
- -DSER_VER=$(SER_VER) \
+ -DVERSIONVAL=$(VERSIONVAL) \
-DCFG_DIR='"$(cfg_target)"'\
-DRUN_DIR='"$(run_target)"'