summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorThomas Graf <tgraf@redhat.com>2011-09-13 20:58:08 (GMT)
committerThomas Graf <tgraf@redhat.com>2011-09-13 20:58:08 (GMT)
commit4c210adcb572d8950fdc6b5135406e06e55f8b56 (patch)
treee4f354d4fdd7462dfa2b21c8833890bd5bb80db8 /include
parenta73cb2f26932d90a2d47a28e9c524e7f33dcffbd (diff)
downloadlibnl-4c210adcb572d8950fdc6b5135406e06e55f8b56.zip
libnl-4c210adcb572d8950fdc6b5135406e06e55f8b56.tar.gz
libnl-4c210adcb572d8950fdc6b5135406e06e55f8b56.tar.bz2
Switch to libtool versioning system
It has been a request that multiple libnl versions should be installabe in parallel. In order to achieve this, the basename of the library was changed to libnl-3 which reflects the 3rd generation of libnl APIs. It also means that release based library versioning is left behind and libtool versioning is used instead. Projects using pkgconfig will automatically link against the new library basename and will not notice a difference. The SO versioning is based on the glib model: current := 100 * minor + micro - revision revision := revision age := age (number of backwards compatible versions)
Diffstat (limited to 'include')
-rw-r--r--include/netlink/version.h.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/netlink/version.h.in b/include/netlink/version.h.in
index 9deb365..4d32dad 100644
--- a/include/netlink/version.h.in
+++ b/include/netlink/version.h.in
@@ -20,4 +20,8 @@
#define LIBNL_VER(maj,min) ((maj) << 8 | (min))
#define LIBNL_VER_NUM LIBNL_VER(LIBNL_VER_MAJ, LIBNL_VER_MIN)
+#define LIBNL_CURRENT @LT_CURRENT@
+#define LIBNL_REVISION @LT_REVISION@
+#define LIBNL_AGE @LT_AGE@
+
#endif