aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Łyszczek <michal.lyszczek@bofc.pl>2020-05-29 18:54:54 +0200
committerMichał Łyszczek <michal.lyszczek@bofc.pl>2020-05-29 18:54:54 +0200
commita6baef252e29df8382a00efa8418f07549079e80 (patch)
tree217bb85e06c373e5e2d0808d6a3d5d2e7d1d7b30
parent94b5c33f511a952fbb8da907351a17f136d8a296 (diff)
downloadembedlog-a6baef252e29df8382a00efa8418f07549079e80.tar.gz
embedlog-a6baef252e29df8382a00efa8418f07549079e80.tar.bz2
embedlog-a6baef252e29df8382a00efa8418f07549079e80.zip
src/Makefile.am: add nice libtool version description
Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl>
-rw-r--r--src/Makefile.am12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index b446fba..3a03616 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -32,7 +32,17 @@ libembedlog_la_SOURCES = $(embedlog_sources)
libembedlog_la_SOURCES += el-private.h \
el-utils.h \
valid.h
-libembedlog_la_LDFLAGS = -version-info 9999:0:0
+LIBRARY_VERSION=9999:0:0
+# .------' | `---.
+# current:revision:age
+# | | `- increment if interfaces have been added
+# | | set to zero if interfaces have been removed
+# | | or changed
+# | `- increment if source code has changed
+# | set to zero if current is incremented
+# `- increment if interfaces have been added, removed or changed
+libembedlog_la_LDFLAGS = -version-info $(LIBRARY_VERSION)
+
libembedlog_la_CFLAGS = -I$(top_builddir)/include
# static code analyzer