NetBSD/sbin/init/Makefile

23 lines
450 B
Makefile

# $NetBSD: Makefile,v 1.31 2002/08/24 01:05:14 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+= -D_PATH_ALTSHELL=\"${RESCUEDIR}/sh\"
.endif
.include <bsd.prog.mk>