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