1998-02-18 06:54:58 +03:00
|
|
|
# $NetBSD: Makefile,v 1.12 1998/02/18 03:56:07 perry Exp $
|
1994-05-09 07:35:55 +04:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
PROG= w
|
1994-05-09 07:35:55 +04:00
|
|
|
SRCS= fmt.c pr_time.c proc_compare.c w.c
|
1994-12-22 15:30:38 +03:00
|
|
|
MAN= w.1 uptime.1
|
1994-01-28 03:49:46 +03:00
|
|
|
DPADD= ${LIBKVM}
|
1994-01-28 21:12:27 +03:00
|
|
|
LDADD= -lkvm
|
1993-03-21 12:45:37 +03:00
|
|
|
BINGRP= kmem
|
|
|
|
BINMODE=2555
|
|
|
|
LINKS= ${BINDIR}/w ${BINDIR}/uptime
|
|
|
|
|
1997-05-09 01:11:01 +04:00
|
|
|
.PATH: ${.CURDIR}/../../bin/ps
|
1994-05-09 07:35:55 +04:00
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
.include <bsd.prog.mk>
|
1998-02-09 09:25:15 +03:00
|
|
|
|
|
|
|
# XXX
|
|
|
|
.if defined(UVM)
|
|
|
|
CPPFLAGS+= -DUVM
|
|
|
|
.endif
|
1998-02-18 06:54:58 +03:00
|
|
|
.if defined(PMAP_NEW)
|
|
|
|
CPPFLAGS+= -DPMAP_NEW
|
|
|
|
.endif
|