diff options
author | Ted Gould <ted@canonical.com> | 2009-01-07 21:01:44 -0600 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-01-07 21:01:44 -0600 |
commit | d505bedae46aed1e835aaa322d685a5b497d585c (patch) | |
tree | 223d5a927c063fa572d28f7b2dfc73bc29bfa732 | |
parent | 9389a6a60d0439f659348da14c2b5ad861a1e345 (diff) | |
download | libayatana-indicator-d505bedae46aed1e835aaa322d685a5b497d585c.tar.gz libayatana-indicator-d505bedae46aed1e835aaa322d685a5b497d585c.tar.bz2 libayatana-indicator-d505bedae46aed1e835aaa322d685a5b497d585c.zip |
Setting up version of the libraries.
-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 "^[^_].*" |