summaryrefslogtreecommitdiff
path: root/regress/sys/crypto/hmac/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'regress/sys/crypto/hmac/Makefile')
-rw-r--r--regress/sys/crypto/hmac/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/regress/sys/crypto/hmac/Makefile b/regress/sys/crypto/hmac/Makefile
new file mode 100644
index 00000000000..f31af2246e3
--- /dev/null
+++ b/regress/sys/crypto/hmac/Makefile
@@ -0,0 +1,27 @@
+# $OpenBSD: Makefile,v 1.1 2008/08/12 15:49:08 damien 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+= -Wbounded
+CDIAGFLAGS+= -Wshadow
+
+REGRESS_TARGETS= run-regress-${PROG}
+
+CFLAGS+= -I${DIR}
+
+.PATH: ${DIR}/crypto/
+
+run-regress-${PROG}: ${PROG}
+ ./${PROG} | diff - ${PROG}.txt
+
+.include <bsd.regress.mk>