freebsd-nq/lib/libsecureboot/tests/Makefile
Simon J. Gerraty 9bee6a6083 libsecureboot: make it easier to customize trust anchors
Avoid making hash self-tests depend on X.509 certs.
Include OpenPGP keys in trust store count.

Reviewed by:	stevek
MFC after:	1 week
Sponsored by:	Juniper Networks
Differential Revision:	https://reviews.freebsd.org/D20208
2019-05-09 22:25:12 +00:00

22 lines
363 B
Makefile

# $FreeBSD$
.include <src.opts.mk>
PROG= tvo
SRCS+= tvo.c
CFLAGS+= -DUNIT_TEST -g -O0
LIBADD+= bearssl
MAN=
NO_SHARED=
# we want to test verify_file api too
# which requires a kludge or two
MK_LOADER_EFI_SECUREBOOT= no
.include "../Makefile.libsa.inc"
BRSSL_CFLAGS := ${BRSSL_CFLAGS:N-DNO_STDIO}
XCFLAGS.verify_file += -DSOPEN_MAX=64
.include <bsd.prog.mk>