freebsd-dev/sbin/init/Makefile

36 lines
808 B
Makefile
Raw Normal View History

# @(#)Makefile 8.1 (Berkeley) 7/19/93
1997-02-22 14:40:44 +00:00
# $Id$
PROG= init
MAN8= init.8
BINMODE=500
INSTALLFLAGS=-fschg
CFLAGS+=-DDEBUGSHELL -DSECURE -DLOGIN_CAP
.if exists(../../secure) && !defined(NOCRYPT) && !defined(NOSECURE)
DISTRIBUTION=des
1996-09-05 17:16:10 +00:00
DPADD= ${LIBUTIL} ${DESCRYPTOBJDIR}/libdescrypt.a
LDADD= -lutil -L${DESCRYPTOBJDIR} -ldescrypt
.else
1996-09-05 17:16:10 +00:00
DPADD= ${LIBUTIL} ${SCRYPTOBJDIR}/libscrypt.a
LDADD= -lutil -L${SCRYPTOBJDIR} -lscrypt
.endif
.include <bsd.prog.mk>
.if exists(${.OBJDIR}/../../lib/libcrypt)
SCRYPTOBJDIR= ${.OBJDIR}/../../lib/libcrypt
.else
SCRYPTOBJDIR= ${.CURDIR}/../../lib/libcrypt
.endif
.if exists (${.CURDIR}/../../secure)
.if exists(${.OBJDIR}/../../secure/lib/libcrypt)
DESCRYPTOBJDIR= ${.OBJDIR}/../../secure/lib/libcrypt
.else
DESCRYPTOBJDIR= ${.CURDIR}/../../secure/lib/libcrypt
.endif
.endif