freebsd-nq/sys/modules/mem/Makefile
2004-09-28 07:26:00 +00:00

20 lines
401 B
Makefile

# $FreeBSD$
.PATH: ${.CURDIR}/../../dev/mem
.PATH: ${.CURDIR}/../../${MACHINE_ARCH}/${MACHINE_ARCH}
KMOD= mem
SRCS= memdev.c mem.c
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
SRCS+= memutil.c
.endif
.if ${MACHINE_ARCH} == "i386"
SRCS+= i686_mem.c k6_mem.c
.endif
.if ${MACHINE_ARCH} == "amd64"
SRCS+= amd64_mem.c
.endif
SRCS+= bus_if.h device_if.h vnode_if.h
.include <bsd.kmod.mk>