blob: 12c7e002bf32c736fb7491dedadf80f8c181fc3e [file] [log] [blame]
deps = [
libpldm_dep,
libpldmutils,
sdeventplus,
sdbusplus,
phosphor_dbus_interfaces,
]
source = ['main.cpp','softoff.cpp']
executable('pldm-softpoweroff',source,
implicit_include_directories: false,
dependencies: deps,
install: true,
install_dir: get_option('bindir'))
servicedir = systemd.get_pkgconfig_variable('systemdsystemunitdir')
configure_file(input: 'services/pldmSoftPowerOff.service',
output: 'pldmSoftPowerOff.service',
copy: true,
install_dir: servicedir)