freebsd-dev/sys/modules/mrsas/Makefile
Kashyap D Desai 90012054d6 Fix the minor svn add issue. $FreeBSD$ expands at the time of
snv add, so I have added $FreeBSD$ as comment.

This commit is contininous of last mrsas commit, so that compilation
does not break.

Obtained from:	AVAGO Technologies
MFC after: 2 weeks
2014-10-08 09:30:35 +00:00

31 lines
602 B
Makefile

# Makefile for mrsas driver
# $FreeBSD$
KMOD=mrsas
.PATH: ${.CURDIR}/../../dev/${KMOD}
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
SUBDIR+= mrsas_linux
.endif
SRCS=mrsas.c mrsas_cam.c mrsas_ioctl.c mrsas_fp.c
SRCS+= device_if.h bus_if.h pci_if.h opt_cam.h opt_scsi.h
#CFLAGS+= -MRSAS_DEBUG
.include <bsd.kmod.mk>
CFLAGS+= -fgnu89-inline
TARGET_ARCH = ${MACHINE_ARCH}
.if ${TARGET_ARCH} == "amd64"
CFLAGS+= -DCOMPAT_FREEBSD32 -D_STANDALONE
.endif
clean_cscope:
rm -f cscope*
cscope: clean_cscope
/usr/local/bin/cscope -b *.[ch]
cleanall: clean clean_cscope
rm -f '@' machine