-# $OpenBSD: Makefile.inc,v 1.18 2022/02/04 13:11:14 claudio Exp $
+# $OpenBSD: Makefile.inc,v 1.19 2022/02/10 19:16:44 tb Exp $
.PATH: ${.CURDIR}/../../../../usr.sbin/rpki-client
LDADD+= -lcrypto -lutil
DPADD+= ${LIBCRYPTO} ${LIBUTIL}
-SRCS_test-ip= test-ip.c ip.c io.c encoding.c print.c
+SRCS_test-ip += test-ip.c ip.c io.c encoding.c print.c x509.c
run-regress-test-ip: test-ip
./test-ip
./test-gbr -v ${.CURDIR}/../gbr/*.gbr
SRCS_test-tal+= test-tal.c tal.c ip.c io.c log.c validate.c \
- encoding.c print.c dummy.c
+ encoding.c print.c dummy.c x509.c
run-regress-test-tal: test-tal
./test-tal -v ${.CURDIR}/../tal/*.tal
CLEANFILES += a_time_tm_gen.c a_time_tm_gen.c.tmp
+SRCS_test-ip = a_time_tm_gen.c o_time.c
SRCS_test-mft = a_time_tm_gen.c o_time.c
SRCS_test-roa = a_time_tm_gen.c o_time.c
SRCS_test-cert = a_time_tm_gen.c o_time.c
SRCS_test-gbr = a_time_tm_gen.c o_time.c
+SRCS_test-tal = a_time_tm_gen.c o_time.c
SRCS_test-bgpsec = a_time_tm_gen.c o_time.c
CFLAGS += -I${.CURDIR}/../../../../lib/libcrypto/