Source-Changes-HG archive

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

[src/trunk]: src/lib avoid some subdirs that need -lcrypto, for MKCRYPTO=no.



details:   https://anonhg.NetBSD.org/src/rev/3fe0cbd7870f
branches:  trunk
changeset: 750397:3fe0cbd7870f
user:      mrg <mrg%NetBSD.org@localhost>
date:      Tue Dec 29 23:01:09 2009 +0000

description:
avoid some subdirs that need -lcrypto, for MKCRYPTO=no.

diffstat:

 lib/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r 71a46a8114e9 -r 3fe0cbd7870f lib/Makefile
--- a/lib/Makefile      Tue Dec 29 22:13:00 2009 +0000
+++ b/lib/Makefile      Tue Dec 29 23:01:09 2009 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.147 2009/11/02 10:13:19 plunky Exp $
+#      $NetBSD: Makefile,v 1.148 2009/12/29 23:01:09 mrg Exp $
 #      from: @(#)Makefile      5.25.1.1 (Berkeley) 5/7/91
 
 .include <bsd.own.mk>
@@ -61,9 +61,11 @@
 SUBDIR+=       librefuse       # depends on libpuffs
 SUBDIR+=       librumpuser     # depends on libpthread
 
+.if (${MKCRYPTO} != "no")
 # these depend on libcrypto*, libz and libbz2
 SUBDIR+=       ../crypto/external/bsd/openssh/lib
 SUBDIR+=       ../crypto/external/bsd/netpgp/lib
+.endif
 
 #==================== 2nd library dependency barrier ====================
 SUBDIR+=       .WAIT
@@ -84,7 +86,9 @@
 SUBDIR+=       libpam          # depends on libkrb5, libkafs and more
 .endif
 
+.if (${MKCRYPTO} != "no")
 SUBDIR+=       librumpcrypto   # depends on librump
+.endif
 SUBDIR+=       librumpdev      # depends on librump
 SUBDIR+=       librumpnet      # depends on librump
 SUBDIR+=       librumpvfs      # depends on librump



Home | Main Index | Thread Index | Old Index