mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-03 09:00:21 +00:00
5b718312b7
into addresses as we have no idea what address family they belong to. When -n is not specified, resolve IPv6 as well as IPv4 addresses found in the host field of utmp. Use realhostname_sa() to resolve addresses (the old code was wrong). Rename ``x'' to ``x_suffix'' to avoid confusion. Hard code the host column width to 16 (against the imminent increase of UT_HOSTSIZE in utmp.h).
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>
|