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