1# @(#)Makefile 8.1 (Berkeley) 6/4/93 2# $FreeBSD: src/lib/libkvm/Makefile,v 1.9.2.1 2001/04/25 10:04:32 ru Exp $ 3# $DragonFly: src/lib/libkvm/Makefile,v 1.6 2008/10/28 17:23:45 swildner Exp $ 4 5SYSDIR= ${.CURDIR}/../../sys 6.PATH: ${SYSDIR}/kern 7 8LIB= kvm 9CFLAGS+=-I${SYSDIR} 10SRCS= kvm.c kvm_${MACHINE_ARCH}.c kvm_file.c kvm_getloadavg.c \ 11 kvm_getswapinfo.c kvm_proc.c kvm_util.c \ 12 kern_kinfo.c kvm_minidump_${MACHINE_ARCH}.c 13INCS= kvm.h 14WARNS?= 2 15 16MAN= kvm.3 kvm_geterr.3 kvm_getfiles.3 kvm_getloadavg.3 kvm_getprocs.3 \ 17 kvm_getswapinfo.3 kvm_nlist.3 kvm_open.3 kvm_read.3 18 19MLINKS+=kvm_getprocs.3 kvm_getargv.3 kvm_getprocs.3 kvm_getenvv.3 20MLINKS+=kvm_open.3 kvm_close.3 kvm_open.3 kvm_openfiles.3 21MLINKS+=kvm_read.3 kvm_readstr.3 \ 22 kvm_read.3 kvm_write.3 23 24.include <bsd.lib.mk> 25