33349ca906
otherwise the path to mount_mfs(8) and the standard $PATH will be wrong...
23 lines
442 B
Makefile
23 lines
442 B
Makefile
# $NetBSD: Makefile,v 1.34 2005/01/10 10:59:49 lukem Exp $
|
|
# @(#)Makefile 8.1 (Berkeley) 7/19/93
|
|
|
|
PROG= init
|
|
MAN= init.8
|
|
DPADD= ${LIBUTIL}
|
|
LDADD= -lutil
|
|
CPPFLAGS+= -DMFS_DEV_IF_NO_CONSOLE -DSUPPORT_UTMP -DSUPPORT_UTMPX
|
|
|
|
.ifdef SMALLPROG
|
|
CPPFLAGS+= -DLETS_GET_SMALL
|
|
.else
|
|
CPPFLAGS+= -DALTSHELL -DSECURE
|
|
DPADD+= ${LIBCRYPT}
|
|
LDADD+= -lcrypt
|
|
.endif
|
|
|
|
.if defined(RESCUEDIR)
|
|
CPPFLAGS+= -DRESCUEDIR=\"${RESCUEDIR}\"
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|