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.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "i386" 11SRCS+= ipmi_kcs.c ipmi_smic.c ipmi_smbios.c ipmi_ssif.c 12SRCS+= ipmi_acpi.c ipmi_isa.c ipmi_pci.c ipmi_smbus.c 13SRCS+= opt_acpi.h 14SRCS+= acpi_if.h isa_if.h pci_if.h smbus_if.h 15 16SUBDIR+= ipmi_linux 17 18.elif ${MACHINE_ARCH} == "powerpc64" 19SRCS+= ipmi_opal.c ofw_bus_if.h 20.endif 21 22.include <bsd.kmod.mk> 23