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