diff options
author | Darren Tucker <dtucker@dtucker.net> | 2018-11-22 15:52:26 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2018-11-22 16:02:46 +1100 |
commit | c1941293d9422a14dda372b4c21895e72aa7a063 (patch) | |
tree | dc5d9759a6455fb93063a4adda3c8f34d9316696 /regress | |
parent | 928f1231f65f88cd4c73e6e0edd63d2cf6295d77 (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.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 | ||