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