1994-05-26 06:35:07 +00:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 7/19/93
|
1999-08-28 00:22:10 +00:00
|
|
|
# $FreeBSD$
|
1994-05-26 06:35:07 +00:00
|
|
|
|
|
|
|
PROG= init
|
2000-06-09 09:40:34 +00:00
|
|
|
MLINKS= init.8 securelevel.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
|
2001-01-01 21:39:00 +00:00
|
|
|
DPADD= ${LIBUTIL} ${LIBCRYPT}
|
|
|
|
LDADD= -lutil -lcrypt
|
1999-08-05 09:13:57 +00:00
|
|
|
|
|
|
|
beforeinstall:
|
|
|
|
.if exists(${DESTDIR}${BINDIR}/${PROG})
|
|
|
|
-chflags noschg ${DESTDIR}${BINDIR}/${PROG}
|
|
|
|
mv ${DESTDIR}${BINDIR}/${PROG} ${DESTDIR}${BINDIR}/${PROG}.bak
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|