1# $FreeBSD$ 2 3.PATH: ${SRCTOP}/sys/dev/ipmi 4 5# XXX - ipmi_smbus and ipmi_ssif depend on smbus 6# XXX - ipmi_acpi depends on acpi 7KMOD= ipmi 8SRCS= ipmi.c 9SRCS+= bus_if.h device_if.h 10 11.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" || \ 12 ${MACHINE_CPUARCH} == "aarch64" 13SRCS+= ipmi_kcs.c ipmi_smic.c 14SRCS+= ipmi_acpi.c 15SRCS+= opt_acpi.h 16SRCS+= acpi_if.h 17.endif 18 19.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" 20SRCS+= ipmi_smbios.c ipmi_ssif.c 21SRCS+= ipmi_isa.c ipmi_pci.c ipmi_smbus.c 22SRCS+= isa_if.h pci_if.h smbus_if.h 23 24SUBDIR+= ipmi_linux 25 26.elif ${MACHINE_ARCH:Mpowerpc64*} != "" 27SRCS+= ipmi_opal.c ofw_bus_if.h 28.endif 29 30.include <bsd.kmod.mk> 31