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
|
|
|
|
|
|
|
LIB= kvm
|
1997-08-26 14:13:02 +00:00
|
|
|
CFLAGS+=-DLIBC_SCCS -I${.CURDIR}/../../sys
|
1999-01-23 07:55:15 +00:00
|
|
|
SRCS= kvm.c kvm_${MACHINE_ARCH}.c kvm_file.c kvm_getloadavg.c \
|
|
|
|
kvm_getswapinfo.c kvm_proc.c
|
1994-05-27 05:00:24 +00:00
|
|
|
|
1994-08-05 01:42:04 +00:00
|
|
|
MAN3= kvm.3 kvm_geterr.3 kvm_getfiles.3 kvm_getloadavg.3 kvm_getprocs.3 \
|
1999-01-23 07:55:15 +00:00
|
|
|
kvm_getswapinfo.3 kvm_nlist.3 kvm_open.3 kvm_read.3
|
1994-05-27 05:00:24 +00:00
|
|
|
|
|
|
|
MLINKS+=kvm_getprocs.3 kvm_getargv.3 kvm_getprocs.3 kvm_getenvv.3
|
1999-01-23 07:55:15 +00:00
|
|
|
MLINKS+=kvm_open.3 kvm_close.3 kvm_open.3 kvm_openfiles.3
|
1994-05-27 05:00:24 +00:00
|
|
|
MLINKS+=kvm_read.3 kvm_write.3
|
|
|
|
|
1999-10-04 14:56:04 +00:00
|
|
|
beforeinstall:
|
|
|
|
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/kvm.h \
|
|
|
|
${DESTDIR}/usr/include
|
|
|
|
|
1994-05-27 05:00:24 +00:00
|
|
|
.include <bsd.lib.mk>
|