151974Smsmith# $FreeBSD: releng/10.3/sys/modules/amr/Makefile 211690 2010-08-23 06:13:29Z imp $
251974Smsmith
370711Sobrien.PATH: ${.CURDIR}/../../dev/amr
451974Smsmith
5184573SscottlSUBDIR= amr_cam
6211690Simp.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
7184573SscottlSUBDIR+= amr_linux
8154823Sambrisko.endif
9154823Sambrisko
1070711SobrienKMOD=	amr
1170711SobrienSRCS=	amr.c amr_pci.c amr_disk.c device_if.h bus_if.h pci_if.h
1270711Sobrien
1365245Smsmith# Enable a questionable optimisation for newer adapters
1470711Sobrien#CFLAGS+= -DAMR_QUARTZ_GOFASTER
1565245Smsmith
1665245Smsmith# Debugging
1770711Sobrien#CFLAGS+= -DAMR_DEBUG=3
1865245Smsmith
1960966Speter.include <bsd.kmod.mk>
20