blob: b6ffa60e84b918f4dfe8b9dc2c16f87db87dc08a [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 '../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 ]
SunnySrivastava1984b59fd092020-02-03 09:58:56 -060024
SunnySrivastava1984a7392592020-03-09 10:19:33 -050025vpd_manager_dependencies =[sdbusplus,
26 phosphor_logging,
27 systemd,
28 phosphor_dbus_interfaces,
Alpana Kumarib17dd3b2020-10-01 00:18:10 -050029 libgpiodcxx,
30 sdeventplus,
SunnySrivastava1984a7392592020-03-09 10:19:33 -050031 ]
32
SunnySrivastava1984e12b1812020-05-26 02:23:11 -050033vpd_manager_exe = executable(
34 'vpd-manager',
Alpana Kumarib17dd3b2020-10-01 00:18:10 -050035 vpd_manager_SOURCES,
SunnySrivastava1984e12b1812020-05-26 02:23:11 -050036 include_directories : configuration_inc,
37 dependencies : [
38 vpd_manager_dependencies,
39 ],
40 install : true
41 )