Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/dev/cgd Don't build t_cgd_aes if ${MKCRYPTO} == "no".



details:   https://anonhg.NetBSD.org/src/rev/5b64a4080a9a
branches:  trunk
changeset: 818911:5b64a4080a9a
user:      alnsn <alnsn%NetBSD.org@localhost>
date:      Sun Nov 06 21:29:54 2016 +0000

description:
Don't build t_cgd_aes if ${MKCRYPTO} == "no".

diffstat:

 tests/dev/cgd/Makefile |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r 3e49077058e9 -r 5b64a4080a9a tests/dev/cgd/Makefile
--- a/tests/dev/cgd/Makefile    Sun Nov 06 17:09:19 2016 +0000
+++ b/tests/dev/cgd/Makefile    Sun Nov 06 21:29:54 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.3 2016/11/06 10:54:42 alnsn Exp $
+#      $NetBSD: Makefile,v 1.4 2016/11/06 21:29:54 alnsn Exp $
 #
 
 .include <bsd.own.mk>
@@ -8,15 +8,17 @@
 FILESDIR=      ${TESTSDIR}
 
 TESTS_SH=      t_cgd
+
+.if ${MKCRYPTO} != "no"
 TESTS_C=       t_cgd_aes
 
+WARNS= 4
 CPPFLAGS+=     -D_KERNTYPES
 LDADD+=        -lrumpdev -lrumpdev_disk -lrumpdev_cgd -lrumpkern_crypto -lrumpvfs
 LDADD+=        -lrump
 LDADD+=        -lrumpuser
 LDADD+=        -lrump -lutil
 LDADD+=        -lpthread
-
-WARNS= 4
+.endif
 
 .include <bsd.test.mk>



Home | Main Index | Thread Index | Old Index