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', |
jinuthomas | 5700b3c | 2023-03-07 22:51:00 -0600 | [diff] [blame] | 19 | '../vpd-parser/isdimm_vpd_parser.cpp', |
SunnySrivastava1984 | e12b181 | 2020-05-26 02:23:11 -0500 | [diff] [blame] | 20 | '../vpd-parser/parser_factory.cpp' |
| 21 | ] |
SunnySrivastava1984 | b59fd09 | 2020-02-03 09:58:56 -0600 | [diff] [blame] | 22 | |
Sunny Srivastava | 523af2e | 2022-02-14 07:30:10 -0600 | [diff] [blame] | 23 | vpd_manager_dependencies =[phosphor_logging, |
SunnySrivastava1984 | a739259 | 2020-03-09 10:19:33 -0500 | [diff] [blame] | 24 | systemd, |
Alpana Kumari | b17dd3b | 2020-10-01 00:18:10 -0500 | [diff] [blame] | 25 | libgpiodcxx, |
| 26 | sdeventplus, |
SunnySrivastava1984 | a739259 | 2020-03-09 10:19:33 -0500 | [diff] [blame] | 27 | ] |
| 28 | |
SunnySrivastava1984 | e12b181 | 2020-05-26 02:23:11 -0500 | [diff] [blame] | 29 | vpd_manager_exe = executable( |
| 30 | 'vpd-manager', |
Alpana Kumari | b17dd3b | 2020-10-01 00:18:10 -0500 | [diff] [blame] | 31 | vpd_manager_SOURCES, |
SunnySrivastava1984 | e12b181 | 2020-05-26 02:23:11 -0500 | [diff] [blame] | 32 | include_directories : configuration_inc, |
| 33 | dependencies : [ |
| 34 | vpd_manager_dependencies, |
| 35 | ], |
Priyanga Ramasamy | a4a2adf | 2022-02-03 05:43:41 -0600 | [diff] [blame] | 36 | link_with : libvpdecc, |
Santosh Puranik | 6b2b537 | 2022-06-02 20:49:02 +0530 | [diff] [blame] | 37 | install : true, |
| 38 | cpp_args : '-DIPZ_PARSER' |
SunnySrivastava1984 | e12b181 | 2020-05-26 02:23:11 -0500 | [diff] [blame] | 39 | ) |