1997-10-23 06:28:37 +04:00
|
|
|
# $NetBSD: Makefile,v 1.8 1997/10/23 02:28:37 lukem Exp $
|
1996-03-16 13:05:24 +03:00
|
|
|
# from: @(#)Makefile 8.1 (Berkeley) 6/4/93
|
1996-04-01 23:28:03 +04:00
|
|
|
|
|
|
|
.PATH: ${.CURDIR}/../libkvm
|
1996-03-16 13:05:24 +03:00
|
|
|
|
|
|
|
LIB= kvm
|
1997-10-23 06:28:37 +04:00
|
|
|
CPPFLAGS+=-DLIBC_SCCS
|
|
|
|
CPPFLAGS+=-I- -I${.CURDIR}
|
1996-03-16 13:05:24 +03:00
|
|
|
|
|
|
|
# Try most specific name first.
|
|
|
|
.if exists(kvm_${MACHINE}.c)
|
|
|
|
SRCS= kvm_${MACHINE}.c
|
|
|
|
.else
|
|
|
|
# Less specific name (i.e. m68k)
|
1997-10-23 06:28:37 +04:00
|
|
|
CPPFLAGS+=-D${MACHINE}
|
1996-03-16 13:05:24 +03:00
|
|
|
SRCS= kvm_${MACHINE_ARCH}.c
|
|
|
|
.endif
|
|
|
|
|
|
|
|
SRCS+= kvm.c kvm_file.c kvm_getloadavg.c kvm_proc.c
|
1997-06-23 08:51:16 +04:00
|
|
|
NOMAN= yes
|
1996-03-16 13:05:24 +03:00
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|