xref: /freebsd/sys/modules/mpr/Makefile (revision 6469bdcdb6a5968dc7edfcfb495d427b4bfdb3dd)
1991554f2SKenneth D. Merry# $FreeBSD$
2991554f2SKenneth D. Merry
3193d9e76SEnji Cooper.PATH: ${SRCTOP}/sys/dev/mpr
4991554f2SKenneth D. Merry
5991554f2SKenneth D. MerryKMOD=	mpr
6991554f2SKenneth D. MerrySRCS=	mpr_pci.c mpr.c mpr_sas.c mpr_table.c mpr_user.c
7991554f2SKenneth D. MerrySRCS+=	mpr_config.c mpr_mapping.c mpr_sas_lsi.c
8*6469bdcdSBrooks DavisSRCS+=	opt_cam.h
9991554f2SKenneth D. MerrySRCS+=	device_if.h bus_if.h pci_if.h
10991554f2SKenneth D. Merry
11991554f2SKenneth D. Merry#CFLAGS += -DMPR_DEBUG
12991554f2SKenneth D. Merry
13991554f2SKenneth D. Merry.include <bsd.kmod.mk>
14991554f2SKenneth D. Merry
15991554f2SKenneth D. MerryCWARNFLAGS.mpr_sas.c=		${NO_WUNNEEDED_INTERNAL_DECL}
16991554f2SKenneth D. Merry# XXX Work around clang warning, until maintainer approves fix.
17991554f2SKenneth D. MerryCWARNFLAGS.mpr_mapping.c=	${NO_WSOMETIMES_UNINITIALIZED}
18