2003-05-26 13:34:55 +04:00
|
|
|
# $NetBSD: Makefile,v 1.32 2003/05/26 09:34:55 lukem Exp $
|
1995-03-18 17:54:19 +03:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 7/19/93
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
PROG= init
|
1994-12-22 13:44:04 +03:00
|
|
|
MAN= init.8
|
2002-02-03 05:40:14 +03:00
|
|
|
DPADD= ${LIBUTIL}
|
|
|
|
LDADD= -lutil
|
2002-08-02 18:03:22 +04:00
|
|
|
CPPFLAGS+= -DMFS_DEV_IF_NO_CONSOLE -DSUPPORT_UTMP -DSUPPORT_UTMPX
|
2002-02-03 05:40:14 +03:00
|
|
|
|
|
|
|
.ifdef SMALLPROG
|
|
|
|
CPPFLAGS+= -DLETS_GET_SMALL
|
|
|
|
.else
|
|
|
|
CPPFLAGS+= -DALTSHELL -DSECURE
|
|
|
|
DPADD+= ${LIBCRYPT}
|
|
|
|
LDADD+= -lcrypt
|
|
|
|
.endif
|
|
|
|
|
2002-08-24 05:05:14 +04:00
|
|
|
.if defined(RESCUEDIR)
|
2003-05-26 13:34:55 +04:00
|
|
|
CPPFLAGS+= -DRESCUEDIR=\"${RESCUEDIR}\"
|
2002-08-24 05:05:14 +04:00
|
|
|
.endif
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|