Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Aug 2014 19:43:23 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r269951 - in head: share/mk tools/tools/ath/athaggrstats tools/tools/ath/athstats
Message-ID:  <201408131943.s7DJhNiq005031@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Wed Aug 13 19:43:22 2014
New Revision: 269951
URL: http://svnweb.freebsd.org/changeset/base/269951

Log:
  Make the libbsdstat useful again.

Modified:
  head/share/mk/src.libnames.mk
  head/tools/tools/ath/athaggrstats/Makefile
  head/tools/tools/ath/athstats/Makefile

Modified: head/share/mk/src.libnames.mk
==============================================================================
--- head/share/mk/src.libnames.mk	Wed Aug 13 19:06:29 2014	(r269950)
+++ head/share/mk/src.libnames.mk	Wed Aug 13 19:43:22 2014	(r269951)
@@ -17,6 +17,10 @@ LIBATF_CXXDIR=	${ROOTOBJDIR}/lib/atf/lib
 LDATF_CXX?=	${LIBATF_CXXDIR}/libatf-c++.so
 LIBATF_CXX?=	${LIBATF_CXXDIR}/libatf-c++.a
 
+LIBBSDSTATDIR=	${ROOTOBJDIR}/lib/libbsdstat
+LDBSDSTAT?=	${LIBBSDSTATDIR}/libbsdstat.so
+LIBBSDSTAT?=	${LIBBSDSTATDIR}/libbsdstat.a
+
 LIBHEIMIPCCDIR=	${ROOTOBJDIR}/kerberos5/lib/libheimipcc
 LDHEIMIPCC?=	${LIBHEIMIPCCDIR}/libheimipcc.so
 LIBHEIMIPCC?=	${LIBHEIMIPCCDIR}/libheimipcc.a

Modified: head/tools/tools/ath/athaggrstats/Makefile
==============================================================================
--- head/tools/tools/ath/athaggrstats/Makefile	Wed Aug 13 19:06:29 2014	(r269950)
+++ head/tools/tools/ath/athaggrstats/Makefile	Wed Aug 13 19:43:22 2014	(r269951)
@@ -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

Modified: head/tools/tools/ath/athstats/Makefile
==============================================================================
--- head/tools/tools/ath/athstats/Makefile	Wed Aug 13 19:06:29 2014	(r269950)
+++ head/tools/tools/ath/athstats/Makefile	Wed Aug 13 19:43:22 2014	(r269951)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408131943.s7DJhNiq005031>