blob: 9b5c5c9be92de04cb2a481c22fe0b8d8c7c0361e [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',
Santosh Puranikf2d3b532022-04-19 06:44:07 -050014 'bios_handler.cpp',
SunnySrivastava1984e12b1812020-05-26 02:23:11 -050015 '../impl.cpp',
16 '../vpd-parser/ipz_parser.cpp',
Sunny Srivastava6c71c9d2021-04-15 04:43:54 -050017 '../ibm_vpd_utils.cpp',
18 '../common_utility.cpp',
SunnySrivastava1984e12b1812020-05-26 02:23:11 -050019 '../vpd-parser//keyword_vpd_parser.cpp',
20 '../vpd-parser/memory_vpd_parser.cpp',
21 '../vpd-parser/parser_factory.cpp'
22 ]
SunnySrivastava1984b59fd092020-02-03 09:58:56 -060023
SunnySrivastava1984a7392592020-03-09 10:19:33 -050024vpd_manager_dependencies =[sdbusplus,
25 phosphor_logging,
26 systemd,
27 phosphor_dbus_interfaces,
Alpana Kumarib17dd3b2020-10-01 00:18:10 -050028 libgpiodcxx,
29 sdeventplus,
SunnySrivastava1984a7392592020-03-09 10:19:33 -050030 ]
31
SunnySrivastava1984e12b1812020-05-26 02:23:11 -050032vpd_manager_exe = executable(
33 'vpd-manager',
Alpana Kumarib17dd3b2020-10-01 00:18:10 -050034 vpd_manager_SOURCES,
SunnySrivastava1984e12b1812020-05-26 02:23:11 -050035 include_directories : configuration_inc,
36 dependencies : [
37 vpd_manager_dependencies,
38 ],
Priyanga Ramasamya4a2adf2022-02-03 05:43:41 -060039 link_with : libvpdecc,
SunnySrivastava1984e12b1812020-05-26 02:23:11 -050040 install : true
41 )