aboutsummaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorDarren Reed <darrenr@FreeBSD.org>2002-03-19 15:07:30 +0000
committerDarren Reed <darrenr@FreeBSD.org>2002-03-19 15:07:30 +0000
commita2a5557d65a8f9fc190631032d413f0c77ce1fc8 (patch)
tree46066f26014505a388a8281bafd705a162eda398 /sbin
parent620fa9eb93850b098dda561ca56f89019f90bc32 (diff)
downloadsrc-a2a5557d65a8f9fc190631032d413f0c77ce1fc8.tar.gz
src-a2a5557d65a8f9fc190631032d413f0c77ce1fc8.zip
both ipnat and ipfstat now use libkvm rather than their own home-rolled
kmem accessors, allowing them to be used with crash dumps as well as live systems, now.
Notes
Notes: svn path=/head/; revision=92701
Diffstat (limited to 'sbin')
-rw-r--r--sbin/ipfstat/Makefile4
-rw-r--r--sbin/ipnat/Makefile3
2 files changed, 5 insertions, 2 deletions
diff --git a/sbin/ipfstat/Makefile b/sbin/ipfstat/Makefile
index 3d1731fd38b8..6089665a2deb 100644
--- a/sbin/ipfstat/Makefile
+++ b/sbin/ipfstat/Makefile
@@ -11,8 +11,8 @@ CFLAGS+=-I${.CURDIR}/../../sys/contrib/ipfilter
CFLAGS+=-I${.CURDIR}/../../contrib/ipfilter
WARNS= 0
-DPADD= ${LIBNCURSES}
-LDADD= -lncurses
+DPADD= ${LIBNCURSES} ${LIBKVM}
+LDADD= -lncurses -lkvm
MAINTAINER= guido@freebsd.org
diff --git a/sbin/ipnat/Makefile b/sbin/ipnat/Makefile
index dc386acc78a1..7c6c947d05cd 100644
--- a/sbin/ipnat/Makefile
+++ b/sbin/ipnat/Makefile
@@ -11,6 +11,9 @@ CFLAGS+=-I${.CURDIR}/../../sys/contrib/ipfilter/netinet
CFLAGS+=-I${.CURDIR}/../../contrib/ipfilter
WARNS= 0
+DPADD= ${LIBKVM}
+LDADD= -lkvm
+
MAINTAINER= guido@freebsd.org
.include <bsd.prog.mk>