blob: d993d4d276a211c73ff3535bae14d8c9e99561ba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# $OpenBSD: Makefile,v 1.4 2017/06/22 18:07:31 bluhm Exp $
DIR=${.CURDIR}/../../../../sys
PROG= hmac_test
SRCS+= md5.c sha1.c sha2.c hmac.c hmac_test.c
CDIAGFLAGS= -Wall
CDIAGFLAGS+= -Werror
CDIAGFLAGS+= -Wpointer-arith
CDIAGFLAGS+= -Wno-uninitialized
CDIAGFLAGS+= -Wstrict-prototypes
CDIAGFLAGS+= -Wmissing-prototypes
CDIAGFLAGS+= -Wunused
CDIAGFLAGS+= -Wsign-compare
#CDIAGFLAGS+= -Wshadow
CFLAGS+= -I${DIR}
.PATH: ${DIR}/crypto/
run-regress-${PROG}: ${PROG}
./${PROG} | diff - ${.CURDIR}/${PROG}.txt
.include <bsd.regress.mk>
|