summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>1995-10-01 15:04:42 +0000
committermarkm <markm@FreeBSD.org>1995-10-01 15:04:42 +0000
commit6771e98b3b04f5d2d5b45fe622738572f14f4779 (patch)
tree6d54e7575c1e6f32f414f3b0f56c7a210f9d7710 /sbin
parentafe826ae7c73b77259ac82e55db19e72680b4b8f (diff)
downloadFreeBSD-src-6771e98b3b04f5d2d5b45fe622738572f14f4779.zip
FreeBSD-src-6771e98b3b04f5d2d5b45fe622738572f14f4779.tar.gz
Define CRYPTOBJDIR if secure is being built
Diffstat (limited to 'sbin')
-rw-r--r--sbin/Makefile.inc10
1 files changed, 10 insertions, 0 deletions
diff --git a/sbin/Makefile.inc b/sbin/Makefile.inc
index 470d869..8b44b5f 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
OpenPOWER on IntegriCloud