dma: better logic for guessing username
[dragonfly.git] / lib / libkvm / Makefile
blob2da0320fa533172c753848639ad92e9b4b930c3e
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 $
5 SYSDIR= ${.CURDIR}/../../sys
6 .PATH: ${SYSDIR}/kern
8 LIB= kvm
9 CFLAGS+=-I${SYSDIR}
10 SRCS= 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
13 INCS= kvm.h
14 WARNS?= 2
16 MAN= 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
19 MLINKS+=kvm_getprocs.3 kvm_getargv.3 kvm_getprocs.3 kvm_getenvv.3
20 MLINKS+=kvm_open.3 kvm_close.3 kvm_open.3 kvm_openfiles.3
21 MLINKS+=kvm_read.3 kvm_readstr.3 \
22 kvm_read.3 kvm_write.3
24 .include <bsd.lib.mk>