summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>1996-05-04 08:16:20 +0000
committermarkm <markm@FreeBSD.org>1996-05-04 08:16:20 +0000
commit8c96258663f379a8d27b9ff14b73594592e7a7a2 (patch)
tree94bff04d1f7b66b19867d2189013809cf41cf991 /sbin
parent49f34d04b0ffee42a5414f22801fbecef3c9f83e (diff)
downloadFreeBSD-src-8c96258663f379a8d27b9ff14b73594592e7a7a2.zip
FreeBSD-src-8c96258663f379a8d27b9ff14b73594592e7a7a2.tar.gz
Better method of choosing libdescrypt/libscrypt.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/init/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/sbin/init/Makefile b/sbin/init/Makefile
index b3b970c..62f71d29 100644
--- a/sbin/init/Makefile
+++ b/sbin/init/Makefile
@@ -1,19 +1,19 @@
# @(#)Makefile 8.1 (Berkeley) 7/19/93
-# $Id: Makefile,v 1.5 1995/10/03 15:11:11 bde Exp $
+# $Id: Makefile,v 1.6 1996/02/13 09:12:10 joerg Exp $
PROG= init
MAN8= init.8
-DPADD= ${LIBUTIL}
-LDADD= -lutil -lcrypt
BINMODE=500
INSTALLFLAGS=-fschg
CFLAGS+=-DDEBUGSHELL -DSECURE
.if exists(../../secure) && !defined(NOCRYPT) && !defined(NOSECURE)
DISTRIBUTION=des
-DPADD= ${CRYPTOBJDIR}/libdescrypt.a ${LIBUTIL}
-LDADD= -L${CRYPTOBJDIR} -lutil -ldescrypt
-BINMODE=500
+DPADD= ${DESCRYPTOBJDIR}/libdescrypt.a ${LIBUTIL}
+LDADD= -L${DESCRYPTOBJDIR} -lutil -ldescrypt
+.else
+DPADD= ${SCRYPTOBJDIR}/libscrypt.a ${LIBUTIL}
+LDADD= -L${SCRYPTOBJDIR} -lutil -lscrypt
.endif
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud