]> err.no Git - yubikey-personalization.old/commitdiff
Improve versioning.
authorSimon Josefsson <simon@josefsson.org>
Thu, 27 Aug 2009 13:56:11 +0000 (13:56 +0000)
committerSimon Josefsson <simon@josefsson.org>
Thu, 27 Aug 2009 13:56:11 +0000 (13:56 +0000)
Makefile.am
configure.ac

index d1555f32a3b80376d6241dec2f90eeba7bf33cb0..806f56005e1ebc8728a78594f9ae9e5dc8c85bfe 100644 (file)
@@ -36,15 +36,16 @@ AM_CPPFLAGS = -I$(srcdir)/ykcore -I$(srcdir)/rfc4634
 
 # The library.
 
-include_HEADERS = ykpers.h ykcore/ykstatus.h ykcore/ykcore.h
+ykpers_includedir=$(includedir)/ykpers-1
+ykpers_include_HEADERS = ykpers.h ykcore/ykstatus.h ykcore/ykcore.h
 
-lib_LTLIBRARIES = libykpers.la
-libykpers_la_SOURCES = ykpers.c ykpbkdf2.h ykpbkdf2.c
-libykpers_la_SOURCES += rfc4634/hmac.c rfc4634/usha.c rfc4634/sha.h    \
+lib_LTLIBRARIES = libykpers-1.la
+libykpers_1_la_SOURCES = ykpers.c ykpbkdf2.h ykpbkdf2.c
+libykpers_1_la_SOURCES += rfc4634/hmac.c rfc4634/usha.c rfc4634/sha.h  \
        rfc4634/sha1.c rfc4634/sha224-256.c rfc4634/sha384-512.c        \
        rfc4634/sha-private.h
-libykpers_la_LIBADD = $(LTLIBYUBIKEY) ./ykcore/libykcore.la
-libykpers_la_LDFLAGS = -no-undefined \
+libykpers_1_la_LIBADD = $(LTLIBYUBIKEY) ./ykcore/libykcore.la
+libykpers_1_la_LDFLAGS = -no-undefined \
        -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
 
 # The command line tools.
@@ -52,14 +53,14 @@ libykpers_la_LDFLAGS = -no-undefined \
 bin_PROGRAMS = ykpersonalize
 
 ykpersonalize_SOURCES = ykpersonalize.c
-ykpersonalize_LDADD = ./libykpers.la ./ykcore/libykcore.la
+ykpersonalize_LDADD = ./libykpers-1.la ./ykcore/libykcore.la
 
 dist_man1_MANS = ykpersonalize.1
 
 # Self tests.
 
 AM_LDFLAGS = -no-install
-LDADD = ./libykpers.la
+LDADD = ./libykpers-1.la
 
 ctests = selftest$(EXEEXT)
 check_PROGRAMS = $(ctests)
index 7f3aba17cd62519fe8aec39a7164ce8c0966ad8e..9b8fcdc574c36a51f3aad87da3b7380c5e95239c 100644 (file)
@@ -36,7 +36,7 @@ AC_CONFIG_MACRO_DIR([m4])
 # Interfaces changed/added/removed:   CURRENT++       REVISION=0
 # Interfaces added:                             AGE++
 # Interfaces removed:                           AGE=0
-AC_SUBST(LT_CURRENT, 2)
+AC_SUBST(LT_CURRENT, 1)
 AC_SUBST(LT_REVISION, 0)
 AC_SUBST(LT_AGE, 0)