blob: 604f2b64aa340eef5e4eda470cfbaba5590aff8a [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')
Alpana Kumarib17dd3b2020-10-01 00:18:10 -05003sdeventplus = dependency('sdeventplus')
SunnySrivastava1984b59fd092020-02-03 09:58:56 -06004
SunnySrivastava1984e12b1812020-05-26 02:23:11 -05005configuration_inc = include_directories('.', '../', '../vpd-parser/')
SunnySrivastava1984b59fd092020-02-03 09:58:56 -06006
SunnySrivastava1984e12b1812020-05-26 02:23:11 -05007vpd_manager_SOURCES =['manager_main.cpp',
8 'manager.cpp',
9 'server.cpp',
10 'error.cpp',
11 'editor_impl.cpp',
12 'reader_impl.cpp',
Alpana Kumarib17dd3b2020-10-01 00:18:10 -050013 'gpioMonitor.cpp',
SunnySrivastava1984e12b1812020-05-26 02:23:11 -050014 '../impl.cpp',
15 '../vpd-parser/ipz_parser.cpp',
Sunny Srivastava6c71c9d2021-04-15 04:43:54 -050016 '../ibm_vpd_utils.cpp',
17 '../common_utility.cpp',
SunnySrivastava1984e12b1812020-05-26 02:23:11 -050018 '../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,
Alpana Kumarib17dd3b2020-10-01 00:18:10 -050027 libgpiodcxx,
28 sdeventplus,
SunnySrivastava1984a7392592020-03-09 10:19:33 -050029 ]
30
SunnySrivastava1984e12b1812020-05-26 02:23:11 -050031vpd_manager_exe = executable(
32 'vpd-manager',
Alpana Kumarib17dd3b2020-10-01 00:18:10 -050033 vpd_manager_SOURCES,
SunnySrivastava1984e12b1812020-05-26 02:23:11 -050034 include_directories : configuration_inc,
35 dependencies : [
36 vpd_manager_dependencies,
37 ],
Priyanga Ramasamya4a2adf2022-02-03 05:43:41 -060038 link_with : libvpdecc,
SunnySrivastava1984e12b1812020-05-26 02:23:11 -050039 install : true
40 )