diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/regress/lib/libcrypto/x509/Makefile | 37 |
1 files changed, 10 insertions, 27 deletions
diff --git a/src/regress/lib/libcrypto/x509/Makefile b/src/regress/lib/libcrypto/x509/Makefile index a465b37874..8b659b7f09 100644 --- a/src/regress/lib/libcrypto/x509/Makefile +++ b/src/regress/lib/libcrypto/x509/Makefile | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | # $OpenBSD: Makefile,v 1.15 2022/11/11 12:02:34 beck Exp $ | 1 | # $OpenBSD: Makefile,v 1.16 2023/03/02 21:15:14 tb Exp $ |
| 2 | 2 | ||
| 3 | PROGS = constraints verify x509attribute x509name x509req_ext callback | 3 | PROGS = constraints verify x509attribute x509name x509req_ext callback |
| 4 | PROGS += expirecallback callbackfailures | 4 | PROGS += expirecallback callbackfailures |
| @@ -9,21 +9,13 @@ LDADD_constraints = ${CRYPTO_INT} | |||
| 9 | LDADD_verify = ${CRYPTO_INT} | 9 | LDADD_verify = ${CRYPTO_INT} |
| 10 | 10 | ||
| 11 | WARNINGS = Yes | 11 | WARNINGS = Yes |
| 12 | CFLAGS += -DLIBRESSL_INTERNAL -Wall -Werror -I$(BSDSRCDIR)/lib/libcrypto/x509 | 12 | CFLAGS += -DLIBRESSL_INTERNAL -Wall -Werror |
| 13 | CFLAGS += -I$(BSDSRCDIR)/lib/libcrypto/bytestring | 13 | CFLAGS += -I${.CURDIR}/../../../../lib/libcrypto/x509 |
| 14 | CFLAGS += -I${.CURDIR}/../../../../lib/libcrypto/bytestring | ||
| 14 | 15 | ||
| 15 | SUBDIR += bettertls rfc3779 | 16 | SUBDIR += bettertls rfc3779 |
| 16 | 17 | ||
| 17 | REGRESS_TARGETS += regress-verify | 18 | CLEANFILES += x509name.result callback.out |
| 18 | REGRESS_TARGETS += regress-constraints | ||
| 19 | REGRESS_TARGETS += regress-x509attribute | ||
| 20 | REGRESS_TARGETS += regress-x509name | ||
| 21 | REGRESS_TARGETS += regress-x509req_ext | ||
| 22 | REGRESS_TARGETS += regress-callback | ||
| 23 | REGRESS_TARGETS += regress-expirecallback | ||
| 24 | REGRESS_TARGETS += regress-callbackfailures | ||
| 25 | |||
| 26 | CLEANFILES += x509name.result callbackout | ||
| 27 | 19 | ||
| 28 | .if make(clean) || make(cleandir) | 20 | .if make(clean) || make(cleandir) |
| 29 | . if ${.OBJDIR} != ${.CURDIR} | 21 | . if ${.OBJDIR} != ${.CURDIR} |
| @@ -32,31 +24,22 @@ CLEANFILES += x509name.result callbackout | |||
| 32 | . endif | 24 | . endif |
| 33 | .endif | 25 | .endif |
| 34 | 26 | ||
| 35 | regress-verify: verify | 27 | run-regress-verify: verify |
| 36 | perl ${.CURDIR}/make-dir-roots.pl ${.CURDIR}/../certs . | 28 | perl ${.CURDIR}/make-dir-roots.pl ${.CURDIR}/../certs . |
| 37 | ./verify ${.CURDIR}/../certs | 29 | ./verify ${.CURDIR}/../certs |
| 38 | 30 | ||
| 39 | regress-constraints: constraints | 31 | run-regress-x509name: x509name |
| 40 | ./constraints | ||
| 41 | |||
| 42 | regress-x509attribute: x509attribute | ||
| 43 | ./x509attribute | ||
| 44 | |||
| 45 | regress-x509name: x509name | ||
| 46 | ./x509name > x509name.result | 32 | ./x509name > x509name.result |
| 47 | diff -u ${.CURDIR}/x509name.expected x509name.result | 33 | diff -u ${.CURDIR}/x509name.expected x509name.result |
| 48 | 34 | ||
| 49 | regress-x509req_ext: x509req_ext | 35 | run-regress-callback: callback |
| 50 | ./x509req_ext | ||
| 51 | |||
| 52 | regress-callback: callback | ||
| 53 | ./callback ${.CURDIR}/../certs | 36 | ./callback ${.CURDIR}/../certs |
| 54 | perl ${.CURDIR}/callback.pl callback.out | 37 | perl ${.CURDIR}/callback.pl callback.out |
| 55 | 38 | ||
| 56 | regress-expirecallback: expirecallback | 39 | run-regress-expirecallback: expirecallback |
| 57 | ./expirecallback ${.CURDIR}/../certs | 40 | ./expirecallback ${.CURDIR}/../certs |
| 58 | 41 | ||
| 59 | regress-callbackfailures: callbackfailures | 42 | run-regress-callbackfailures: callbackfailures |
| 60 | ./callbackfailures ${.CURDIR}/../certs | 43 | ./callbackfailures ${.CURDIR}/../certs |
| 61 | 44 | ||
| 62 | .include <bsd.regress.mk> | 45 | .include <bsd.regress.mk> |
