Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: compudj@krystal.dyndns.org (Mathieu Desnoyers)
Subject: [ltt-dev] [URCU Patch] Add library version information
Date: Fri, 10 Jun 2011 11:35:03 -0400	[thread overview]
Message-ID: <BLU0-SMTP95E6C8A3231ADBE9AB709996640@phx.gbl> (raw)
In-Reply-To: <1307713669-21887-1-git-send-email-yannick.brosseau@gmail.com>

* Yannick Brosseau (yannick.brosseau at gmail.com) wrote:
> Following the guidelines from libtool (http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.htm)
> this patch add version information to the distributed libraries.
> For the next release, the version will be 1:0:0.
> It will need to be updated before each release.

Merged, thanks!

Mathieu

> 
> Signed-off-by: Yannick Brosseau <yannick.brosseau at gmail.com>
> ---
>  Makefile.am  |    6 ++++++
>  configure.ac |    5 +++++
>  2 files changed, 11 insertions(+), 0 deletions(-)
> 
> diff --git a/Makefile.am b/Makefile.am
> index f39fdea..c92426b 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -34,28 +34,34 @@ lib_LTLIBRARIES = liburcu-cds.la liburcu.la liburcu-qsbr.la \
>  
>  liburcu_cds_la_SOURCES = wfqueue.c wfstack.c rculfqueue.c rculfstack.c \
>  			$(COMPAT)
> +liburcu_cds_la_LDFLAGS = -version-info $(URCU_LIBRARY_VERSION)
>  
>  liburcu_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
>  liburcu_la_LIBADD = -lurcu-cds
>  liburcu_la_DEPENDENCIES = liburcu-cds.la
> +liburcu_la_LDFLAGS = -version-info $(URCU_LIBRARY_VERSION)
>  
>  liburcu_qsbr_la_SOURCES = urcu-qsbr.c urcu-pointer.c $(COMPAT)
>  liburcu_qsbr_la_LIBADD = -lurcu-cds
>  liburcu_qsbr_la_DEPENDENCIES = liburcu-cds.la
> +liburcu_qsbr_la_LDFLAGS = -version-info $(URCU_LIBRARY_VERSION)
>  
>  liburcu_mb_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
>  liburcu_mb_la_CFLAGS = -DRCU_MB
>  liburcu_mb_la_LIBADD = -lurcu-cds
>  liburcu_mb_la_DEPENDENCIES = liburcu-cds.la
> +liburcu_mb_la_LDFLAGS = -version-info $(URCU_LIBRARY_VERSION)
>  
>  liburcu_signal_la_SOURCES = urcu.c urcu-pointer.c $(COMPAT)
>  liburcu_signal_la_CFLAGS = -DRCU_SIGNAL
>  liburcu_signal_la_LIBADD = -lurcu-cds
>  liburcu_signal_la_DEPENDENCIES = liburcu-cds.la
> +liburcu_signal_la_LDFLAGS = -version-info $(URCU_LIBRARY_VERSION)
>  
>  liburcu_bp_la_SOURCES = urcu-bp.c urcu-pointer.c $(COMPAT)
>  liburcu_bp_la_LIBADD = -lurcu-cds
>  liburcu_bp_la_DEPENDENCIES = liburcu-cds.la
> +liburcu_bp_la_LDFLAGS = -version-info $(URCU_LIBRARY_VERSION)
>  
>  pkgconfigdir = $(libdir)/pkgconfig
>  pkgconfig_DATA = liburcu.pc liburcu-bp.pc liburcu-qsbr.pc \
> diff --git a/configure.ac b/configure.ac
> index 6b8a35a..179cb7d 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -3,6 +3,11 @@
>  
>  
>  AC_INIT([userspace-rcu], [0.5.4], [mathieu dot desnoyers at efficios dot com])
> +
> +# Following the numbering scheme proposed by libtool for the library version
> +# http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
> +AC_SUBST([URCU_LIBRARY_VERSION], [1:0:0])
> +
>  AC_CONFIG_AUX_DIR([config])
>  AC_CANONICAL_TARGET
>  AC_CANONICAL_HOST
> -- 
> 1.7.2.3
> 
> 
> _______________________________________________
> ltt-dev mailing list
> ltt-dev at lists.casi.polymtl.ca
> http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
> 

-- 
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com




      reply	other threads:[~2011-06-10 15:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-10 13:47 Yannick Brosseau
2011-06-10 15:35 ` Mathieu Desnoyers [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BLU0-SMTP95E6C8A3231ADBE9AB709996640@phx.gbl \
    --to=compudj@krystal.dyndns.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox