aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2014-11-26 14:36:04 +0000
committerDimitry Andric <dim@FreeBSD.org>2014-11-26 14:36:04 +0000
commit1181e9f8a2ae118014f3d8ce27b576541a48845a (patch)
tree16df3967a7d00765eaaeec20c4eaa68ad7933341 /tools
parent2c97f721e7032f8c0e1d19a6b8887bd2af8cfa0f (diff)
parent8592f074648b84c99929d18e32100222f4f8e400 (diff)
Notes
Diffstat (limited to 'tools')
-rw-r--r--tools/tools/ath/athaggrstats/Makefile3
-rw-r--r--tools/tools/ath/athstats/Makefile4
-rw-r--r--tools/tools/mwl/mwlstats/Makefile3
-rw-r--r--tools/tools/net80211/wlanstats/Makefile3
-rw-r--r--tools/tools/npe/npestats/Makefile3
5 files changed, 5 insertions, 11 deletions
diff --git a/tools/tools/ath/athaggrstats/Makefile b/tools/tools/ath/athaggrstats/Makefile
index 43e2a66f148a1..b6234b5fab798 100644
--- a/tools/tools/ath/athaggrstats/Makefile
+++ b/tools/tools/ath/athaggrstats/Makefile
@@ -12,8 +12,7 @@ CLEANFILES+= opt_ah.h
CFLAGS+=-DATH_SUPPORT_ANI
CFLAGS+=-DATH_SUPPORT_TDMA
-USEPRIVATELIB= bsdstat
-LDADD= ${LDBSDSTAT}
+LIBADD+= bsdstat
opt_ah.h:
echo "#define AH_DEBUG 1" > opt_ah.h
diff --git a/tools/tools/ath/athstats/Makefile b/tools/tools/ath/athstats/Makefile
index 8d1bfa6269b4e..a7ff43b4c9c29 100644
--- a/tools/tools/ath/athstats/Makefile
+++ b/tools/tools/ath/athstats/Makefile
@@ -23,9 +23,7 @@ CFLAGS+=-DATH_SUPPORT_TDMA
CFLAGS.clang+= -fbracket-depth=512
-USEPRIVATELIB= bsdstat
-
-LDADD= ${LDBSDSTAT}
+LIBADD= bsdstat
opt_ah.h:
echo "#define AH_DEBUG 1" > opt_ah.h
diff --git a/tools/tools/mwl/mwlstats/Makefile b/tools/tools/mwl/mwlstats/Makefile
index 4a3c5d3282fd9..16decd1a4cd07 100644
--- a/tools/tools/mwl/mwlstats/Makefile
+++ b/tools/tools/mwl/mwlstats/Makefile
@@ -5,8 +5,7 @@ BINDIR= /usr/local/bin
MAN=
SRCS= main.c mwlstats.c
-USEPRIVATELIB=
-LDADD=-lbsdstat
+LIBADD= bsdstat
.include <bsd.prog.mk>
diff --git a/tools/tools/net80211/wlanstats/Makefile b/tools/tools/net80211/wlanstats/Makefile
index 65d6468a9db53..dbd53a67e6370 100644
--- a/tools/tools/net80211/wlanstats/Makefile
+++ b/tools/tools/net80211/wlanstats/Makefile
@@ -5,8 +5,7 @@
PROG= wlanstats
BINDIR= /usr/local/bin
MAN=
-USEPRIVATELIB= bsdstat
-LDADD= ${LDBSDSTAT}
+LIBADD= bsdstat
SRCS= wlanstats.c main.c
diff --git a/tools/tools/npe/npestats/Makefile b/tools/tools/npe/npestats/Makefile
index a4a404c2d8d2f..20f3819447765 100644
--- a/tools/tools/npe/npestats/Makefile
+++ b/tools/tools/npe/npestats/Makefile
@@ -4,7 +4,6 @@ PROG= npestats
SRCS= main.c npestats.c
BINDIR= /usr/local/bin
MAN=
-USEPRIVATELIB=
-LDADD= -lbsdstat
+LIBADD= bsdstat
.include <bsd.prog.mk>