NetBSD/usr.sbin/rwhod/Makefile

21 lines
426 B
Makefile

# from: @(#)Makefile 5.3 (Berkeley) 5/11/90
# $NetBSD: Makefile,v 1.16 2023/06/03 09:09:23 lukem Exp $
.include <bsd.own.mk>
USE_FORT?= yes # network server
PROG= rwhod
SRCS= rwhod.c utmpentry.c
MAN= rwhod.8
.PATH.c: ${NETBSDSRCDIR}/usr.bin/who
CPPFLAGS+=-I${NETBSDSRCDIR}/usr.bin/who -DSUPPORT_UTMPX -DSUPPORT_UTMP
LDADD+= -lutil
DPADD+= ${LIBUTIL}
COPTS.rwhod.c+= ${CC_WNO_STRINGOP_TRUNCATION}
.include <bsd.prog.mk>