# $OpenBSD: Makefile,v 1.14 2022/07/25 20:48:57 tb Exp $ .include "../../Makefile.inc" PROGS += bntest PROGS += bn_isqrt PROGS += bn_mod_exp2_mont PROGS += bn_mod_sqrt PROGS += bn_primes PROGS += bn_to_string DPADD += ${LIBCRYPTO} LDFLAGS += -lcrypto WARNINGS = Yes CFLAGS += -Werror CFLAGS += -I${.CURDIR}/../../../../../lib/libcrypto/bn/ CLEANFILES = bntest.out bc.out LDADD_bntest = ${CRYPTO_INT} REGRESS_TARGETS += run-bntest run-bntest bntest.out: bntest ./bntest -out bntest.out REGRESS_TARGETS += run-bc run-bc: bntest.out bc < bntest.out | tee bc.out | grep -v '^0$$' ! grep -v '^test '