aboutsummaryrefslogtreecommitdiff
path: root/tools/tools/ath
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2014-08-13 19:43:22 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2014-08-13 19:43:22 +0000
commit51bfac02531529c8d7df27c05cd1cb78d9af8ec6 (patch)
tree8560297bcf0fd12c6019c60e646ad33760d083f0 /tools/tools/ath
parenta232c1d130d2be47e1b20fe4bff2933ac34278b3 (diff)
downloadsrc-51bfac02531529c8d7df27c05cd1cb78d9af8ec6.tar.gz
src-51bfac02531529c8d7df27c05cd1cb78d9af8ec6.zip
Make the libbsdstat useful again.
Notes
Notes: svn path=/head/; revision=269951
Diffstat (limited to 'tools/tools/ath')
-rw-r--r--tools/tools/ath/athaggrstats/Makefile4
-rw-r--r--tools/tools/ath/athstats/Makefile5
2 files changed, 5 insertions, 4 deletions
diff --git a/tools/tools/ath/athaggrstats/Makefile b/tools/tools/ath/athaggrstats/Makefile
index aa66e68a4b7a..482a0c26fbf9 100644
--- a/tools/tools/ath/athaggrstats/Makefile
+++ b/tools/tools/ath/athaggrstats/Makefile
@@ -12,8 +12,8 @@ CLEANFILES+= opt_ah.h
CFLAGS+=-DATH_SUPPORT_ANI
CFLAGS+=-DATH_SUPPORT_TDMA
-USEPRIVATELIB=
-LDADD=-lbsdstat
+USEPRIVATELIB=bsdstat
+LDADD= ${LDBSDSTAT}
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 13093f548c91..8d1bfa6269b4 100644
--- a/tools/tools/ath/athstats/Makefile
+++ b/tools/tools/ath/athstats/Makefile
@@ -23,8 +23,9 @@ CFLAGS+=-DATH_SUPPORT_TDMA
CFLAGS.clang+= -fbracket-depth=512
-USEPRIVATELIB=
-LDADD= -lbsdstat
+USEPRIVATELIB= bsdstat
+
+LDADD= ${LDBSDSTAT}
opt_ah.h:
echo "#define AH_DEBUG 1" > opt_ah.h