Makefile revision 1.24
11.24Sperry# $NetBSD: Makefile,v 1.24 1998/02/18 03:55:11 perry Exp $ 21.5Scgd# from: @(#)Makefile 8.1 (Berkeley) 6/4/93 31.1Scgd 41.23Sthorpej.if (${MACHINE} != "pica") && \ 51.19Soki (${MACHINE} != "pmax") 61.1ScgdLIB= kvm 71.21SlukemCPPFLAGS+=-DLIBC_SCCS 81.6Schopps 91.12SgwrSRCS= kvm.c kvm_file.c kvm_getloadavg.c kvm_proc.c 101.12Sgwr 111.12Sgwr# This library should compile to the same thing on all variants of 121.12Sgwr# ${MACHINE} with the same ${MACHINE_ARCH} so shared /usr works. 131.13Sgwr# If it is necessary to run different code based on ${MACHINE} then 141.12Sgwr# the dispatch on ${MACHINE} should be done at run time (see m68k). 151.12Sgwr 161.12SgwrSRCS+= kvm_${MACHINE_ARCH}.c 171.12Sgwr 181.12Sgwr# Additional modules needed for m68k 191.12Sgwr.if (${MACHINE_ARCH} == "m68k") 201.12SgwrSRCS+= kvm_m68k_cmn.c kvm_sun3.c kvm_sun3x.c 211.14Smrg.endif 221.7Sgwr.endif 231.4Scgd 241.10SleoMAN= kvm.3 kvm_dump.3 kvm_geterr.3 kvm_getfiles.3 kvm_getloadavg.3 \ 251.10Sleo kvm_getprocs.3 kvm_nlist.3 kvm_open.3 kvm_read.3 261.4Scgd 271.4ScgdMLINKS+=kvm_getprocs.3 kvm_getargv.3 kvm_getprocs.3 kvm_getenvv.3 281.4ScgdMLINKS+=kvm_open.3 kvm_openfiles.3 kvm_open.3 kvm_close.3 291.4ScgdMLINKS+=kvm_read.3 kvm_write.3 301.10SleoMLINKS+=kvm_dump.3 kvm_dump_mkheader.3 kvm_dump.3 kvm_dump_wrtheader.3 311.10SleoMLINKS+=kvm_dump.3 kvm_dump_inval.3 321.1Scgd 331.23Sthorpej.if (${MACHINE} != "pica") && \ 341.20Soki (${MACHINE} != "pmax") 351.1Scgd.include <bsd.lib.mk> 361.15Sveego.else 371.17Sveego.include <bsd.prog.mk> 381.22Smrg.endif 391.22Smrg 401.22Smrg# XXX 411.22Smrg.if defined(UVM) 421.22SmrgCPPFLAGS+= -DUVM 431.24Sperry.endif 441.24Sperry.if defined(PMAP_NEW) 451.24SperryCPPFLAGS+= -DPMAP_NEW 461.15Sveego.endif 47