# 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.
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)