From: levitte Date: Wed, 1 Oct 2008 10:00:53 +0000 (+0000) Subject: Adapt the Makefile for the latest changes X-Git-Tag: yubikey-personalisation_0.97-1~140 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62b3b3e76d83593c152fc5b0e001bf5a665fbc88;p=yubikey-personalization.old Adapt the Makefile for the latest changes git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@21 b62f149e-849f-11dd-9899-c7ba65f7c4c7 --- diff --git a/Makefile.am b/Makefile.am index e2a1dd2..a361ebf 100644 --- a/Makefile.am +++ b/Makefile.am @@ -36,8 +36,11 @@ SUBDIRS=@subdirs@ # The library. lib_LTLIBRARIES = libykpers.la -libykpers_la_SOURCES = ykpers.h ykpers.c $(COMMON_SOURCES) -libykpers_la_CFLAGS = -I./yubikey-core +libykpers_la_SOURCES = ykpers.h ykpers.c ykpbkdf2.h ykpbkdf2.c \ + rfc4634/hmac.c rfc4634/usha.c rfc4634/sha.h \ + rfc4634/sha1.c rfc4634/sha224-256.c rfc4634/sha384-512.c +libykpers_la_LIBADD = ./yubikey-core/libykcore.a -lusb +libykpers_la_CFLAGS = -I./yubikey-core -I./rfc4634 libykpers_la_LDFLAGS = -no-undefined \ -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) @@ -47,13 +50,12 @@ bin_PROGRAMS = ykpersonalize ykpersonalize_SOURCES = ykpersonalize.c ykpersonalize_CFLAGS = -I./yubikey-core -ykpersonalize_LDFLAGS = -lusb ./yubikey-core/libykcore.a ykpersonalize_LDADD = ./libykpers.la # Self tests. AM_LDFLAGS = -no-install -LDADD = libykpers.la +LDADD = ./libykpers.la check_PROGRAMS = selftest TESTS = $(check_PROGRAMS)