minix/sbin/init/Makefile

27 lines
548 B
Makefile
Raw Permalink Normal View History

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