Skip to contentSkip to conversation

library soname versions

PATCH In review Ian Jackson 2 participants 2 messages Dec 7, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 library soname versions

The attached patch:
* Arranges for the sonames of libxenstore, libxc and libblktap to be set from a single place in Config.mk.
* Bumps the soname major version number to 3.2 in preparation for 3.2 rc1 after which we do not expect to have ABI changes.

I have not done anything about libaio, libfsimage and libflask. The former two are from important elsewhere and if we're lucky will have sane versioning upstream.

libflask has a very small interface and I'm hoping that the XSM authors have been keeping some ABI discipline.

Config.mk +3 -0
diff -r c0f7ba3aa9b2 Config.mk
@@ -12,6 +12,9 @@ ifeq ($(XEN_TARGET_ARCH),x86_32)
 ifeq ($(XEN_TARGET_ARCH),x86_32)
 XEN_TARGET_X86_PAE  ?= y
 endif
+
+LIBRARIES_VERSION_MAJOR = 3.2
+LIBRARIES_VERSION_MINOR = 0
 
 CONFIG_$(XEN_OS) := y
 
tools/blktap/lib/Makefile +2 -2
diff -r c0f7ba3aa9b2 tools/blktap/lib/Makefile
@@ -1,8 +1,8 @@ XEN_ROOT = ../../..
 XEN_ROOT = ../../..
 include $(XEN_ROOT)/tools/Rules.mk
 
-MAJOR    = 3.0
-MINOR    = 0
+MAJOR = $(LIBRARIES_VERSION_MAJOR)
+MINOR = $(LIBRARIES_VERSION_MINOR)
 SONAME   = libblktap.so.$(MAJOR)
 
 BLKTAP_INSTALL_DIR = /usr/sbin
tools/libxc/Makefile +2 -2
diff -r c0f7ba3aa9b2 tools/libxc/Makefile
@@ -1,8 +1,8 @@ XEN_ROOT = ../..
 XEN_ROOT = ../..
 include $(XEN_ROOT)/tools/Rules.mk
 
-MAJOR    = 3.1
-MINOR    = 0
+MAJOR = $(LIBRARIES_VERSION_MAJOR)
+MINOR = $(LIBRARIES_VERSION_MINOR)
 
 CTRL_SRCS-y       :=
 CTRL_SRCS-y       += xc_core.c
tools/xenstore/Makefile +2 -2
diff -r c0f7ba3aa9b2 tools/xenstore/Makefile
@@ -2,8 +2,8 @@ include $(XEN_ROOT)/tools/Rules.mk
 include $(XEN_ROOT)/tools/Rules.mk
 XEN_LIBXC          = $(XEN_ROOT)/tools/libxc
 
-MAJOR = 3.0
-MINOR = 0
+MAJOR = $(LIBRARIES_VERSION_MAJOR)
+MINOR = $(LIBRARIES_VERSION_MINOR)
 
 PROFILE=#-pg
 BASECFLAGS=-Werror

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw
Quoted 3 lines · Ian Jackson

I have not done anything about libaio, libfsimage and libflask. The former two are from important elsewhere and if we're lucky will have sane versioning upstream.

Actually, libfsimage's canonical location is in the Xen sources (though I'd prefer it to be elsewhere).

regards
john