From 4854940d6f89620f98a0414969bfe52cd07bf66c Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Thu, 18 Feb 2016 12:43:27 +0300 Subject: 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 Signed-off-by: Pavel Emelyanov --- lib/Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'lib/Makefile') 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, $@) -- cgit v1.2.3