-# $OpenBSD: Makefile.inc,v 1.8 2021/03/05 17:28:09 claudio Exp $
+# $OpenBSD: Makefile.inc,v 1.9 2021/04/01 06:47:18 claudio Exp $
.PATH: ${.CURDIR}/../../../../usr.sbin/rpki-client
TALARGS += ta/apnic-rpki-root-iana-origin.cer tal/apnic.tal
TALARGS += ta/ripe-ncc-ta.cer tal/ripe.tal
-SRCS_test-cert= test-cert.c cert.c x509.c ip.c as.c io.c log.c tal.c validate.c
+SRCS_test-cert= test-cert.c cert.c x509.c ip.c as.c io.c log.c tal.c \
+ validate.c encoding.c
run-regress-test-cert: test-cert
./test-cert -v ${.CURDIR}/../cer/*.cer
./test-cert -vt ${TALARGS:S,,${.CURDIR}/../&,}
CLEANFILES += mft_gen.c mft_gen.c.tmp
-SRCS_test-mft+= test-mft.c mft_gen.c cms.c x509.c io.c log.c validate.c dummy.c
+SRCS_test-mft+= test-mft.c mft_gen.c cms.c x509.c io.c log.c validate.c \
+ encoding.c dummy.c
run-regress-test-mft: test-mft
./test-mft -v ${.CURDIR}/../mft/*.mft
-SRCS_test-roa= test-roa.c roa.c cms.c x509.c ip.c as.c io.c log.c
+SRCS_test-roa= test-roa.c roa.c cms.c x509.c ip.c as.c io.c log.c encoding.c
run-regress-test-roa: test-roa
./test-roa -v ${.CURDIR}/../roa/*.roa
-SRCS_test-gbr= test-gbr.c gbr.c cms.c x509.c io.c log.c
+SRCS_test-gbr= test-gbr.c gbr.c cms.c x509.c io.c log.c encoding.c
run-regress-test-gbr: test-gbr
./test-gbr -v ${.CURDIR}/../gbr/*.gbr
-SRCS_test-tal= test-tal.c tal.c io.c log.c validate.c dummy.c
+SRCS_test-tal= test-tal.c tal.c io.c log.c validate.c encoding.c dummy.c
run-regress-test-tal: test-tal
./test-tal -v ${.CURDIR}/../tal/*.tal