Module Name:    src
Committed By:   alnsn
Date:           Sun Nov  6 21:29:54 UTC 2016

Modified Files:
        src/tests/dev/cgd: Makefile

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


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/dev/cgd/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/dev/cgd/Makefile
diff -u src/tests/dev/cgd/Makefile:1.3 src/tests/dev/cgd/Makefile:1.4
--- src/tests/dev/cgd/Makefile:1.3	Sun Nov  6 10:54:42 2016
+++ src/tests/dev/cgd/Makefile	Sun Nov  6 21:29:54 2016
@@ -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 @@ FILES=		paramsfile
 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>

Reply via email to