summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-11-25 14:29:10 +0000
committerbapt <bapt@FreeBSD.org>2014-11-25 14:29:10 +0000
commit8d6c7a49a6d934aea5c5f8462780dbfda3749520 (patch)
treeddfef911600b923ca0abdbed4461a288b9249837 /usr.bin/netstat
parentf28badddf72721ca05d713d86627fcde7866aaf9 (diff)
downloadFreeBSD-src-8d6c7a49a6d934aea5c5f8462780dbfda3749520.zip
FreeBSD-src-8d6c7a49a6d934aea5c5f8462780dbfda3749520.tar.gz
Convert to usr.bin/ to LIBADD
Reduce overlinking
Diffstat (limited to 'usr.bin/netstat')
-rw-r--r--usr.bin/netstat/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/netstat/Makefile b/usr.bin/netstat/Makefile
index 2d50a49..89c8e03 100644
--- a/usr.bin/netstat/Makefile
+++ b/usr.bin/netstat/Makefile
@@ -33,13 +33,11 @@ CFLAGS+=-DPF
BINGRP= kmem
BINMODE=2555
-DPADD= ${LIBKVM} ${LIBMEMSTAT} ${LIBUTIL}
-LDADD= -lkvm -lmemstat -lutil
+LIBADD= kvm memstat util
.if ${MK_NETGRAPH_SUPPORT} != "no"
SRCS+= netgraph.c
-DPADD+= ${LIBNETGRAPH}
-LDADD+= -lnetgraph
+LIBADD+= netgraph
CFLAGS+=-DNETGRAPH
.endif
OpenPOWER on IntegriCloud