minix/sbin/reboot/Makefile
Ben Gras a06e2ab395 big <utmp.h>-inspired netbsd switch
import/switch of:
init, getty, reboot, halt, shutdown, wall, last

changes:
	. change reboot() call to netbsd prototype and args
	. allows pristine <utmp.h>
	. use clean <sys/reboot.h> instead of <minix/reboot.h>
	. implement TIOCSCTTY for use by getty so getty can get
	  controlling terminal from init's child(ren)
	. allow NULL envp for exec

Change-Id: I5ca02cb4230857140c08794bbfeba7df982c58a3
2014-03-01 09:05:02 +01:00

14 lines
345 B
Makefile

# $NetBSD: Makefile,v 1.18 2002/08/02 15:05:57 wiz Exp $
# @(#)Makefile 8.1 (Berkeley) 6/5/93
PROG= reboot
DPADD= ${LIBUTIL}
LDADD= -lutil
CPPFLAGS+= -DSUPPORT_UTMP -DSUPPORT_UTMPX
MAN= reboot.8
MLINKS= reboot.8 halt.8 \
reboot.8 poweroff.8
LINKS= ${BINDIR}/reboot ${BINDIR}/halt \
${BINDIR}/reboot ${BINDIR}/poweroff
.include <bsd.prog.mk>