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_1_la_SOURCES += ykpers-1.pc.in
libykpers_1_la_LIBADD = $(LTLIBYUBIKEY) ./ykcore/libykcore.la
libykpers_1_la_LDFLAGS = -no-undefined \
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = ykpers-1.pc
+
# The command line tools.
bin_PROGRAMS = ykpersonalize
`m:'.
** Make it possible to program the second configuration.
-Added the two flags -1 and -2 to ykpersonalize.
+Added the two flags -1 and -2 to ykpersonalize. This is to support
+the YubiKey II.
** Have ykpersonalize show the new configuration and prompt.
This makes it possible for the user to prevent incorrect configurations.
+** Rename installed library to "libykpers-1" and place
+** installed header files in sub-directory ykpers-1/.
+From now on we promise to retain API and ABI under this name forever.
+The shared library will be installed as /usr/lib/libykpers-1.so and
+the header files into /usr/include/ykpers-1/. If there is ever an
+incompatible API or ABI change in the future, it will be released as a
+a new library libykpers-2 with header files in ykpers-2/.
+
+** Add pkg-config script "ykpers-1".
+To learn which flags to build the applications that uses the library,
+use "pkg-config --cflags --libs ykpers-1".
+
* Version 0.95 (released 2009-08-17)
** Enable handling of programming access code.
--- /dev/null
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: Libykpers
+Description: Personalization library for the YubiKey
+URL: http://www.yubico.com/
+Version: @VERSION@
+Libs: -L${libdir} -lykpers-1
+Cflags: -I${includedir}/ykpers-1