blob: 56b139e9a444c1ba930fa1bfb5418c242e6a699a [file] [log] [blame]
SunnySrivastava1984e12b1812020-05-26 02:23:11 -05001systemd = dependency('libsystemd', version: '>= 221')
SunnySrivastava1984b59fd092020-02-03 09:58:56 -06002phosphor_dbus_interfaces = dependency('phosphor-dbus-interfaces')
3
SunnySrivastava1984e12b1812020-05-26 02:23:11 -05004configuration_inc = include_directories('.', '../', '../vpd-parser/')
SunnySrivastava1984b59fd092020-02-03 09:58:56 -06005
SunnySrivastava1984e12b1812020-05-26 02:23:11 -05006vpd_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 ]
SunnySrivastava1984b59fd092020-02-03 09:58:56 -060021
SunnySrivastava1984a7392592020-03-09 10:19:33 -050022vpd_manager_dependencies =[sdbusplus,
23 phosphor_logging,
24 systemd,
25 phosphor_dbus_interfaces,
26 ]
27
SunnySrivastava1984e12b1812020-05-26 02:23:11 -050028vpd_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 )