ia64/xen-unstable

changeset 16560:822d4ec5cfb1

tools: Rationalise library soname versions.

* Arrange for the sonames of libxenstore, libxc, libfsimage 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 and libflask. The former is
imported from 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.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Fri Dec 07 14:44:13 2007 +0000 (2007-12-07)
parents 98e9485d8fcf
children a74efcdc87b3
files Config.mk tools/blktap/lib/Makefile tools/libfsimage/common/Makefile tools/libxc/Makefile tools/xenstore/Makefile
line diff
     1.1 --- a/Config.mk	Fri Dec 07 14:28:07 2007 +0000
     1.2 +++ b/Config.mk	Fri Dec 07 14:44:13 2007 +0000
     1.3 @@ -13,6 +13,9 @@ ifeq ($(XEN_TARGET_ARCH),x86_32)
     1.4  XEN_TARGET_X86_PAE  ?= y
     1.5  endif
     1.6  
     1.7 +LIBRARIES_VERSION_MAJOR = 3.2
     1.8 +LIBRARIES_VERSION_MINOR = 0
     1.9 +
    1.10  CONFIG_$(XEN_OS) := y
    1.11  
    1.12  SHELL     ?= /bin/sh
     2.1 --- a/tools/blktap/lib/Makefile	Fri Dec 07 14:28:07 2007 +0000
     2.2 +++ b/tools/blktap/lib/Makefile	Fri Dec 07 14:44:13 2007 +0000
     2.3 @@ -1,8 +1,8 @@
     2.4  XEN_ROOT = ../../..
     2.5  include $(XEN_ROOT)/tools/Rules.mk
     2.6  
     2.7 -MAJOR    = 3.0
     2.8 -MINOR    = 0
     2.9 +MAJOR = $(LIBRARIES_VERSION_MAJOR)
    2.10 +MINOR = $(LIBRARIES_VERSION_MINOR)
    2.11  SONAME   = libblktap.so.$(MAJOR)
    2.12  
    2.13  BLKTAP_INSTALL_DIR = /usr/sbin
     3.1 --- a/tools/libfsimage/common/Makefile	Fri Dec 07 14:28:07 2007 +0000
     3.2 +++ b/tools/libfsimage/common/Makefile	Fri Dec 07 14:44:13 2007 +0000
     3.3 @@ -1,8 +1,8 @@
     3.4  XEN_ROOT = ../../..
     3.5  include $(XEN_ROOT)/tools/Rules.mk
     3.6  
     3.7 -MAJOR = 1.0
     3.8 -MINOR = 0
     3.9 +MAJOR = $(LIBRARIES_VERSION_MAJOR)
    3.10 +MINOR = $(LIBRARIES_VERSION_MINOR)
    3.11  
    3.12  CFLAGS += -Werror -Wp,-MD,.$(@F).d
    3.13  DEPS = .*.d
     4.1 --- a/tools/libxc/Makefile	Fri Dec 07 14:28:07 2007 +0000
     4.2 +++ b/tools/libxc/Makefile	Fri Dec 07 14:44:13 2007 +0000
     4.3 @@ -1,8 +1,8 @@
     4.4  XEN_ROOT = ../..
     4.5  include $(XEN_ROOT)/tools/Rules.mk
     4.6  
     4.7 -MAJOR    = 3.1
     4.8 -MINOR    = 0
     4.9 +MAJOR = $(LIBRARIES_VERSION_MAJOR)
    4.10 +MINOR = $(LIBRARIES_VERSION_MINOR)
    4.11  
    4.12  CTRL_SRCS-y       :=
    4.13  CTRL_SRCS-y       += xc_core.c
     5.1 --- a/tools/xenstore/Makefile	Fri Dec 07 14:28:07 2007 +0000
     5.2 +++ b/tools/xenstore/Makefile	Fri Dec 07 14:44:13 2007 +0000
     5.3 @@ -2,8 +2,8 @@ XEN_ROOT=../..
     5.4  include $(XEN_ROOT)/tools/Rules.mk
     5.5  XEN_LIBXC          = $(XEN_ROOT)/tools/libxc
     5.6  
     5.7 -MAJOR = 3.0
     5.8 -MINOR = 0
     5.9 +MAJOR = $(LIBRARIES_VERSION_MAJOR)
    5.10 +MINOR = $(LIBRARIES_VERSION_MINOR)
    5.11  
    5.12  PROFILE=#-pg
    5.13  BASECFLAGS=-Werror