SubDir HAIKU_TOP src add-ons kernel drivers power acpi_button ; SetSubDirSupportedPlatformsBeOSCompatible ; if $(TARGET_PLATFORM) != haiku { # Needed for . Unfortunately we also get the other headers there, # that we don't really want. UsePublicHeaders drivers ; } KernelAddon acpi_button : acpi_button.c ; Depends acpi_button : acpi ;