aboutsummaryrefslogtreecommitdiffstats
path: root/sbin/Makefile.inc
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>1995-10-01 15:04:42 +0000
committerMark Murray <markm@FreeBSD.org>1995-10-01 15:04:42 +0000
commit05d2e241d02cb113a5dbc99ad959d4d2051fba41 (patch)
tree6d54e7575c1e6f32f414f3b0f56c7a210f9d7710 /sbin/Makefile.inc
parent6cef1ad675b144ae182f5cf4713292d2a44ea063 (diff)
downloadsrc-05d2e241d02cb113a5dbc99ad959d4d2051fba41.tar.gz
src-05d2e241d02cb113a5dbc99ad959d4d2051fba41.zip
Define CRYPTOBJDIR if secure is being built
Notes
Notes: svn path=/head/; revision=11109
Diffstat (limited to 'sbin/Makefile.inc')
-rw-r--r--sbin/Makefile.inc10
1 files changed, 10 insertions, 0 deletions
diff --git a/sbin/Makefile.inc b/sbin/Makefile.inc
index 470d8699327e..8b44b5f38b3a 100644
--- a/sbin/Makefile.inc
+++ b/sbin/Makefile.inc
@@ -2,3 +2,13 @@
BINDIR?= /sbin
NOSHARED?= YES
+
+.if exists (${.CURDIR}/../../secure)
+
+.if exists(${.CURDIR}/../../secure/lib/libcrypt/obj)
+CRYPTOBJDIR= ${.CURDIR}/../../secure/lib/libcrypt/obj
+.else
+CRYPTOBJDIR= ${.CURDIR}/../../secure/lib/libcrypt
+.endif
+
+.endif