summaryrefslogtreecommitdiff
path: root/lib/libsecureboot/tests/Makefile
blob: b3de2b6ce5b91f761bdf7b3de3a5a8161ef9ec12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
.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>