From 35c6fcd43b6f1446141294521d33b5a7e794b2db Mon Sep 17 00:00:00 2001 From: Mark Murray Date: Mon, 10 Feb 1997 17:44:34 +0000 Subject: [PATCH] Part two of a "fix-and-move". There were some macros declared in ../sbin's Makefile that were a) broken and b) bogusly placed. This brings the repeared macros in. Pointed-out-by: BDE --- sbin/init/Makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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 + +.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