xref: /openbmc/openpower-vpd-parser/vpd-manager/meson.build (revision a4a2adfa96d2c491b1baf776013a6442bc88c78b)
1systemd = dependency('libsystemd', version: '>= 221')
2phosphor_dbus_interfaces = dependency('phosphor-dbus-interfaces')
3sdeventplus = dependency('sdeventplus')
4
5configuration_inc = include_directories('.', '../', '../vpd-parser/')
6
7vpd_manager_SOURCES =['manager_main.cpp',
8                      'manager.cpp',
9                      'server.cpp',
10                      'error.cpp',
11                      'editor_impl.cpp',
12                      'reader_impl.cpp',
13                      'gpioMonitor.cpp',
14                      '../impl.cpp',
15                      '../vpd-parser/ipz_parser.cpp',
16                      '../ibm_vpd_utils.cpp',
17                      '../common_utility.cpp',
18                      '../vpd-parser//keyword_vpd_parser.cpp',
19                      '../vpd-parser/memory_vpd_parser.cpp',
20                      '../vpd-parser/parser_factory.cpp'
21                     ]
22
23vpd_manager_dependencies =[sdbusplus,
24                           phosphor_logging,
25                           systemd,
26                           phosphor_dbus_interfaces,
27                           libgpiodcxx,
28                           sdeventplus,
29                          ]
30
31vpd_manager_exe = executable(
32                 'vpd-manager',
33                 vpd_manager_SOURCES,
34                 include_directories : configuration_inc,
35                 dependencies : [
36                                vpd_manager_dependencies,
37                                ],
38                 link_with : libvpdecc,
39                 install : true
40                )
41