Ignore machine-check MSRs
[freebsd-src/fkvm-freebsd.git] / lib / libkvm / Makefile
blob3ca8427e199ae65ad357b3bd7fcd364599618442
1 # @(#)Makefile 8.1 (Berkeley) 6/4/93
2 # $FreeBSD$
4 LIB= kvm
5 SHLIBDIR?= /lib
6 CFLAGS+=-DLIBC_SCCS -I${.CURDIR}
8 .if ${MACHINE} == "sun4v"
9 CFLAGS+=-DSUN4V
10 .endif
12 SRCS= kvm.c kvm_${MACHINE_ARCH}.c kvm_cptime.c kvm_file.c kvm_getloadavg.c \
13 kvm_getswapinfo.c kvm_pcpu.c kvm_proc.c
14 .if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
15 SRCS+= kvm_minidump_${MACHINE_ARCH}.c
16 .endif
17 INCS= kvm.h
19 MAN= kvm.3 kvm_getcptime.3 kvm_geterr.3 kvm_getfiles.3 kvm_getloadavg.3 \
20 kvm_getpcpu.3 kvm_getprocs.3 kvm_getswapinfo.3 kvm_nlist.3 kvm_open.3 \
21 kvm_read.3
23 MLINKS+=kvm_getpcpu.3 kvm_getmaxcpu.3
24 MLINKS+=kvm_getprocs.3 kvm_getargv.3 kvm_getprocs.3 kvm_getenvv.3
25 MLINKS+=kvm_open.3 kvm_close.3 kvm_open.3 kvm_openfiles.3
26 MLINKS+=kvm_read.3 kvm_write.3
28 .include <bsd.lib.mk>