1# $FreeBSD$ 2 3.PATH: ${.CURDIR}/../../dev/mpr 4 5KMOD= mpr 6SRCS= mpr_pci.c mpr.c mpr_sas.c mpr_table.c mpr_user.c 7SRCS+= mpr_config.c mpr_mapping.c mpr_sas_lsi.c 8SRCS+= opt_cam.h opt_compat.h 9SRCS+= device_if.h bus_if.h pci_if.h 10 11#CFLAGS += -DMPR_DEBUG 12 13.include <bsd.kmod.mk> 14 15CWARNFLAGS.mpr_sas.c= ${NO_WUNNEEDED_INTERNAL_DECL} 16# XXX Work around clang warning, until maintainer approves fix. 17CWARNFLAGS.mpr_mapping.c= ${NO_WSOMETIMES_UNINITIALIZED} 18CWARNFLAGS+= ${CWARNFLAGS.${.IMPSRC:T}} 19