1994-05-27 05:00:24 +00:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 6/4/93
|
|
|
|
|
|
|
|
LIB= kvm
|
2014-01-13 19:01:14 +00:00
|
|
|
|
2019-09-05 14:13:08 +00:00
|
|
|
PACKAGE= runtime
|
2015-06-15 19:28:07 +00:00
|
|
|
SHLIBDIR?= /lib
|
2016-04-30 09:21:13 +00:00
|
|
|
SHLIB_MAJOR= 7
|
2018-05-22 15:52:22 +00:00
|
|
|
CFLAGS+=-DNO__SCCSID -I${.CURDIR}
|
2006-10-09 05:12:54 +00:00
|
|
|
|
2016-04-30 09:21:13 +00:00
|
|
|
SRCS= kvm.c kvm_cptime.c kvm_getloadavg.c \
|
2016-07-18 01:02:52 +00:00
|
|
|
kvm_getswapinfo.c kvm_pcpu.c kvm_private.c kvm_proc.c kvm_vnet.c \
|
2015-11-27 18:58:26 +00:00
|
|
|
kvm_minidump_aarch64.c \
|
|
|
|
kvm_amd64.c kvm_minidump_amd64.c \
|
|
|
|
kvm_arm.c kvm_minidump_arm.c \
|
|
|
|
kvm_i386.c kvm_minidump_i386.c \
|
|
|
|
kvm_powerpc.c kvm_powerpc64.c \
|
2019-03-05 23:59:55 +00:00
|
|
|
kvm_minidump_riscv.c \
|
2020-02-03 17:35:11 +00:00
|
|
|
kvm_minidump_powerpc64.c kvm_minidump_powerpc64_hpt.c
|
2000-01-14 07:57:47 +00:00
|
|
|
INCS= kvm.h
|
1994-05-27 05:00:24 +00:00
|
|
|
|
2015-11-27 18:58:26 +00:00
|
|
|
LIBADD= elf
|
|
|
|
|
2016-04-30 09:21:13 +00:00
|
|
|
MAN= kvm.3 kvm_getcptime.3 kvm_geterr.3 kvm_getloadavg.3 \
|
2020-02-06 13:21:59 +00:00
|
|
|
kvm_getpcpu.3 kvm_getprocs.3 kvm_getswapinfo.3 kvm_kerndisp.3 \
|
|
|
|
kvm_native.3 kvm_nlist.3 kvm_open.3 kvm_read.3
|
1994-05-27 05:00:24 +00:00
|
|
|
|
2013-04-10 20:26:53 +00:00
|
|
|
MLINKS+=kvm_getpcpu.3 kvm_getmaxcpu.3 \
|
|
|
|
kvm_getpcpu.3 kvm_dpcpu_setcpu.3 \
|
|
|
|
kvm_getpcpu.3 kvm_read_zpcpu.3 \
|
2013-04-11 10:14:28 +00:00
|
|
|
kvm_getpcpu.3 kvm_counter_u64_fetch.3
|
1994-05-27 05:00:24 +00:00
|
|
|
MLINKS+=kvm_getprocs.3 kvm_getargv.3 kvm_getprocs.3 kvm_getenvv.3
|
2015-11-27 18:58:26 +00:00
|
|
|
MLINKS+=kvm_nlist.3 kvm_nlist2.3
|
|
|
|
MLINKS+=kvm_open.3 kvm_close.3 kvm_open.3 kvm_open2.3 kvm_open.3 kvm_openfiles.3
|
|
|
|
MLINKS+=kvm_read.3 kvm_read2.3 kvm_read.3 kvm_write.3
|
1994-05-27 05:00:24 +00:00
|
|
|
|
2017-03-28 17:37:49 +00:00
|
|
|
.include <src.opts.mk>
|
|
|
|
|
2017-08-02 08:14:06 +00:00
|
|
|
HAS_TESTS=
|
2017-03-28 17:37:49 +00:00
|
|
|
SUBDIR.${MK_TESTS}= tests
|
|
|
|
|
1994-05-27 05:00:24 +00:00
|
|
|
.include <bsd.lib.mk>
|