]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - sys/modules/mps/Makefile
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / sys / modules / mps / Makefile
1 # $FreeBSD$
2
3 .PATH: ${.CURDIR}/../../dev/mps
4
5 KMOD=   mps
6 SRCS=   mps_pci.c mps.c mps_sas.c mps_table.c mps_user.c
7 SRCS+=  mps_config.c mps_mapping.c mps_sas_lsi.c
8 SRCS+=  opt_cam.h opt_compat.h
9 SRCS+=  device_if.h bus_if.h pci_if.h
10
11 #CFLAGS += -DMPS_DEBUG
12 DEBUG_FLAGS += -g
13
14 .include <bsd.kmod.mk>
15
16 CWARNFLAGS.mps_sas.c=           ${NO_WUNNEEDED_INTERNAL_DECL}
17 # XXX Work around clang warning, until maintainer approves fix.
18 CWARNFLAGS.mps_mapping.c=       ${NO_WSOMETIMES_UNINITIALIZED}
19 CWARNFLAGS+=                    ${CWARNFLAGS.${.IMPSRC:T}}