File: Makefile.am

package info (click to toggle)
cone 0.75-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 31,040 kB
  • ctags: 13,930
  • sloc: ansic: 90,648; cpp: 79,781; sh: 18,355; perl: 3,218; makefile: 1,611; yacc: 289; sed: 16
file content (28 lines) | stat: -rw-r--r-- 550 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#
# Copyright 2001-2005 Double Precision, Inc.
# See COPYING for distribution information.
#
# $Id: Makefile.am,v 1.8 2007/06/30 15:40:53 mrsam Exp $


if HMACC
HMAC=hmac.c
else
HMAC=
endif

noinst_LTLIBRARIES=libsha1.la

libsha1_la_SOURCES=sha1.c sha1.h sha1_hash.c sha256.c sha256_hash.c $(HMAC)

noinst_PROGRAMS=testsuite

testsuite_SOURCES=testsuite.c
testsuite_DEPENDENCIES=libsha1.la
testsuite_LDADD=$(testsuite_DEPENDENCIES)
testsuite_LDFLAGS=-static

EXTRA_DIST=testsuite.txt hmac.c

check-am:
	./testsuite | cmp -s - $(srcdir)/testsuite.txt