blob: 66e283fe3afa54a6a6f5a4a6d7dc8ccb63b680d8 [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',
Sunny Srivastava6c71c9d2021-04-15 04:43:54 -050014 '../ibm_vpd_utils.cpp',
15 '../common_utility.cpp',
SunnySrivastava1984e12b1812020-05-26 02:23:11 -050016 '../vpdecc/vpdecc.c',
17 '../vpdecc/vpdecc_support.c',
18 '../vpd-parser//keyword_vpd_parser.cpp',
19 '../vpd-parser/memory_vpd_parser.cpp',
20 '../vpd-parser/parser_factory.cpp'
21 ]
SunnySrivastava1984b59fd092020-02-03 09:58:56 -060022
SunnySrivastava1984a7392592020-03-09 10:19:33 -050023vpd_manager_dependencies =[sdbusplus,
24 phosphor_logging,
25 systemd,
26 phosphor_dbus_interfaces,
27 ]
28
SunnySrivastava1984e12b1812020-05-26 02:23:11 -050029vpd_manager_exe = executable(
30 'vpd-manager',
31 vpd_manager_SOURCES,
32 include_directories : configuration_inc,
33 dependencies : [
34 vpd_manager_dependencies,
35 ],
36 install : true
37 )