xref: /openbmc/phosphor-bmc-code-mgmt/tpm/meson.build (revision c538727d70f3673771f18e559d7ecab203abf6d3)
1tpm_device_include = include_directories('.')
2
3executable(
4    'phosphor-tpm-software-update',
5    'tpm_software_manager.cpp',
6    'tpm_device.cpp',
7    'tpm2/tpm2.cpp',
8    include_directories: [common_include, tpm_device_include],
9    dependencies: [libpldm_dep, phosphor_logging_dep, sdbusplus_dep],
10    link_with: [software_common_lib, libpldmutil],
11    install: true,
12    install_dir: get_option('libexecdir') / 'phosphor-code-mgmt',
13)
14
15install_data(
16    'xyz.openbmc_project.Software.TPM.service',
17    install_dir: systemd_system_unit_dir,
18)
19