1# $FreeBSD$ 2 3.PATH: ${.CURDIR}/../../dev/mps 4 5KMOD= mps 6SRCS= mps_pci.c mps.c mps_sas.c mps_table.c mps_user.c 7SRCS+= mps_config.c mps_mapping.c mps_sas_lsi.c 8SRCS+= opt_cam.h opt_compat.h 9SRCS+= device_if.h bus_if.h pci_if.h 10 11#CFLAGS += -DMPS_DEBUG 12 13.include <bsd.kmod.mk> 14 15CWARNFLAGS.mps_sas.c= ${NO_WUNNEEDED_INTERNAL_DECL} 16# XXX Work around clang warning, until maintainer approves fix. 17CWARNFLAGS.mps_mapping.c= ${NO_WSOMETIMES_UNINITIALIZED} 18CWARNFLAGS+= ${CWARNFLAGS.${.IMPSRC:T}} 19