Makefile (1a0fda2b547365c9453523592a445dfe21266d4b) Makefile (25faff346c8453b8248f99c7cff71708262faa37)
1# @(#)Makefile 8.1 (Berkeley) 6/4/93
2# $FreeBSD$
3
4LIB= kvm
5SHLIBDIR?= /lib
6CFLAGS+=-DLIBC_SCCS -I${.CURDIR}
7
8.if ${MACHINE} == "sun4v"
9CFLAGS+=-DSUN4V
10.endif
11
12WARNS?= 0
13
1# @(#)Makefile 8.1 (Berkeley) 6/4/93
2# $FreeBSD$
3
4LIB= kvm
5SHLIBDIR?= /lib
6CFLAGS+=-DLIBC_SCCS -I${.CURDIR}
7
8.if ${MACHINE} == "sun4v"
9CFLAGS+=-DSUN4V
10.endif
11
12WARNS?= 0
13
14SRCS= kvm.c kvm_${MACHINE_ARCH}.c kvm_cptime.c kvm_file.c kvm_getloadavg.c \
14SRCS= kvm.c kvm_${MACHINE_CPUARCH}.c kvm_cptime.c kvm_file.c kvm_getloadavg.c \
15 kvm_getswapinfo.c kvm_pcpu.c kvm_proc.c kvm_vnet.c
15 kvm_getswapinfo.c kvm_pcpu.c kvm_proc.c kvm_vnet.c
16.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "arm"
17SRCS+= kvm_minidump_${MACHINE_ARCH}.c
16.if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386" || \
17 ${MACHINE_CPUARCH} == "arm"
18SRCS+= kvm_minidump_${MACHINE_CPUARCH}.c
18.endif
19INCS= kvm.h
20
21MAN= kvm.3 kvm_getcptime.3 kvm_geterr.3 kvm_getfiles.3 kvm_getloadavg.3 \
22 kvm_getpcpu.3 kvm_getprocs.3 kvm_getswapinfo.3 kvm_nlist.3 kvm_open.3 \
23 kvm_read.3
24
25MLINKS+=kvm_getpcpu.3 kvm_getmaxcpu.3
26MLINKS+=kvm_getpcpu.3 kvm_dpcpu_setcpu.3
27MLINKS+=kvm_getprocs.3 kvm_getargv.3 kvm_getprocs.3 kvm_getenvv.3
28MLINKS+=kvm_open.3 kvm_close.3 kvm_open.3 kvm_openfiles.3
29MLINKS+=kvm_read.3 kvm_write.3
30
31.include <bsd.lib.mk>
19.endif
20INCS= kvm.h
21
22MAN= kvm.3 kvm_getcptime.3 kvm_geterr.3 kvm_getfiles.3 kvm_getloadavg.3 \
23 kvm_getpcpu.3 kvm_getprocs.3 kvm_getswapinfo.3 kvm_nlist.3 kvm_open.3 \
24 kvm_read.3
25
26MLINKS+=kvm_getpcpu.3 kvm_getmaxcpu.3
27MLINKS+=kvm_getpcpu.3 kvm_dpcpu_setcpu.3
28MLINKS+=kvm_getprocs.3 kvm_getargv.3 kvm_getprocs.3 kvm_getenvv.3
29MLINKS+=kvm_open.3 kvm_close.3 kvm_open.3 kvm_openfiles.3
30MLINKS+=kvm_read.3 kvm_write.3
31
32.include <bsd.lib.mk>