1systemd = dependency('libsystemd', version: '>= 221')
2phosphor_dbus_interfaces = dependency('phosphor-dbus-interfaces')
3
4configuration_inc = include_directories('.', '../', '../vpd-parser/')
5
6vpd_manager_SOURCES =['manager_main.cpp',
7                      'manager.cpp',
8                      'server.cpp',
9                      'error.cpp',
10                      'editor_impl.cpp',
11                      'reader_impl.cpp',
12                      '../impl.cpp',
13                      '../vpd-parser/ipz_parser.cpp',
14                      '../utils.cpp',
15                      '../vpdecc/vpdecc.c',
16                      '../vpdecc/vpdecc_support.c',
17                      '../vpd-parser//keyword_vpd_parser.cpp',
18                      '../vpd-parser/memory_vpd_parser.cpp',
19                      '../vpd-parser/parser_factory.cpp'
20                     ]
21
22vpd_manager_dependencies =[sdbusplus,
23                           phosphor_logging,
24                           systemd,
25                           phosphor_dbus_interfaces,
26                          ]
27
28vpd_manager_exe = executable(
29                 'vpd-manager',
30                 vpd_manager_SOURCES,
31                 include_directories : configuration_inc,
32                 dependencies : [
33                                vpd_manager_dependencies,
34                                ],
35                 install : true
36                )
37