diff options
Diffstat (limited to 'sbin/Makefile.inc')
-rw-r--r-- | sbin/Makefile.inc | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sbin/Makefile.inc b/sbin/Makefile.inc index 8b44b5f..71c9438 100644 --- a/sbin/Makefile.inc +++ b/sbin/Makefile.inc @@ -3,12 +3,18 @@ BINDIR?= /sbin NOSHARED?= YES +.if exists(${.CURDIR}/../../lib/libcrypt/obj) +SCRYPTOBJDIR= ${.CURDIR}/../../lib/libcrypt/obj +.else +SCRYPTOBJDIR= ${.CURDIR}/../../lib/libcrypt +.endif + .if exists (${.CURDIR}/../../secure) .if exists(${.CURDIR}/../../secure/lib/libcrypt/obj) -CRYPTOBJDIR= ${.CURDIR}/../../secure/lib/libcrypt/obj +DESCRYPTOBJDIR= ${.CURDIR}/../../secure/lib/libcrypt/obj .else -CRYPTOBJDIR= ${.CURDIR}/../../secure/lib/libcrypt +DESCRYPTOBJDIR= ${.CURDIR}/../../secure/lib/libcrypt .endif .endif |