d9898ee8 |
1 | # |
2 | # Copyright 1998 - 2005 Double Precision, Inc. See COPYING for |
3 | # distribution information. |
4 | |
d9898ee8 |
5 | |
6 | noinst_LTLIBRARIES=libhmac.la |
7 | |
8 | libhmac_la_SOURCES=hmac.c hmac.h |
9 | |
10 | noinst_PROGRAMS= @TESTPROGS@ |
11 | |
12 | EXTRA_PROGRAMS=md5hmactest sha1hmactest |
13 | |
14 | md5hmactest_SOURCES=md5hmactest.c |
15 | md5hmactest_DEPENDENCIES=libhmac.la @hashlibs@ |
16 | md5hmactest_LDADD=$(md5hmactest_DEPENDENCIES) |
17 | md5hmactest_LDFLAGS=-static |
18 | |
19 | sha1hmactest_SOURCES=sha1hmactest.c |
20 | sha1hmactest_DEPENDENCIES=libhmac.la @hashlibs@ |
21 | sha1hmactest_LDADD=$(sha1hmactest_DEPENDENCIES) |
22 | sha1hmactest_LDFLAGS=-static |
23 | |
24 | EXTRA_DIST=md5hmactest.txt sha1hmactest.txt |
25 | |
26 | check-am: |
27 | test ! -x ./md5hmactest || ./md5hmactest | cmp -s - $(srcdir)/md5hmactest.txt |
28 | test ! -x ./sha1hmactest || ./sha1hmactest | cmp -s - $(srcdir)/sha1hmactest.txt |