Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/checkpoint-restore/criu.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@openvz.org>2016-02-18 12:43:27 +0300
committerPavel Emelyanov <xemul@virtuozzo.com>2016-02-18 14:15:09 +0300
commit4854940d6f89620f98a0414969bfe52cd07bf66c (patch)
tree115fa1331c867e369d8355c11ac4df799ea9ab48 /Makefile.versions
parent1b4bd2026fa85852e833cf24d0b90862d9af501a (diff)
build: Move versions definitions on top level
- define all versions in Makefile.versions toplevel file - rename CRTOOLSVERSION to CRIU_VERSION (and add CRIU_ prefixes) - rename versions for C librabry Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
Diffstat (limited to 'Makefile.versions')
-rw-r--r--Makefile.versions18
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile.versions b/Makefile.versions
new file mode 100644
index 000000000..6adb38d14
--- /dev/null
+++ b/Makefile.versions
@@ -0,0 +1,18 @@
+#
+# CRIU version.
+CRIU_VERSION_MAJOR := 2
+CRIU_VERSION_MINOR := 0
+CRIU_VERSION_SUBLEVEL :=
+CRIU_VERSION_EXTRA :=
+CRIU_VERSION_NAME :=
+CRIU_VERSION := $(CRIU_VERSION_MAJOR)$(if $(CRIU_VERSION_MINOR),.$(CRIU_VERSION_MINOR))$(if $(CRIU_VERSION_SUBLEVEL),.$(CRIU_VERSION_SUBLEVEL))
+
+export CRIU_VERSION_MAJOR CRIU_VERSION_MINOR CRIU_VERSION_SUBLEVEL
+export CRIU_VERSION_EXTRA CRIU_VERSION_NAME CRIU_VERSION
+
+#
+# C library for CRIU.
+CRIU_SO_VERSION_MAJOR := 1
+CRIU_SO_VERSION_MINOR := 0
+
+export CRIU_SO_VERSION_MAJOR CRIU_SO_VERSION_MINOR