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