SunnySrivastava1984 | e12b181 | 2020-05-26 02:23:11 -0500 | [diff] [blame] | 1 | systemd = dependency('libsystemd', version: '>= 221') |
SunnySrivastava1984 | b59fd09 | 2020-02-03 09:58:56 -0600 | [diff] [blame] | 2 | phosphor_dbus_interfaces = dependency('phosphor-dbus-interfaces') |
Alpana Kumari | b17dd3b | 2020-10-01 00:18:10 -0500 | [diff] [blame] | 3 | sdeventplus = dependency('sdeventplus') |
SunnySrivastava1984 | b59fd09 | 2020-02-03 09:58:56 -0600 | [diff] [blame] | 4 | |
SunnySrivastava1984 | e12b181 | 2020-05-26 02:23:11 -0500 | [diff] [blame] | 5 | configuration_inc = include_directories('.', '../', '../vpd-parser/') |
SunnySrivastava1984 | b59fd09 | 2020-02-03 09:58:56 -0600 | [diff] [blame] | 6 | |
SunnySrivastava1984 | e12b181 | 2020-05-26 02:23:11 -0500 | [diff] [blame] | 7 | vpd_manager_SOURCES =['manager_main.cpp', |
| 8 | 'manager.cpp', |
| 9 | 'server.cpp', |
| 10 | 'error.cpp', |
| 11 | 'editor_impl.cpp', |
| 12 | 'reader_impl.cpp', |
Alpana Kumari | b17dd3b | 2020-10-01 00:18:10 -0500 | [diff] [blame] | 13 | 'gpioMonitor.cpp', |
Santosh Puranik | f2d3b53 | 2022-04-19 06:44:07 -0500 | [diff] [blame^] | 14 | 'bios_handler.cpp', |
SunnySrivastava1984 | e12b181 | 2020-05-26 02:23:11 -0500 | [diff] [blame] | 15 | '../impl.cpp', |
| 16 | '../vpd-parser/ipz_parser.cpp', |
Sunny Srivastava | 6c71c9d | 2021-04-15 04:43:54 -0500 | [diff] [blame] | 17 | '../ibm_vpd_utils.cpp', |
| 18 | '../common_utility.cpp', |
SunnySrivastava1984 | e12b181 | 2020-05-26 02:23:11 -0500 | [diff] [blame] | 19 | '../vpd-parser//keyword_vpd_parser.cpp', |
| 20 | '../vpd-parser/memory_vpd_parser.cpp', |
| 21 | '../vpd-parser/parser_factory.cpp' |
| 22 | ] |
SunnySrivastava1984 | b59fd09 | 2020-02-03 09:58:56 -0600 | [diff] [blame] | 23 | |
SunnySrivastava1984 | a739259 | 2020-03-09 10:19:33 -0500 | [diff] [blame] | 24 | vpd_manager_dependencies =[sdbusplus, |
| 25 | phosphor_logging, |
| 26 | systemd, |
| 27 | phosphor_dbus_interfaces, |
Alpana Kumari | b17dd3b | 2020-10-01 00:18:10 -0500 | [diff] [blame] | 28 | libgpiodcxx, |
| 29 | sdeventplus, |
SunnySrivastava1984 | a739259 | 2020-03-09 10:19:33 -0500 | [diff] [blame] | 30 | ] |
| 31 | |
SunnySrivastava1984 | e12b181 | 2020-05-26 02:23:11 -0500 | [diff] [blame] | 32 | vpd_manager_exe = executable( |
| 33 | 'vpd-manager', |
Alpana Kumari | b17dd3b | 2020-10-01 00:18:10 -0500 | [diff] [blame] | 34 | vpd_manager_SOURCES, |
SunnySrivastava1984 | e12b181 | 2020-05-26 02:23:11 -0500 | [diff] [blame] | 35 | include_directories : configuration_inc, |
| 36 | dependencies : [ |
| 37 | vpd_manager_dependencies, |
| 38 | ], |
Priyanga Ramasamy | a4a2adf | 2022-02-03 05:43:41 -0600 | [diff] [blame] | 39 | link_with : libvpdecc, |
SunnySrivastava1984 | e12b181 | 2020-05-26 02:23:11 -0500 | [diff] [blame] | 40 | install : true |
| 41 | ) |