Makefile (cab68f571e1999f55d9c7a57db2a86acd1880736) Makefile (794a9a6c96abe0413fbaf3a7f116e0a0e84e0e85)
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
12SRCS= kvm.c kvm_${MACHINE_ARCH}.c kvm_file.c kvm_getloadavg.c \
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
12SRCS= kvm.c kvm_${MACHINE_ARCH}.c kvm_file.c kvm_getloadavg.c \
13 kvm_getswapinfo.c kvm_proc.c
13 kvm_getswapinfo.c kvm_pcpu.c kvm_proc.c
14.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
15SRCS+= kvm_minidump_${MACHINE_ARCH}.c
16.endif
17INCS= kvm.h
18
14.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
15SRCS+= kvm_minidump_${MACHINE_ARCH}.c
16.endif
17INCS= kvm.h
18
19MAN= kvm.3 kvm_geterr.3 kvm_getfiles.3 kvm_getloadavg.3 kvm_getprocs.3 \
20 kvm_getswapinfo.3 kvm_nlist.3 kvm_open.3 kvm_read.3
19MAN= kvm.3 kvm_geterr.3 kvm_getfiles.3 kvm_getloadavg.3 kvm_getpcpu.3 \
20 kvm_getprocs.3 kvm_getswapinfo.3 kvm_nlist.3 kvm_open.3
21
21
22MLINKS+=kvm_getpcpu.3 kvm_getmaxcpu.3
22MLINKS+=kvm_getprocs.3 kvm_getargv.3 kvm_getprocs.3 kvm_getenvv.3
23MLINKS+=kvm_open.3 kvm_close.3 kvm_open.3 kvm_openfiles.3
24MLINKS+=kvm_read.3 kvm_write.3
25
26.include <bsd.lib.mk>
23MLINKS+=kvm_getprocs.3 kvm_getargv.3 kvm_getprocs.3 kvm_getenvv.3
24MLINKS+=kvm_open.3 kvm_close.3 kvm_open.3 kvm_openfiles.3
25MLINKS+=kvm_read.3 kvm_write.3
26
27.include <bsd.lib.mk>