1 2.PATH: ${SRCTOP}/sys/dev/mem 3.PATH: ${SRCTOP}/sys/${MACHINE}/${MACHINE} 4.PATH: ${SRCTOP}/sys/${MACHINE_CPUARCH}/${MACHINE_CPUARCH} 5.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" 6.PATH: ${SRCTOP}/sys/x86/x86 7.endif 8 9KMOD= mem 10SRCS= mem.c memdev.c memutil.c 11.if ${MACHINE_CPUARCH} == "i386" 12SRCS+= x86_mem.c k6_mem.c 13.endif 14.if ${MACHINE_CPUARCH} == "amd64" 15SRCS+= x86_mem.c 16.endif 17SRCS+= bus_if.h device_if.h 18 19.include <bsd.kmod.mk> 20