kernel/nvmm: Fix doing just 'make depend' in the module directory.
[dragonfly.git] / lib / libkvm / Makefile
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
4 SYSDIR= ${.CURDIR}/../../sys
5 .PATH:  ${SYSDIR}/kern
6
7 LIB=    kvm
8 SHLIBDIR?= /lib
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 kvm_vm_map.c \
12         kern_kinfo.c kvm_minidump_${MACHINE_ARCH}.c
13 INCS=   kvm.h
14
15 MAN=    kvm.3 kvm_geterr.3 kvm_getfiles.3 kvm_getloadavg.3 kvm_getprocs.3 \
16         kvm_getswapinfo.3 kvm_nlist.3 kvm_open.3 kvm_read.3
17
18 MLINKS+=kvm_getprocs.3 kvm_getargv.3 kvm_getprocs.3 kvm_getenvv.3
19 MLINKS+=kvm_open.3 kvm_close.3 kvm_open.3 kvm_openfiles.3
20 MLINKS+=kvm_read.3 kvm_readstr.3 \
21         kvm_read.3 kvm_write.3
22
23 .include <bsd.lib.mk>