-# $OpenBSD: Makefile,v 1.19 2022/06/28 08:41:17 beck Exp $
+# $OpenBSD: Makefile,v 1.20 2022/06/28 08:44:26 tb Exp $
PROGS = \
asn1api \
DPADD+= ${LIBCRYPTO}
WARNINGS= Yes
LDFLAGS+= -lcrypto
-LDADD= ${CRYPTO_INT}
CFLAGS+= -DLIBRESSL_INTERNAL
CFLAGS+= -Wall -Wundef -Werror
CFLAGS+= -I${.CURDIR}/../../../../lib/libcrypto/asn1
LDADD_asn1basic = ${CRYPTO_INT}
+# XXX needs to be static until symbols are exposed
+LDADD_asn1time = ${CRYPTO_INT}
+
.for p in ${PROGS}
REGRESS_TARGETS += run-$p