summaryrefslogtreecommitdiff
path: root/crypto/external/bsd/openssl/lib/libcryptotest/Makefile
blob: df29d1727be2cd8c7c11e182e027bc73639986e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# $NetBSD: Makefile,v 1.5 2023/05/13 11:11:39 riastradh Exp $

LIBISPRIVATE=	yes
LIB=		cryptotest

WARNS?=		5

.include <bsd.init.mk>

CRYPTODIST=     ${NETBSDSRCDIR}/crypto
.include "${NETBSDSRCDIR}/crypto/Makefile.openssl"
.PATH:	${OPENSSLSRC}/test/testutil ${OPENSSLSRC}/apps/lib
CPPFLAGS+= -I${OPENSSLSRC}
CPPFLAGS+= -I${OPENSSLSRC}/include
CPPFLAGS+= -I${OPENSSLSRC}/apps/include

SRCS+=\
apps_shims.c \
basic_output.c \
cb.c \
driver.c \
fake_random.c \
format_output.c \
load.c \
main.c \
options.c \
output.c \
provider.c \
random.c \
stanza.c \
test_cleanup.c \
test_options.c \
tests.c \
testutil_init.c

SRCS+= \
opt.c

COPTS.opt.c+=		-Wno-missing-field-initializers
COPTS.options.c+=	-Wno-format-nonliteral
COPTS.test_options.c+=	-Wno-missing-field-initializers

.include <bsd.lib.mk>