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
This commit is contained in:
Mark Murray 1997-02-10 17:44:34 +00:00
parent 77ffbc1aad
commit 35c6fcd43b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=22546

View File

@ -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