blob: 19e65efddd6c1835ee61fcfcf088e5c817d3fd7d (
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
|
# $OpenBSD: Makefile,v 1.24 2025/03/15 06:37:49 tb Exp $
PROGS = constraints verify x509attribute x509name x509req_ext callback
PROGS += expirecallback callbackfailures x509_asn1 x509_extensions_test
PROGS += x509_name_test
LDADD = -lcrypto
DPADD = ${LIBCRYPTO}
LDADD_constraints = ${CRYPTO_INT}
LDADD_verify = ${CRYPTO_INT}
WARNINGS = Yes
CFLAGS += -DLIBRESSL_INTERNAL -Wall -Werror
CFLAGS += -I${.CURDIR}/../../../../lib/libcrypto/x509
CFLAGS += -I${.CURDIR}/../../../../lib/libcrypto/bytestring
SUBDIR += bettertls policy rfc3779
CLEANFILES += x509name.result callback.out
.if make(clean) || make(cleandir)
. if ${.OBJDIR} != ${.CURDIR}
.BEGIN:
rm -rf [0-9]*
. endif
.endif
run-regress-verify: verify
perl ${.CURDIR}/make-dir-roots.pl ${.CURDIR}/../certs .
./verify ${.CURDIR}/../certs
run-regress-x509name: x509name
./x509name > x509name.result
diff -u ${.CURDIR}/x509name.expected x509name.result
run-regress-callback: callback
./callback ${.CURDIR}/../certs
perl ${.CURDIR}/callback.pl callback.out
run-regress-expirecallback: expirecallback
./expirecallback ${.CURDIR}/../certs
run-regress-callbackfailures: callbackfailures
./callbackfailures ${.CURDIR}/../certs
.include <bsd.regress.mk>
|