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 9SHLIBDIR?= /lib 10CFLAGS+=-I${SYSDIR} 11SRCS= kvm.c kvm_${MACHINE_ARCH}.c kvm_file.c kvm_getloadavg.c \ 12 kvm_getswapinfo.c kvm_proc.c kvm_util.c \ 13 kern_kinfo.c kvm_minidump_${MACHINE_ARCH}.c 14INCS= kvm.h 15WARNS?= 2 16 17MAN= kvm.3 kvm_geterr.3 kvm_getfiles.3 kvm_getloadavg.3 kvm_getprocs.3 \ 18 kvm_getswapinfo.3 kvm_nlist.3 kvm_open.3 kvm_read.3 19 20MLINKS+=kvm_getprocs.3 kvm_getargv.3 kvm_getprocs.3 kvm_getenvv.3 21MLINKS+=kvm_open.3 kvm_close.3 kvm_open.3 kvm_openfiles.3 22MLINKS+=kvm_read.3 kvm_readstr.3 \ 23 kvm_read.3 kvm_write.3 24 25.include <bsd.lib.mk> 26