1994-05-26 06:35:07 +00:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 7/19/93
|
1997-01-14 07:20:47 +00:00
|
|
|
# $FreeBSD$
|
1994-05-26 06:35:07 +00:00
|
|
|
|
|
|
|
PROG= init
|
1994-08-05 02:42:42 +00:00
|
|
|
MAN8= init.8
|
1994-05-26 06:35:07 +00:00
|
|
|
BINMODE=500
|
|
|
|
INSTALLFLAGS=-fschg
|
1997-01-19 16:49:13 +00:00
|
|
|
CFLAGS+=-DDEBUGSHELL -DSECURE -DLOGIN_CAP
|
1994-05-26 06:35:07 +00:00
|
|
|
|
1995-10-01 15:12:47 +00:00
|
|
|
.if exists(../../secure) && !defined(NOCRYPT) && !defined(NOSECURE)
|
1996-02-13 09:12:10 +00:00
|
|
|
DISTRIBUTION=des
|
1996-09-05 17:16:10 +00:00
|
|
|
DPADD= ${LIBUTIL} ${DESCRYPTOBJDIR}/libdescrypt.a
|
|
|
|
LDADD= -lutil -L${DESCRYPTOBJDIR} -ldescrypt
|
1996-05-04 08:16:20 +00:00
|
|
|
.else
|
1996-09-05 17:16:10 +00:00
|
|
|
DPADD= ${LIBUTIL} ${SCRYPTOBJDIR}/libscrypt.a
|
|
|
|
LDADD= -lutil -L${SCRYPTOBJDIR} -lscrypt
|
1995-10-01 15:12:47 +00:00
|
|
|
.endif
|
|
|
|
|
1994-05-26 06:35:07 +00:00
|
|
|
.include <bsd.prog.mk>
|
1997-02-10 17:44:34 +00:00
|
|
|
|
|
|
|
.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
|