1994-05-26 06:35:07 +00:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 7/19/93
|
1999-07-01 13:33:56 +00:00
|
|
|
# $Id: Makefile,v 1.16 1999/06/18 09:08:06 ru Exp $
|
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
|
1999-07-01 13:33:56 +00:00
|
|
|
CFLAGS+=-DDEBUGSHELL -DSECURE -DLOGIN_CAP -DCOMPAT_SYSV_INIT
|
1999-06-18 09:08:09 +00:00
|
|
|
|
1997-08-18 03:32:09 +00:00
|
|
|
.if exists(${.CURDIR}/../../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
|