xref: /openbmc/openpower-vpd-parser/vpd-manager/meson.build (revision e008432ac875223b916a8c63cc951caec090364e)
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                      'bios_handler.cpp',
15                      '../impl.cpp',
16                      '../vpd-parser/ipz_parser.cpp',
17                      '../ibm_vpd_utils.cpp',
18                      '../common_utility.cpp',
19                      '../vpd-parser//keyword_vpd_parser.cpp',
20                      '../vpd-parser/memory_vpd_parser.cpp',
21                      '../vpd-parser/parser_factory.cpp'
22                     ]
23
24vpd_manager_dependencies =[sdbusplus,
25                           phosphor_logging,
26                           systemd,
27                           phosphor_dbus_interfaces,
28                           libgpiodcxx,
29                           sdeventplus,
30                          ]
31
32vpd_manager_exe = executable(
33                 'vpd-manager',
34                 vpd_manager_SOURCES,
35                 include_directories : configuration_inc,
36                 dependencies : [
37                                vpd_manager_dependencies,
38                                ],
39                 link_with : libvpdecc,
40                 install : true,
41                 cpp_args : '-DIPZ_PARSER'
42                )
43