summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-07-17 00:41:22 -0300
committerMarcel Holtmann <marcel@holtmann.org>2012-07-29 20:01:50 -0700
commitb6cdb2965ab268421a552e9bea8ef70d9bad9fea (patch)
tree2e23d2c9c93c96d9190455656c09b5c80108edf1
parent868f67dedba07e7e42bf02704eed3a797dfadabc (diff)
downloadsbc-b6cdb2965ab268421a552e9bea8ef70d9bad9fea.tar.gz
build: Add library version information
-rw-r--r--Makefile.am12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 0a4916f..dabc6c8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,15 @@
AM_MAKEFLAGS = --no-print-directory
+# Library code modified: REVISION++
+# Interfaces changed: CURRENT++ REVISION=0
+# Interfaces added: CURRENT++ REVISION=0 AGE++
+# Interfaces removed: CURRENT++ REVISION=0 AGE=0
+
+SBC_CURRENT = 0
+SBC_REVISION = 0
+SBC_AGE = 0
+
sbc_headers = sbc/sbc.h
sbc_sources = sbc/sbc.c sbc/sbc_private.h sbc/sbc_math.h sbc/sbc_tables.h \
@@ -16,6 +25,9 @@ lib_LTLIBRARIES = sbc/libsbc.la
sbc_libsbc_la_SOURCES = $(sbc_headers) $(sbc_sources)
+sbc_libsbc_la_LDFLAGS = -no-undefined \
+ -version-info $(SBC_CURRENT):$(SBC_REVISION):$(SBC_AGE)
+
if TOOLS
noinst_LTLIBRARIES = sbc/libsbc-private.la