xref: /freebsd/sys/modules/aacraid/Makefile (revision e9ac41698b2f322d55ccf9da50a3596edb2c1800)
1193d9e76SEnji Cooper.PATH: ${SRCTOP}/sys/dev/aacraid
2dce93cd0SAchim Leubner
3dce93cd0SAchim Leubner.if ${MACHINE_CPUARCH} == "i386"
4dce93cd0SAchim LeubnerSUBDIR= aacraid_linux
5dce93cd0SAchim Leubner.endif
6dce93cd0SAchim Leubner
7dce93cd0SAchim LeubnerKMOD=	aacraid
8dce93cd0SAchim LeubnerSRCS=	aacraid.c aacraid_pci.c aacraid_cam.c
9*d8c51c6fSLeandro Lupori.if ${MACHINE_CPUARCH} == "powerpc"
10*d8c51c6fSLeandro LuporiSRCS+=	aacraid_endian.c
11*d8c51c6fSLeandro Lupori.endif
126469bdcdSBrooks DavisSRCS+=	opt_scsi.h opt_cam.h opt_aacraid.h
13dce93cd0SAchim LeubnerSRCS+=	device_if.h bus_if.h pci_if.h
14dce93cd0SAchim Leubner
15dce93cd0SAchim Leubner# To enable debug output from the driver, uncomment these two lines.
16dce93cd0SAchim Leubner#CFLAGS+= -DAACRAID_DEBUG=2
17dce93cd0SAchim Leubner#SRCS+=	aacraid_debug.c
18dce93cd0SAchim Leubner
19dce93cd0SAchim Leubner.include <bsd.kmod.mk>
20