1# $FreeBSD$ 2 3LIB= devstat 4SHLIBDIR?= /lib 5# Bump DEVSTAT_USER_API_VER in devstat.h every time this is incremented. 6SHLIB_MAJOR= 4 7SRCS= devstat.c 8INCS= devstat.h 9 10DPADD+= ${LIBKVM} 11LDADD+= -lkvm 12 13MAN= devstat.3 14 15MLINKS+=devstat.3 devstat_getnumdevs.3 16MLINKS+=devstat.3 devstat_getgeneration.3 17MLINKS+=devstat.3 devstat_getversion.3 18MLINKS+=devstat.3 devstat_checkversion.3 19MLINKS+=devstat.3 devstat_getdevs.3 20MLINKS+=devstat.3 devstat_selectdevs.3 21MLINKS+=devstat.3 devstat_buildmatch.3 22MLINKS+=devstat.3 devstat_compute_statistics.3 23MLINKS+=devstat.3 devstat_compute_etime.3 24MLINKS+=devstat.3 getnumdevs.3 25MLINKS+=devstat.3 getgeneration.3 26MLINKS+=devstat.3 getversion.3 27MLINKS+=devstat.3 checkversion.3 28MLINKS+=devstat.3 getdevs.3 29MLINKS+=devstat.3 selectdevs.3 30MLINKS+=devstat.3 buildmatch.3 31MLINKS+=devstat.3 compute_stats.3 32MLINKS+=devstat.3 compute_etime.3 33 34CFLAGS+=-I${.CURDIR} 35 36WARNS?= 2 37 38.include <bsd.lib.mk> 39