diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2010-07-15 11:05:23 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2010-07-15 11:05:23 +0200 |
commit | 2bc90fa35cfacba627b901041289c2d640f652e1 (patch) | |
tree | 767a97921ebc5019ea7f3d76884f9bc2a320ff1f | |
parent | 56d5d732b987d8584b2b49943cdd7d8c2376804f (diff) |
build: add LIBVERSION to Makefile.am
This patch adds LIBVERSION to keep tracking of the library API versioning.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
-rw-r--r-- | Makefile.am | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 348cfc6..26660ef 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,3 +1,25 @@ +# This is _NOT_ the library release version, it's an API version. +# Extracted from Chapter 6 "Library interface versions" of the libtool docs. +# +# <snippet> +# Here are a set of rules to help you update your library version information: +# +# 1. Start with version information of `0:0:0' for each libtool library. +# 2. Update the version information only immediately before a public release +# of your software. More frequent updates are unnecessary, and only guarantee +# that the current interface number gets larger faster. +# 3. If the library source code has changed at all since the last update, +# then increment revision (`c:r:a' becomes `c:r+1:a'). +# 4. If any interfaces have been added, removed, or changed since the last +# update, increment current, and set revision to 0. +# 5. If any interfaces have been added since the last public release, then +# increment age. +# 6. If any interfaces have been removed since the last public release, then +# set age to 0. +# </snippet> +# +LIBVERSION=1:0:1 + AUTOMAKE_OPTIONS = foreign dist-bzip2 1.6 INCLUDES =$(all_includes) -I$(top_srcdir)/include |