summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
Diffstat (limited to 'regress')
-rw-r--r--regress/unittests/Makefile.inc17
1 files changed, 17 insertions, 0 deletions
diff --git a/regress/unittests/Makefile.inc b/regress/unittests/Makefile.inc
index b509f4452..d662a46bc 100644
--- a/regress/unittests/Makefile.inc
+++ b/regress/unittests/Makefile.inc
@@ -1,8 +1,20 @@
1# $OpenBSD: Makefile.inc,v 1.12 2017/12/21 00:41:22 djm Exp $ 1# $OpenBSD: Makefile.inc,v 1.12 2017/12/21 00:41:22 djm Exp $
2 2
3REGRESS_FAIL_EARLY?= yes
4
3.include <bsd.own.mk> 5.include <bsd.own.mk>
4.include <bsd.obj.mk> 6.include <bsd.obj.mk>
5 7
8MALLOC_OPTIONS?= CFGJRSUX
9TEST_ENV?= MALLOC_OPTIONS=${MALLOC_OPTIONS}
10
11# XXX detect from ssh binary?
12OPENSSL?= yes
13
14.if (${OPENSSL:L} == "yes")
15CFLAGS+= -DWITH_OPENSSL
16.endif
17
6# enable warnings 18# enable warnings
7WARNINGS=Yes 19WARNINGS=Yes
8 20
@@ -49,5 +61,10 @@ DPADD+=${.CURDIR}/../test_helper/libtest_helper.a
49 61
50.PATH: ${.CURDIR}/${SSHREL} 62.PATH: ${.CURDIR}/${SSHREL}
51 63
64LDADD+= -lutil
65DPADD+= ${LIBUTIL}
66
67.if (${OPENSSL:L} == "yes")
52LDADD+= -lcrypto 68LDADD+= -lcrypto
53DPADD+= ${LIBCRYPTO} 69DPADD+= ${LIBCRYPTO}
70.endif