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
19 lines
451 B
Makefile
19 lines
451 B
Makefile
# $NetBSD: Makefile,v 1.10 2007/05/28 12:06:32 tls Exp $
|
|
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
USE_FORT?= yes # setuid
|
|
PROG= wall
|
|
SRCS= wall.c utmpentry.c term_chk.c
|
|
BINGRP= tty
|
|
BINMODE=2555
|
|
DPADD+=${LIBUTIL}
|
|
LDADD+=-lutil
|
|
|
|
.PATH.c: ${NETBSDSRCDIR}/usr.bin/who ${NETBSDSRCDIR}/usr.bin/write
|
|
CPPFLAGS+=-I${NETBSDSRCDIR}/usr.bin/who -DSUPPORT_UTMPX -DSUPPORT_UTMP
|
|
CPPFLAGS+=-I${NETBSDSRCDIR}/usr.bin/write
|
|
|
|
.include <bsd.prog.mk>
|