2004-08-01 11:40:54 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
.PATH: ${.CURDIR}/../../dev/mem
|
|
|
|
.PATH: ${.CURDIR}/../../${MACHINE_ARCH}/${MACHINE_ARCH}
|
|
|
|
|
|
|
|
KMOD= mem
|
|
|
|
SRCS= memdev.c mem.c
|
2004-08-04 18:30:31 +00:00
|
|
|
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
|
|
|
|
SRCS+= memutil.c
|
|
|
|
.endif
|
2004-09-28 07:26:00 +00:00
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
|
|
|
SRCS+= i686_mem.c k6_mem.c
|
|
|
|
.endif
|
|
|
|
.if ${MACHINE_ARCH} == "amd64"
|
|
|
|
SRCS+= amd64_mem.c
|
|
|
|
.endif
|
2004-12-29 08:44:30 +00:00
|
|
|
SRCS+= bus_if.h device_if.h
|
2004-08-01 11:40:54 +00:00
|
|
|
|
|
|
|
.include <bsd.kmod.mk>
|