blob: 574629e27c7bf6a1995ef52d55ab3a45cdeb2d00 [file] [log] [blame]
SunnySrivastava1984e12b1812020-05-26 02:23:11 -05001systemd = dependency('libsystemd', version: '>= 221')
Alpana Kumarib17dd3b2020-10-01 00:18:10 -05002sdeventplus = dependency('sdeventplus')
SunnySrivastava1984b59fd092020-02-03 09:58:56 -06003
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',
SunnySrivastava1984e12b1812020-05-26 02:23:11 -05008 'error.cpp',
9 'editor_impl.cpp',
10 'reader_impl.cpp',
Alpana Kumarib17dd3b2020-10-01 00:18:10 -050011 'gpioMonitor.cpp',
Santosh Puranikf2d3b532022-04-19 06:44:07 -050012 'bios_handler.cpp',
SunnySrivastava1984e12b1812020-05-26 02:23:11 -050013 '../impl.cpp',
14 '../vpd-parser/ipz_parser.cpp',
Sunny Srivastava6c71c9d2021-04-15 04:43:54 -050015 '../ibm_vpd_utils.cpp',
16 '../common_utility.cpp',
SunnySrivastava1984e12b1812020-05-26 02:23:11 -050017 '../vpd-parser//keyword_vpd_parser.cpp',
18 '../vpd-parser/memory_vpd_parser.cpp',
jinuthomas5700b3c2023-03-07 22:51:00 -060019 '../vpd-parser/isdimm_vpd_parser.cpp',
SunnySrivastava1984e12b1812020-05-26 02:23:11 -050020 '../vpd-parser/parser_factory.cpp'
21 ]
SunnySrivastava1984b59fd092020-02-03 09:58:56 -060022
Sunny Srivastava523af2e2022-02-14 07:30:10 -060023vpd_manager_dependencies =[phosphor_logging,
SunnySrivastava1984a7392592020-03-09 10:19:33 -050024 systemd,
Alpana Kumarib17dd3b2020-10-01 00:18:10 -050025 libgpiodcxx,
26 sdeventplus,
SunnySrivastava1984a7392592020-03-09 10:19:33 -050027 ]
28
SunnySrivastava1984e12b1812020-05-26 02:23:11 -050029vpd_manager_exe = executable(
30 'vpd-manager',
Alpana Kumarib17dd3b2020-10-01 00:18:10 -050031 vpd_manager_SOURCES,
SunnySrivastava1984e12b1812020-05-26 02:23:11 -050032 include_directories : configuration_inc,
33 dependencies : [
34 vpd_manager_dependencies,
35 ],
Priyanga Ramasamya4a2adf2022-02-03 05:43:41 -060036 link_with : libvpdecc,
Santosh Puranik6b2b5372022-06-02 20:49:02 +053037 install : true,
38 cpp_args : '-DIPZ_PARSER'
SunnySrivastava1984e12b1812020-05-26 02:23:11 -050039 )