xref: /openbmc/pldm/softoff/meson.build (revision 96a3a048)
1deps = [
2    libpldm,
3    libpldmutils,
4    sdeventplus,
5    sdbusplus,
6    phosphor_dbus_interfaces,
7    ]
8
9source = ['main.cpp','softoff.cpp']
10
11executable('pldm-softpoweroff',source,
12           implicit_include_directories: false,
13           dependencies: deps,
14           install: true,
15           install_dir: get_option('bindir'))
16
17servicedir = systemd.get_pkgconfig_variable('systemdsystemunitdir')
18
19configure_file(input: 'services/pldmSoftPowerOff.service',
20                 output: 'pldmSoftPowerOff.service',
21                 copy: true,
22                 install_dir: servicedir)
23
24