The port forces the use of sysctl(7), as obtaining information through KVM is not and will never be viable. The sysctl mode of netstat(1) is currently somewhat limited and buggy, though. We fix a few minimal issues, but more improvements will have to come from NetBSD reimports. Some of netstat(1)'s views are currently not supported by the operating system. Later improvements on this point will not require changes to the imported code, though. Change-Id: If74a6811f0fc81bd1ecc31010a28379b14b2a0eb
85 lines
1.8 KiB
Makefile
85 lines
1.8 KiB
Makefile
# $NetBSD: Makefile,v 1.221 2015/06/03 14:32:16 christos Exp $
|
|
# from: @(#)Makefile 8.3 (Berkeley) 1/7/94
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
SUBDIR= asa \
|
|
banner basename \
|
|
bzip2 bzip2recover cal calendar \
|
|
checknr chpass cksum cmp col colcrt colrm \
|
|
column comm csplit ctags cut \
|
|
deroff dirname du \
|
|
env expand \
|
|
false find finger flock fold fmt fpr from \
|
|
fsplit ftp genassym gencat getent \
|
|
getopt \
|
|
head hexdump id indent infocmp ipcrm ipcs join jot \
|
|
lam last ldd leave \
|
|
locale lock login logname lorder m4 \
|
|
machine make man menuc mesg \
|
|
mkcsmapper mkdep mkesdb mkfifo mklocale mkstr mktemp \
|
|
msgc \
|
|
nbperf netstat newgrp nice nl nohup \
|
|
pagesize passwd paste patch pathchk pr \
|
|
printenv printf pwhash \
|
|
renice rev rsh \
|
|
\
|
|
sdiff sed seq shar shlock \
|
|
shuffle sort split stat su \
|
|
tail tee tic time touch \
|
|
tput \
|
|
tr true tsort tty ul uname unexpand unifdef \
|
|
uniq units unvis unzip users \
|
|
uudecode uuencode uuidgen vis \
|
|
w \
|
|
wall wc what whereis who whois \
|
|
write xargs xinstall xstr yes
|
|
|
|
.if !defined(__MINIX)
|
|
SUBDIR+= ../external/zlib/pigz/bin/pigz
|
|
.endif # defined(__MINIX)
|
|
|
|
.if (${MKGROFF} == "no") || defined(__MINIX)
|
|
SUBDIR+= soelim
|
|
.endif
|
|
|
|
.if (${MKMAKEMANDB} == "no") || defined(__MINIX)
|
|
SUBDIR+= apropos whatis
|
|
.endif
|
|
|
|
.if (${MKRUMP} != "no")
|
|
SUBDIR+= rump_allserver rump_dhcpclient rump_halt rump_server shmif_dumpbus \
|
|
rump_wmd
|
|
.endif
|
|
|
|
.if (${MKBSDGREP} != "no")
|
|
SUBDIR+= grep
|
|
.endif
|
|
|
|
.if (${MKPIGZGZIP} != "no")
|
|
# nothing
|
|
.else
|
|
SUBDIR+= gzip
|
|
.endif
|
|
|
|
.if (${MKHESIOD} != "no")
|
|
SUBDIR+= hesinfo
|
|
.endif
|
|
|
|
.if (${MKSKEY} != "no")
|
|
SUBDIR+= skey skeyinfo skeyinit
|
|
.endif
|
|
|
|
.if (${MKYP} != "no")
|
|
SUBDIR+= ypcat ypmatch ypwhich
|
|
.endif
|
|
|
|
.if (${MKCRYPTO} != "no")
|
|
SUBDIR+= bdes
|
|
.if !defined(__MINIX)
|
|
SUBDIR+= nbsvtool
|
|
.endif # defined(__MINIX)
|
|
.endif
|
|
|
|
.include <bsd.subdir.mk>
|