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