Makefile revision 1.17
11.17Sveego# $NetBSD: Makefile,v 1.17 1997/06/23 22:16:56 veego Exp $ 21.5Scgd# from: @(#)Makefile 8.1 (Berkeley) 6/4/93 31.1Scgd 41.14Smrg.if (${MACHINE} != "arm32") && \ 51.14Smrg (${MACHINE} != "i386") && \ 61.14Smrg (${MACHINE} != "pica") && \ 71.14Smrg (${MACHINE} != "pmax") && \ 81.14Smrg (${MACHINE} != "x68k") 91.1ScgdLIB= kvm 101.5ScgdCFLAGS+=-DLIBC_SCCS 111.6Schopps 121.12SgwrSRCS= kvm.c kvm_file.c kvm_getloadavg.c kvm_proc.c 131.12Sgwr 141.12Sgwr# This library should compile to the same thing on all variants of 151.12Sgwr# ${MACHINE} with the same ${MACHINE_ARCH} so shared /usr works. 161.13Sgwr# If it is necessary to run different code based on ${MACHINE} then 171.12Sgwr# the dispatch on ${MACHINE} should be done at run time (see m68k). 181.12Sgwr 191.12SgwrSRCS+= kvm_${MACHINE_ARCH}.c 201.12Sgwr 211.12Sgwr# Additional modules needed for m68k 221.12Sgwr.if (${MACHINE_ARCH} == "m68k") 231.12SgwrSRCS+= kvm_m68k_cmn.c kvm_sun3.c kvm_sun3x.c 241.14Smrg.endif 251.7Sgwr.endif 261.4Scgd 271.10SleoMAN= kvm.3 kvm_dump.3 kvm_geterr.3 kvm_getfiles.3 kvm_getloadavg.3 \ 281.10Sleo kvm_getprocs.3 kvm_nlist.3 kvm_open.3 kvm_read.3 291.4Scgd 301.4ScgdMLINKS+=kvm_getprocs.3 kvm_getargv.3 kvm_getprocs.3 kvm_getenvv.3 311.4ScgdMLINKS+=kvm_open.3 kvm_openfiles.3 kvm_open.3 kvm_close.3 321.4ScgdMLINKS+=kvm_read.3 kvm_write.3 331.10SleoMLINKS+=kvm_dump.3 kvm_dump_mkheader.3 kvm_dump.3 kvm_dump_wrtheader.3 341.10SleoMLINKS+=kvm_dump.3 kvm_dump_inval.3 351.1Scgd 361.15Sveego.if (${MACHINE} != "arm32") && \ 371.15Sveego (${MACHINE} != "i386") && \ 381.15Sveego (${MACHINE} != "pica") && \ 391.15Sveego (${MACHINE} != "pmax") && \ 401.15Sveego (${MACHINE} != "x68k") 411.1Scgd.include <bsd.lib.mk> 421.15Sveego.else 431.17Sveego.include <bsd.prog.mk> 441.15Sveego.endif 45