blob: 515b22e07a20ac7e39464aca2702b4779e025fea (
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
|
# $OpenBSD: Makefile,v 1.1.1.1 2021/08/30 17:27:45 tb Exp $
.if !(make(clean) || make(cleandir) || make(obj))
. if !exists(/usr/local/libdata/perl5/site_perl/IO/Socket/SSL.pm)
regress:
@echo "missing package p5-IO-Socket-SSL"
@echo SKIPPED
. endif
.endif
PROGS += verify
.for p in ${PROGS}
REGRESS_TARGETS += run-$p
.endfor
LDADD = -lcrypto -lssl
DPADD = ${LIBCRYPTO} ${LIBSSL}
WARNINGS = Yes
CFLAGS += -DLIBRESSL_INTERNAL -Wundef -Werror
PERL ?= perl
REGRESS_SETUP_ONCE += create-libressl-test-certs
create-libressl-test-certs: create-libressl-test-certs.pl
${PERL} ${.CURDIR}/$@.pl
CLEANFILES += *.pem *.key
.for p in ${PROGS}
run-$p: $p
./$p
.PHONY: run-$p
.endfor
.include <bsd.regress.mk>
|