Makefile revision 184573
151974Smsmith# $FreeBSD: head/sys/modules/amr/Makefile 184573 2008-11-03 00:53:54Z scottl $
251974Smsmith
370711Sobrien.PATH: ${.CURDIR}/../../dev/amr
451974Smsmith
5184573SscottlSUBDIR= amr_cam
6154823Sambrisko.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "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# SCSI passthrough support for non-disk devices
14184573Sscottl#SRCS+=	amr_cam.c opt_cam.h opt_scsi.h
1565245Smsmith
1665245Smsmith# Enable a questionable optimisation for newer adapters
1770711Sobrien#CFLAGS+= -DAMR_QUARTZ_GOFASTER
1865245Smsmith
1965245Smsmith# Debugging
2070711Sobrien#CFLAGS+= -DAMR_DEBUG=3
2165245Smsmith
2260966Speter.include <bsd.kmod.mk>
23