aboutsummaryrefslogtreecommitdiffstats
path: root/sbin/Makefile.inc
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>1996-05-04 08:11:47 +0000
committerMark Murray <markm@FreeBSD.org>1996-05-04 08:11:47 +0000
commitb961de8ebf3c0d69ea443a824d4c2b4a505cd0b5 (patch)
tree86721e1e09f74cb9696b32c26d2a7c06220bf78c /sbin/Makefile.inc
parent4e2cf54fdb92858f5e4b45fc1244d0f4f73a3219 (diff)
downloadsrc-b961de8ebf3c0d69ea443a824d4c2b4a505cd0b5.tar.gz
src-b961de8ebf3c0d69ea443a824d4c2b4a505cd0b5.zip
Split CRYPTOBJDIR -> SCRYPTOBJDIR/DESCRYPTOBJDIR for init(8)
Notes
Notes: svn path=/head/; revision=15612
Diffstat (limited to 'sbin/Makefile.inc')
-rw-r--r--sbin/Makefile.inc10
1 files changed, 8 insertions, 2 deletions
diff --git a/sbin/Makefile.inc b/sbin/Makefile.inc
index 8b44b5f38b3a..71c943843d80 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