summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2021-01-07 10:26:12 -0800
committerLucas De Marchi <lucas.demarchi@intel.com>2021-01-07 10:27:49 -0800
commitd977b0daf4e75528b90a8398949ab6aaf5ed5160 (patch)
treeb4dfd6f76905331f3c9d877ec080448043a2a358
parentd83f488c6028cceed1671399dd63e5b3e89c2962 (diff)
downloadkmod-d977b0daf4e75528b90a8398949ab6aaf5ed5160.tar.gz
kmod-d977b0daf4e75528b90a8398949ab6aaf5ed5160.tar.bz2
kmod-d977b0daf4e75528b90a8398949ab6aaf5ed5160.zip
build: add comment with rules for libtool version update
-rw-r--r--Makefile.am13
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index c2fac72..99a69f6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -44,6 +44,19 @@ SED_PROCESS = \
%.pc: %.pc.in Makefile
$(SED_PROCESS)
+# Rules for libtool versioning (from https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html)
+# 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 or changed since the last public
+# release, then set age to 0.
LIBKMOD_CURRENT=5
LIBKMOD_REVISION=5
LIBKMOD_AGE=3