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 15SRCS+= ipmi_smbios.c 16SRCS+= ipmi_ssif.c 17SRCS+= ipmi_pci.c 18SRCS+= ipmi_smbus.c 19SRCS+= pci_if.h 20SRCS+= smbus_if.h 21.endif 22 23.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" 24SRCS+= ipmi_isa.c 25SRCS+= isa_if.h 26 27SUBDIR+= ipmi_linux 28 29.elif ${MACHINE_ARCH:Mpowerpc64*} != "" 30SRCS+= ipmi_opal.c ofw_bus_if.h 31.endif 32 33.include <bsd.kmod.mk> 34