blob: d1ecb3ab95598390a0b69ba47d96d77bbecc6da0 (
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
44
45
46
47
|
# $OpenBSD: Makefile,v 1.2 2019/06/19 07:14:16 claudio Exp $
.PATH: ${.CURDIR}/../../../usr.sbin/rpki-client
.if ! exists(/usr/local/bin/eopenssl)
regress:
# install openssl-1.0.2 from ports for interop tests
@echo SKIPPED
.else
PROGS += test-ip
PROGS += test-cert
PROGS += test-mft
PROGS += test-roa
PROGS += test-tal
.endif
.for p in ${PROGS}
REGRESS_TARGETS += run-regress-$p
.endfor
CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../../../usr.sbin/rpki-client \
-I/usr/local/include/eopenssl
LDADD+= /usr/local/lib/eopenssl/libssl.a \
/usr/local/lib/eopenssl/libcrypto.a
SRCS_test-ip= test-ip.c ip.c io.c
run-regress-test-ip: test-ip
./test-ip
SRCS_test-cert= test-cert.c cert.c x509.c ip.c as.c rsync.c io.c log.c
run-regress-test-cert: test-cert
./test-cert -v ${.CURDIR}/cer/*
./test-cert -vt ${.CURDIR}/ta/*
SRCS_test-mft= test-mft.c mft.c cms.c x509.c io.c log.c
run-regress-test-mft: test-mft
./test-mft -v ${.CURDIR}/mft/*
SRCS_test-roa= test-roa.c roa.c cms.c x509.c ip.c as.c io.c log.c
run-regress-test-roa: test-roa
./test-roa -v ${.CURDIR}/roa/*
SRCS_test-tal= test-tal.c tal.c rsync.c io.c log.c
run-regress-test-tal: test-tal
./test-tal -v ${.CURDIR}/tal/*.tal
.include <bsd.regress.mk>
|