1 # Makefile for mrsas driver
5 .PATH: ${.CURDIR}/../../dev/${KMOD}
7 .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
11 SRCS=mrsas.c mrsas_cam.c mrsas_ioctl.c mrsas_fp.c
12 SRCS+= device_if.h bus_if.h pci_if.h opt_cam.h opt_scsi.h
14 #CFLAGS+= -MRSAS_DEBUG
15 .include <bsd.kmod.mk>
16 CFLAGS+= -fgnu89-inline
18 TARGET_ARCH = ${MACHINE_ARCH}
19 .if ${TARGET_ARCH} == "amd64"
20 CFLAGS+= -DCOMPAT_FREEBSD32 -D_STANDALONE
27 /usr/local/bin/cscope -b *.[ch]
29 cleanall: clean clean_cscope