aboutsummaryrefslogtreecommitdiff
path: root/sbin/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/Makefile.inc')
-rw-r--r--sbin/Makefile.inc16
1 files changed, 16 insertions, 0 deletions
diff --git a/sbin/Makefile.inc b/sbin/Makefile.inc
index 470d8699327e2..71c943843d802 100644
--- a/sbin/Makefile.inc
+++ b/sbin/Makefile.inc
@@ -2,3 +2,19 @@
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)
+DESCRYPTOBJDIR= ${.CURDIR}/../../secure/lib/libcrypt/obj
+.else
+DESCRYPTOBJDIR= ${.CURDIR}/../../secure/lib/libcrypt
+.endif
+
+.endif