minix/usr.bin/last/Makefile
Ben Gras 04c8602eb1 big <utmp.h>-inspired netbsd switch
import/switch of:
init, getty, reboot, halt, shutdown, wall, write

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)

Change-Id: I97e137c7fb106ca478d9e1bdc360e77f6b96a376
2013-10-31 17:22:30 +00:00

11 lines
206 B
Makefile

# $NetBSD: Makefile,v 1.7 2004/11/19 21:41:25 christos Exp $
# @(#)Makefile 8.1 (Berkeley) 6/6/93
PROG= last
CPPFLAGS+=-DSUPPORT_UTMPX -DSUPPORT_UTMP
LDADD=-lutil
DPADD=${LIBUTIL}
.include <bsd.prog.mk>