xref: /freebsd/sys/modules/aacraid/Makefile (revision edf8578117e8844e02c0121147f45e4609b30680)
1
2.PATH: ${SRCTOP}/sys/dev/aacraid
3
4.if ${MACHINE_CPUARCH} == "i386"
5SUBDIR= aacraid_linux
6.endif
7
8KMOD=	aacraid
9SRCS=	aacraid.c aacraid_pci.c aacraid_cam.c
10.if ${MACHINE_CPUARCH} == "powerpc"
11SRCS+=	aacraid_endian.c
12.endif
13SRCS+=	opt_scsi.h opt_cam.h opt_aacraid.h
14SRCS+=	device_if.h bus_if.h pci_if.h
15
16# To enable debug output from the driver, uncomment these two lines.
17#CFLAGS+= -DAACRAID_DEBUG=2
18#SRCS+=	aacraid_debug.c
19
20.include <bsd.kmod.mk>
21