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 /lib/Makefile
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 'lib/Makefile')
-rw-r--r--lib/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 3c0decbe0..03229be98 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -1,9 +1,6 @@
include $(__nmk_dir)/include.mk
include $(__nmk_dir)/macro.mk
-VERSION_SO_MAJOR := 1
-VERSION_SO_MINOR := 0
-
CRIU_SO := libcriu.so
#
@@ -15,7 +12,7 @@ c/built-in.o:
$(call msg-gen, $@)
$(Q) $(MAKE) $(build)=c all
-cflags-so += $(CFLAGS) -rdynamic -Wl,-soname,$(lib-so).so.$(VERSION_SO_MAJOR)
+cflags-so += $(CFLAGS) -rdynamic -Wl,-soname,$(lib-so).so.$(CRIU_SO_VERSION_MAJOR)
ldflags-so += -lprotobuf-c
c/$(CRIU_SO): c/built-in.o
$(call msg-link, $@)