diff options
-rw-r--r-- | configure.ac | 12 | ||||
-rw-r--r-- | libindicate/Makefile.am | 1 |
2 files changed, 13 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 83bcb5c..f50f788 100644 --- a/configure.ac +++ b/configure.ac @@ -19,6 +19,18 @@ AC_SUBST(VERSION) AC_CONFIG_MACRO_DIR([m4]) ########################### +# Libindicate versioning +########################### + +LIBINDICATE_CURRENT=0 +LIBINDICATE_REVISION=1 +LIBINDICATE_AGE=0 + +AC_SUBST(LIBINDICATE_CURRENT) +AC_SUBST(LIBINDICATE_REVISION) +AC_SUBST(LIBINDICATE_AGE) + +########################### # Dependencies ########################### diff --git a/libindicate/Makefile.am b/libindicate/Makefile.am index eec96fc..83e2836 100644 --- a/libindicate/Makefile.am +++ b/libindicate/Makefile.am @@ -27,6 +27,7 @@ libindicate_la_SOURCES = \ indicator.c libindicate_la_LDFLAGS = \ + -version-info $(LIBINDICATE_CURRENT):$(LIBINDICATE_REVISION):$(LIBINDICATE_AGE) \ -no-undefined \ -export-symbols-regex "^[^_].*" |