diff options
Diffstat (limited to 'regress')
-rw-r--r-- | regress/unittests/Makefile.inc | 17 |
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 | ||
3 | REGRESS_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 | ||
8 | MALLOC_OPTIONS?= CFGJRSUX | ||
9 | TEST_ENV?= MALLOC_OPTIONS=${MALLOC_OPTIONS} | ||
10 | |||
11 | # XXX detect from ssh binary? | ||
12 | OPENSSL?= yes | ||
13 | |||
14 | .if (${OPENSSL:L} == "yes") | ||
15 | CFLAGS+= -DWITH_OPENSSL | ||
16 | .endif | ||
17 | |||
6 | # enable warnings | 18 | # enable warnings |
7 | WARNINGS=Yes | 19 | WARNINGS=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 | ||
64 | LDADD+= -lutil | ||
65 | DPADD+= ${LIBUTIL} | ||
66 | |||
67 | .if (${OPENSSL:L} == "yes") | ||
52 | LDADD+= -lcrypto | 68 | LDADD+= -lcrypto |
53 | DPADD+= ${LIBCRYPTO} | 69 | DPADD+= ${LIBCRYPTO} |
70 | .endif | ||