From d7a41af82b7e99254ba08c60c3930d128e38c60f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Juho=20Va=CC=88ha=CC=88-Herttua?= Date: Sun, 31 Mar 2013 23:00:46 +0300 Subject: [PATCH] Add libtool versioning rules to relevant Makefile.am --- src/lib/Makefile.am | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am index 03d7020..0046228 100644 --- a/src/lib/Makefile.am +++ b/src/lib/Makefile.am @@ -9,6 +9,21 @@ libshairplay_la_SOURCES = base64.c base64.h digest.c digest.h dnssd.c dnssdint.h libshairplay_la_LIBADD = crypto/libcrypto.la alac/libalac.la libshairplay_la_LDFLAGS = -version-info 0:0:0 +### Update -version-info above with the following rules +# 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. +### + libshairplay_la_LIBADD += $(LIBADD_DLOPEN) libshairplay_la_LIBADD += $(LIBM) -- 2.34.1