mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-26 11:47:31 +00:00
1131779fb3
Let it print "-" when the TTY string is empty. In this case, it must also make sure it doesn't match processes who also have no controlling TTY. Otherwise it will print random kernel processes when trying to pick the best matching process. Eventually it should look at the value of ut_pid as well.
16 lines
285 B
Makefile
16 lines
285 B
Makefile
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
|
# $FreeBSD$
|
|
|
|
PROG= w
|
|
SRCS= fmt.c pr_time.c proc_compare.c w.c
|
|
MAN= w.1 uptime.1
|
|
DPADD= ${LIBKVM} ${LIBUTIL}
|
|
LDADD= -lkvm -lutil
|
|
#BINGRP= kmem
|
|
#BINMODE=2555
|
|
LINKS= ${BINDIR}/w ${BINDIR}/uptime
|
|
|
|
.PATH: ${.CURDIR}/../../bin/ps
|
|
|
|
.include <bsd.prog.mk>
|