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