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                      '../vpdecc/vpdecc.c',
19                      '../vpdecc/vpdecc_support.c',
20                      '../vpd-parser//keyword_vpd_parser.cpp',
21                      '../vpd-parser/memory_vpd_parser.cpp',
22                      '../vpd-parser/parser_factory.cpp'
23                     ]
24
25vpd_manager_dependencies =[sdbusplus,
26                           phosphor_logging,
27                           systemd,
28                           phosphor_dbus_interfaces,
29                           libgpiodcxx,
30                           sdeventplus,
31                          ]
32
33vpd_manager_exe = executable(
34                 'vpd-manager',
35                 vpd_manager_SOURCES,
36                 include_directories : configuration_inc,
37                 dependencies : [
38                                vpd_manager_dependencies,
39                                ],
40                 install : true
41                )
42