summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2018-11-22 15:52:26 +1100
committerDarren Tucker <dtucker@dtucker.net>2018-11-22 16:02:46 +1100
commitc1941293d9422a14dda372b4c21895e72aa7a063 (patch)
treedc5d9759a6455fb93063a4adda3c8f34d9316696 /regress
parent928f1231f65f88cd4c73e6e0edd63d2cf6295d77 (diff)
Resync Makefile.inc with upstream.
It's unused in -portable, but having it out of sync makes other syncs fail to apply.
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