summaryrefslogtreecommitdiff
path: root/src/regress/lib/libcrypto/hmac/Makefile
blob: 19ec43dce0e2cce259361351112d7af9d2fdd2bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#	$OpenBSD: Makefile,v 1.4 2024/08/08 03:46:50 tb Exp $

.include <bsd.own.mk>

PROG=	hmactest
LDADD=	-lcrypto
DPADD=	${LIBCRYPTO}
WARNINGS=	Yes
CFLAGS+=	-DLIBRESSL_INTERNAL
# The bounded attribute for HMAC_Init_ex() warns for gcc, breaking compilation
.if ${COMPILER_VERSION:L} == "clang"
CFLAGS+=	-Werror
.endif

.include <bsd.regress.mk>