1# $NetBSD: Makefile,v 1.5 2025/09/21 17:54:16 thorpej Exp $
2
3INCSDIR= /usr/include/dev/i2c
4INCS=	emcfanreg.h emcfaninfo.h i2c_io.h
5
6i2c_calls.h: ${.CURDIR}/i2c_calls
7	echo "${TOOL_AWK} -f ${.CURDIR}/../../kern/gendevcalls.awk \
8	    ${.CURDIR}/i2c_calls > ${.CURDIR}/i2c_calls.h"
9	${TOOL_AWK} -f ${.CURDIR}/../../kern/gendevcalls.awk \
10	    ${.CURDIR}/i2c_calls > ${.CURDIR}/i2c_calls.h
11
12.include <bsd.kinc.mk>
13