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/9a57058b2344
branches:  trunk
changeset: 348769:9a57058b2344
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 5504475e5fb7 -r 9a57058b2344 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