1 # $NetBSD: Makefile,v 1.34 2007/05/28 12:06:32 tls Exp $
2 # @(#)Makefile 8.1 (Berkeley) 6/6/93
6 USE_FORT?
= yes
# setgid
9 .PATH
: ${NETBSDSRCDIR}/usr.bin
/vmstat
${NETBSDSRCDIR}/usr.bin
/who
11 CPPFLAGS
+=-I
${NETBSDSRCDIR}/usr.bin
/vmstat
-DSUPPORT_UTMP
-DSUPPORT_UTMPX \
12 -I
${NETBSDSRCDIR}/usr.bin
/who
13 CWARNFLAGS
+= -Wno-format-y2k
14 SRCS
= bufcache.c cmds.c cmdtab.c disks.c df.c drvstats.c fetch.c \
15 globalcmds.c icmp.c iostat.c ip.c keyboard.c main.c mbufs.c \
16 netcmds.c netstat.c pigs.c ps.c swap.c tcp.c vmstat.c utmpentry.c \
18 DPADD
= ${LIBCURSES} ${LIBM} ${LIBKVM}
19 LDADD
= -lutil
-lcurses
-lm
-lkvm
22 LINKS
= ${BINDIR}/systat
${BINDIR}/sysstat
23 MLINKS
+=systat
.1 sysstat
.1
28 .if
(${USE_INET6} != "no")
33 .
include <bsd.prog.mk
>