summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authortmm <tmm@FreeBSD.org>2001-08-04 18:25:48 +0000
committertmm <tmm@FreeBSD.org>2001-08-04 18:25:48 +0000
commit37ac1a7962312051ecd4d5ac042973e6aab74d8b (patch)
tree7d17ce05945ef823f56eb89340dc45319d280c7c /Makefile.inc1
parentfb501835eb47e231e6b2d8920c356d3f67c98853 (diff)
downloadFreeBSD-src-37ac1a7962312051ecd4d5ac042973e6aab74d8b.zip
FreeBSD-src-37ac1a7962312051ecd4d5ac042973e6aab74d8b.tar.gz
Add some features to libdevstat, and overhaul the interface a bit:
1.) prefix all functions in the library with devstat_ (compatability functions are available for all functions that were chaned in an incompatible way, but are deprecated). 2.) Add a pointer to a kvm_t as the first argument to functions that used to get their information via sysctl; they behave the same as before when NULL is passed as this argument, otherwise, the information is obtained via libkvm using the supplied handle. 3.) Add a new function, devstat_compute_statistics(), that is intended to replace the old compute_stats() function. It offers more statistics data, and has a more flexible interface. libdevstat does now require libkvm; a library depedency is added, so that libkvm only needs to be explicitely specified for statically linked programs. The library major version number is bumped. Submitted by: Sergey A. Osokin <osa@freebsd.org.ru>, ken (3) Reviewed by: ken
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc13
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 240f774..ca52cbe 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -735,6 +735,7 @@ includes:
# libatm: libmd
# libcam: libsbuf
# libcrypt: libmd
+# libdevstat: libkvm
# libdialog: libncurses
# libedit: libncurses
# libg++: libm
@@ -793,7 +794,7 @@ _libperl= gnu/usr.bin/perl/libperl
libraries:
.for _lib in ${_csu} gnu/lib/csu gnu/lib/libgcc lib/libmd lib/libcrypt \
${_secure_lib} ${_kerberosIV_lib} \
- ${_kerberos5_lib} lib/libcom_err ${_libm} lib/libncurses \
+ ${_kerberos5_lib} lib/libcom_err lib/libkvm ${_libm} lib/libncurses \
lib/libopie lib/libradius lib/libsbuf lib/libtacplus \
lib/libutil lib/libz lib gnu/lib ${_libperl} usr.bin/lex/lib ${_libkeycap}
.if exists(${.CURDIR}/${_lib})
OpenPOWER on IntegriCloud