mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-16 23:57:54 +01:00
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:
parent
77ffbc1aad
commit
35c6fcd43b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=22546
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user