summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2014-08-13 19:43:22 +0000
committeradrian <adrian@FreeBSD.org>2014-08-13 19:43:22 +0000
commita3da4574a50a2107704e11ad5662e78e2007705c (patch)
tree8560297bcf0fd12c6019c60e646ad33760d083f0 /tools
parent929929f045e0873c3ee14b3b15434806c696565e (diff)
downloadFreeBSD-src-a3da4574a50a2107704e11ad5662e78e2007705c.zip
FreeBSD-src-a3da4574a50a2107704e11ad5662e78e2007705c.tar.gz
Make the libbsdstat useful again.
Diffstat (limited to 'tools')
-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 aa66e68..482a0c2 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 13093f5..8d1bfa6 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
OpenPOWER on IntegriCloud