1# @(#)Makefile 8.1 (Berkeley) 6/4/93 2# $FreeBSD$ 3 4PACKAGE=lib${LIB} 5LIB= kvm 6 7SHLIBDIR?= /lib 8SHLIB_MAJOR= 6 9CFLAGS+=-DLIBC_SCCS -I${.CURDIR} 10 11WARNS?= 3 12 13SRCS= kvm.c kvm_cptime.c kvm_file.c kvm_getloadavg.c \ 14 kvm_getswapinfo.c kvm_pcpu.c kvm_proc.c kvm_vnet.c \ 15 kvm_minidump_aarch64.c \ 16 kvm_amd64.c kvm_minidump_amd64.c \ 17 kvm_arm.c kvm_minidump_arm.c \ 18 kvm_i386.c kvm_minidump_i386.c \ 19 kvm_minidump_mips.c \ 20 kvm_powerpc.c kvm_powerpc64.c \ 21 kvm_sparc64.c 22INCS= kvm.h 23 24LIBADD= elf 25 26MAN= kvm.3 kvm_getcptime.3 kvm_geterr.3 kvm_getfiles.3 kvm_getloadavg.3 \ 27 kvm_getpcpu.3 kvm_getprocs.3 kvm_getswapinfo.3 kvm_native.3 \ 28 kvm_nlist.3 kvm_open.3 kvm_read.3 29 30MLINKS+=kvm_getpcpu.3 kvm_getmaxcpu.3 \ 31 kvm_getpcpu.3 kvm_dpcpu_setcpu.3 \ 32 kvm_getpcpu.3 kvm_read_zpcpu.3 \ 33 kvm_getpcpu.3 kvm_counter_u64_fetch.3 34MLINKS+=kvm_getprocs.3 kvm_getargv.3 kvm_getprocs.3 kvm_getenvv.3 35MLINKS+=kvm_nlist.3 kvm_nlist2.3 36MLINKS+=kvm_open.3 kvm_close.3 kvm_open.3 kvm_open2.3 kvm_open.3 kvm_openfiles.3 37MLINKS+=kvm_read.3 kvm_read2.3 kvm_read.3 kvm_write.3 38 39.include <bsd.lib.mk> 40