2013-12-06 12:04:52 +01:00
|
|
|
# $NetBSD: Makefile,v 1.39 2013/07/15 00:18:03 khorben Exp $
|
2013-09-09 15:20:18 +02:00
|
|
|
# @(#)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
|
|
|
|
|
2014-08-25 18:35:59 +02:00
|
|
|
#.if defined(__MINIX)
|
|
|
|
# BJG - by default produce line numbers in case init exits without producing
|
|
|
|
# output
|
|
|
|
DBG=-g
|
|
|
|
#.endif
|
|
|
|
|
2013-12-06 12:04:52 +01:00
|
|
|
.ifdef INIT_CHROOT
|
|
|
|
CPPFLAGS+= -DCHROOT
|
|
|
|
.elifdef SMALLPROG
|
2013-09-09 15:20:18 +02:00
|
|
|
CPPFLAGS+= -DLETS_GET_SMALL
|
|
|
|
.else
|
|
|
|
CPPFLAGS+= -DALTSHELL -DSECURE -DCHROOT
|
|
|
|
DPADD+= ${LIBCRYPT}
|
|
|
|
LDADD+= -lcrypt
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|