xref: /openbsd/regress/lib/libcrypto/sm2/Makefile (revision d89ec533)
1#	$OpenBSD: Makefile,v 1.1.1.1 2021/08/18 16:06:56 tb Exp $
2
3PROGS +=	sm2crypttest
4PROGS +=	sm2evptest
5PROGS +=	sm2sigtest
6
7LDADD =		${CRYPTO_INT}
8DPADD =		${LIBCRYPTO}
9WARNINGS =	Yes
10
11CFLAGS +=	-DLIBRESSL_INTERNAL -Wundef -Werror
12CFLAGS +=	-I${BSDSRCDIR}/lib/libcrypto/sm2
13CFLAGS +=	-I${BSDSRCDIR}/regress/lib/libssl/unit
14
15.for p in ${PROGS}
16REGRESS_TARGETS += run-$p
17run-$p: $p
18	@echo '\n======== $@ ========'
19	./$p
20.PHONY: run-$p
21.endfor
22
23.include <bsd.regress.mk>
24