summaryrefslogtreecommitdiffstats
path: root/lib/Makefile
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 /lib/Makefile
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 'lib/Makefile')
-rw-r--r--lib/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 4982ef2..54d1bbc 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -7,6 +7,7 @@
# csu must be built before all shared libaries for ELF.
# libcom_err must be built before libkrb, libpam and libss.
# libcrypt must be built before libkrb and libpam.
+# libkvm must be built before libdevstat.
# msun must be built before libg++ and libstdc++.
# libmd must be built before libatm, libopie, libradius, and libtacplus.
# libncurses must be built before libdialog, libedit and libreadline.
@@ -18,12 +19,12 @@
#
# Otherwise, the SUBDIR list should be in alphabetical order.
-SUBDIR= ${_csu} libcom_err libcrypt msun libmd \
+SUBDIR= ${_csu} libcom_err libcrypt libkvm msun libmd \
libncurses libradius libtacplus libutil libsbuf \
${_compat} libalias libatm ${_libbind} libbz2 libc ${_libc_r} \
libcalendar libcam libcompat libdevinfo libdevstat libdisk \
libedit libfetch libform libftpio libgnumalloc ${_libio} libipsec \
- libipx libisc libkvm libmenu ${_libmp} ${_libncp} \
+ libipx libisc libmenu ${_libmp} ${_libncp} \
libnetgraph libopie libpam libpanel libpcap \
libresolv librpcsvc libsmdb libsmutil libss \
libstand ${_libtelnet} libusb ${_libvgl} libwrap libxpg4 liby libz
OpenPOWER on IntegriCloud