From a0cb50d4e280b5ef66232bac470ae4fa834a39a6 Mon Sep 17 00:00:00 2001 From: darrenr Date: Tue, 19 Mar 2002 15:07:30 +0000 Subject: [PATCH] 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. --- sbin/ipfstat/Makefile | 4 ++-- sbin/ipnat/Makefile | 3 +++ 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