freebsd-dev/sys/modules/i2c/controllers/pcf/Makefile

21 lines
383 B
Makefile
Raw Normal View History

# $FreeBSD$
.PATH: ${.CURDIR}/../../../../dev/pcf
KMOD= pcf
SRCS= ${envctrl} pcf.c ${pcf_ebus} ${pcf_isa}
SRCS+= bus_if.h device_if.h iicbus_if.h ${isa_if} ${ofw_bus_if}
.if ${MACHINE_CPUARCH} == "i386"
isa_if= isa_if.h
pcf_isa= pcf_isa.c
.endif
.if ${MACHINE_CPUARCH} == "sparc64"
envctrl= envctrl.c
ofw_bus_if= ofw_bus_if.h
pcf_ebus= pcf_ebus.c
.endif
.include <bsd.kmod.mk>