From: Mathieu Desnoyers Date: Thu, 20 Dec 2012 17:32:15 +0000 (-0500) Subject: Bump liblttng-ust-ctl lib version major number X-Git-Tag: v2.1.0~1 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=41a2a9aa8dec91b2173982bdedee59d3635e48c2;p=lttng-ust.git Bump liblttng-ust-ctl lib version major number This internal library between ust and tools has had its ABI changed between 2.0 and 2.1. Signed-off-by: Mathieu Desnoyers --- diff --git a/configure.ac b/configure.ac index 696a64e2..0066a667 100644 --- a/configure.ac +++ b/configure.ac @@ -5,10 +5,15 @@ AC_INIT([lttng-ust],[2.1.0-rc2],[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 +# This is the library version of liblttng-ust. AC_SUBST([LTTNG_UST_LIBRARY_VERSION], [0:0:0]) # note: remember to update tracepoint.h dlopen() to match this version # number. TODO: eventually automate by exporting the major number. +# This is the library version of liblttng-ust-ctl, used internally by +# liblttng-ust, lttng-sessiond, and lttng-consumerd. +AC_SUBST([LTTNG_UST_CTL_LIBRARY_VERSION], [1:0:0]) + AC_CONFIG_AUX_DIR([config]) AC_CANONICAL_TARGET AC_CANONICAL_HOST diff --git a/liblttng-ust-ctl/Makefile.am b/liblttng-ust-ctl/Makefile.am index 1a57fef8..42aee699 100644 --- a/liblttng-ust-ctl/Makefile.am +++ b/liblttng-ust-ctl/Makefile.am @@ -4,6 +4,8 @@ AM_CFLAGS = -fno-strict-aliasing lib_LTLIBRARIES = liblttng-ust-ctl.la liblttng_ust_ctl_la_SOURCES = ustctl.c +liblttng_ust_ctl_la_LDFLAGS = \ + -version-info $(LTTNG_UST_CTL_LIBRARY_VERSION) liblttng_ust_ctl_la_LIBADD = \ $(top_builddir)/liblttng-ust-comm/liblttng-ust-comm.la \