summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2014-08-25 06:14:57 +0000
committeradrian <adrian@FreeBSD.org>2014-08-25 06:14:57 +0000
commit3359ac4cc80c5bfa33ddd735dd5142a0f85803e7 (patch)
treea1599f3bd73af795fa712d025cd964c89c2ba819 /tools
parentc30d19f1d1afc3ea7f452c363b087dd876047f92 (diff)
downloadFreeBSD-src-3359ac4cc80c5bfa33ddd735dd5142a0f85803e7.zip
FreeBSD-src-3359ac4cc80c5bfa33ddd735dd5142a0f85803e7.tar.gz
Update these to make them actually compile!
Tested: * cross compilation to MIPS
Diffstat (limited to 'tools')
-rw-r--r--tools/tools/ath/athaggrstats/Makefile4
-rw-r--r--tools/tools/net80211/wlanstats/Makefile5
2 files changed, 5 insertions, 4 deletions
diff --git a/tools/tools/ath/athaggrstats/Makefile b/tools/tools/ath/athaggrstats/Makefile
index c73e4fa..43e2a66 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=/usr/lib/private/libbsdstat.so.1
+USEPRIVATELIB= bsdstat
+LDADD= ${LDBSDSTAT}
opt_ah.h:
echo "#define AH_DEBUG 1" > opt_ah.h
diff --git a/tools/tools/net80211/wlanstats/Makefile b/tools/tools/net80211/wlanstats/Makefile
index 39a4b3b..65d6468 100644
--- a/tools/tools/net80211/wlanstats/Makefile
+++ b/tools/tools/net80211/wlanstats/Makefile
@@ -5,10 +5,11 @@
PROG= wlanstats
BINDIR= /usr/local/bin
MAN=
-USEPRIVATELIB=
+USEPRIVATELIB= bsdstat
+LDADD= ${LDBSDSTAT}
SRCS= wlanstats.c main.c
-LDADD= -lbsdstat
+
CFLAGS.clang+= -fbracket-depth=512
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud