summaryrefslogtreecommitdiffstats
path: root/sbin/init
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>1995-10-01 15:12:47 +0000
committermarkm <markm@FreeBSD.org>1995-10-01 15:12:47 +0000
commit213dd85117345e17ed21eab45a30d436236acf54 (patch)
treea04ec71c7ae0c3479afeb961fec2fd8b9c3621b6 /sbin/init
parent31323db649288b3e4490de664d1fd0a9d27c02f0 (diff)
downloadFreeBSD-src-213dd85117345e17ed21eab45a30d436236acf54.zip
FreeBSD-src-213dd85117345e17ed21eab45a30d436236acf54.tar.gz
Make this make work the same way as passwd and xntpd. Here it will allow
secure/sbin/init to be cleaned out, and sbin/Makefile to be tidied up.
Diffstat (limited to 'sbin/init')
-rw-r--r--sbin/init/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/sbin/init/Makefile b/sbin/init/Makefile
index 7acd065..c2dfb36 100644
--- a/sbin/init/Makefile
+++ b/sbin/init/Makefile
@@ -1,4 +1,5 @@
# @(#)Makefile 8.1 (Berkeley) 7/19/93
+# $id$
PROG= init
MAN8= init.8
@@ -8,4 +9,10 @@ BINMODE=500
INSTALLFLAGS=-fschg
CFLAGS+=-DDEBUGSHELL -DSECURE
+.if exists(../../secure) && !defined(NOCRYPT) && !defined(NOSECURE)
+DPADD= ${CRYPTOBJDIR}/libdescrypt.a ${LIBUTIL}
+LDADD= -L${CRYPTOBJDIR} -lutil -ldescrypt
+BINMODE=500
+.endif
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud