1996-03-19 01:33:07 +03:00
|
|
|
# $NetBSD: Makefile,v 1.11 1996/03/18 22:33:07 thorpej Exp $
|
1994-05-09 08:09:21 +04:00
|
|
|
# from: @(#)Makefile 8.1 (Berkeley) 6/4/93
|
1994-01-28 02:31:08 +03:00
|
|
|
|
|
|
|
LIB= kvm
|
1994-05-09 08:09:21 +04:00
|
|
|
CFLAGS+=-DLIBC_SCCS
|
1994-05-16 09:31:19 +04:00
|
|
|
|
1994-07-29 01:46:34 +04:00
|
|
|
# Try most specific name first.
|
|
|
|
.if exists(kvm_${MACHINE}.c)
|
|
|
|
SRCS= kvm_${MACHINE}.c
|
|
|
|
.else
|
|
|
|
# Less specific name (i.e. m68k)
|
1994-05-16 09:31:19 +04:00
|
|
|
CFLAGS+=-D${MACHINE}
|
|
|
|
SRCS= kvm_${MACHINE_ARCH}.c
|
|
|
|
.endif
|
|
|
|
|
|
|
|
SRCS+= kvm.c kvm_file.c kvm_getloadavg.c kvm_proc.c
|
1994-05-09 07:17:28 +04:00
|
|
|
|
1996-03-19 00:11:10 +03:00
|
|
|
MAN= kvm.3 kvm_dump.3 kvm_geterr.3 kvm_getfiles.3 kvm_getloadavg.3 \
|
|
|
|
kvm_getprocs.3 kvm_nlist.3 kvm_open.3 kvm_read.3
|
1994-05-09 07:17:28 +04:00
|
|
|
|
|
|
|
MLINKS+=kvm_getprocs.3 kvm_getargv.3 kvm_getprocs.3 kvm_getenvv.3
|
|
|
|
MLINKS+=kvm_open.3 kvm_openfiles.3 kvm_open.3 kvm_close.3
|
|
|
|
MLINKS+=kvm_read.3 kvm_write.3
|
1996-03-19 00:11:10 +03:00
|
|
|
MLINKS+=kvm_dump.3 kvm_dump_mkheader.3 kvm_dump.3 kvm_dump_wrtheader.3
|
|
|
|
MLINKS+=kvm_dump.3 kvm_dump_inval.3
|
1994-01-28 02:31:08 +03:00
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|