1994-05-27 05:00:24 +00:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 6/4/93
|
1999-10-04 14:56:04 +00:00
|
|
|
# $FreeBSD$
|
1994-05-27 05:00:24 +00:00
|
|
|
|
2016-02-04 21:16:35 +00:00
|
|
|
PACKAGE=lib${LIB}
|
1994-05-27 05:00:24 +00:00
|
|
|
LIB= kvm
|
2014-01-13 19:01:14 +00:00
|
|
|
|
2015-06-15 19:28:07 +00:00
|
|
|
SHLIBDIR?= /lib
|
2016-04-30 09:21:13 +00:00
|
|
|
SHLIB_MAJOR= 7
|
2001-05-18 13:41:42 +00:00
|
|
|
CFLAGS+=-DLIBC_SCCS -I${.CURDIR}
|
2006-10-09 05:12:54 +00:00
|
|
|
|
2017-03-22 02:44:39 +00:00
|
|
|
WARNS?= 6
|
2010-01-02 09:58:07 +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_minidump_mips.c \
|
|
|
|
kvm_powerpc.c kvm_powerpc64.c \
|
|
|
|
kvm_sparc64.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 \
|
2015-11-27 18:58:26 +00:00
|
|
|
kvm_getpcpu.3 kvm_getprocs.3 kvm_getswapinfo.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
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|