From 9435d29596b00e0b085170c5fbf8706008b60c00 Mon Sep 17 00:00:00 2001 From: Martin Reinecke Date: Mon, 4 Mar 2019 09:54:38 +0100 Subject: [PATCH] add library versioning --- Makefile.am | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Makefile.am b/Makefile.am index 94ded11..4eb08c6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -16,6 +16,14 @@ libsharp_la_SOURCES = \ libsharp/sharp_vecsupport.h \ libsharp/sharp_ylmgen_c.h +# format is "current:revision:age" +# any change: increase revision +# any interface change: increase current, revision=0 +# any backward-compatible change: increase age +# any backward-incompatible change: age=0 +# ==> age <= current +libsharp_la_LDFLAGS = -version-info 0:0:0 + AM_CFLAGS = @AM_CFLAGS@ if HAVE_MULTIARCH