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