aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>1997-02-10 17:44:34 +0000
committerMark Murray <markm@FreeBSD.org>1997-02-10 17:44:34 +0000
commit35c6fcd43b6f1446141294521d33b5a7e794b2db (patch)
tree5413662d40dd3b4c6810adc506bc977abc8d32e7
parent77ffbc1aad66ad00eb1116c9478d5c8b87a4b477 (diff)
Notes
-rw-r--r--sbin/init/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/sbin/init/Makefile b/sbin/init/Makefile
index f566f888bfbb..1d8c89c63101 100644
--- a/sbin/init/Makefile
+++ b/sbin/init/Makefile
@@ -17,3 +17,19 @@ LDADD= -lutil -L${SCRYPTOBJDIR} -lscrypt
.endif
.include <bsd.prog.mk>
+
+.if exists(${.OBJDIR}/../../lib/libcrypt)
+SCRYPTOBJDIR= ${.OBJDIR}/../../lib/libcrypt
+.else
+SCRYPTOBJDIR= ${.CURDIR}/../../lib/libcrypt
+.endif
+
+.if exists (${.CURDIR}/../../secure)
+
+.if exists(${.OBJDIR}/../../secure/lib/libcrypt)
+DESCRYPTOBJDIR= ${.OBJDIR}/../../secure/lib/libcrypt
+.else
+DESCRYPTOBJDIR= ${.CURDIR}/../../secure/lib/libcrypt
+.endif
+
+.endif