KMOD=	ssifshock
SRCS=	ssifshock.c device_if.h bus_if.h

.include <bsd.kmod.mk>

# bsd.kmod.mk resets CFLAGS at line 98, so append AFTER the include:
# -DLOCAL_MODULE makes the verbatim ipmi_ssif.c include <ipmivars.h>,
# <bus/smbus/smbconf.h>, <dev/smbus/smb/smb.h> and "smbus_if.h".  The mock
# headers live in THIS directory: bsd.kmod.mk puts -I. first in the include
# path, so ./bus/smbus/smbconf.h etc. shadow the real /sys copies.
CFLAGS+= -DLOCAL_MODULE
