Makefile revision 1.13
11.13Sgwr# $NetBSD: Makefile,v 1.13 1997/03/21 18:48:58 gwr Exp $ 21.5Scgd# from: @(#)Makefile 8.1 (Berkeley) 6/4/93 31.1Scgd 41.1ScgdLIB= kvm 51.5ScgdCFLAGS+=-DLIBC_SCCS 61.6Schopps 71.12SgwrSRCS= kvm.c kvm_file.c kvm_getloadavg.c kvm_proc.c 81.12Sgwr 91.12Sgwr# This library should compile to the same thing on all variants of 101.12Sgwr# ${MACHINE} with the same ${MACHINE_ARCH} so shared /usr works. 111.13Sgwr# If it is necessary to run different code based on ${MACHINE} then 121.12Sgwr# the dispatch on ${MACHINE} should be done at run time (see m68k). 131.12Sgwr 141.12SgwrSRCS+= kvm_${MACHINE_ARCH}.c 151.12Sgwr 161.12Sgwr# Additional modules needed for m68k 171.12Sgwr.if (${MACHINE_ARCH} == "m68k") 181.12SgwrSRCS+= kvm_m68k_cmn.c kvm_sun3.c kvm_sun3x.c 191.7Sgwr.endif 201.4Scgd 211.10SleoMAN= kvm.3 kvm_dump.3 kvm_geterr.3 kvm_getfiles.3 kvm_getloadavg.3 \ 221.10Sleo kvm_getprocs.3 kvm_nlist.3 kvm_open.3 kvm_read.3 231.4Scgd 241.4ScgdMLINKS+=kvm_getprocs.3 kvm_getargv.3 kvm_getprocs.3 kvm_getenvv.3 251.4ScgdMLINKS+=kvm_open.3 kvm_openfiles.3 kvm_open.3 kvm_close.3 261.4ScgdMLINKS+=kvm_read.3 kvm_write.3 271.10SleoMLINKS+=kvm_dump.3 kvm_dump_mkheader.3 kvm_dump.3 kvm_dump_wrtheader.3 281.10SleoMLINKS+=kvm_dump.3 kvm_dump_inval.3 291.1Scgd 301.1Scgd.include <bsd.lib.mk> 31