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', |
SunnySrivastava1984 | e12b181 | 2020-05-26 02:23:11 -0500 | [diff] [blame] | 14 | '../impl.cpp', |
| 15 | '../vpd-parser/ipz_parser.cpp', |
Sunny Srivastava | 6c71c9d | 2021-04-15 04:43:54 -0500 | [diff] [blame] | 16 | '../ibm_vpd_utils.cpp', |
| 17 | '../common_utility.cpp', |
SunnySrivastava1984 | e12b181 | 2020-05-26 02:23:11 -0500 | [diff] [blame] | 18 | '../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 | ] |
SunnySrivastava1984 | b59fd09 | 2020-02-03 09:58:56 -0600 | [diff] [blame] | 24 | |
SunnySrivastava1984 | a739259 | 2020-03-09 10:19:33 -0500 | [diff] [blame] | 25 | vpd_manager_dependencies =[sdbusplus, |
| 26 | phosphor_logging, |
| 27 | systemd, |
| 28 | phosphor_dbus_interfaces, |
Alpana Kumari | b17dd3b | 2020-10-01 00:18:10 -0500 | [diff] [blame^] | 29 | libgpiodcxx, |
| 30 | sdeventplus, |
SunnySrivastava1984 | a739259 | 2020-03-09 10:19:33 -0500 | [diff] [blame] | 31 | ] |
| 32 | |
SunnySrivastava1984 | e12b181 | 2020-05-26 02:23:11 -0500 | [diff] [blame] | 33 | vpd_manager_exe = executable( |
| 34 | 'vpd-manager', |
Alpana Kumari | b17dd3b | 2020-10-01 00:18:10 -0500 | [diff] [blame^] | 35 | vpd_manager_SOURCES, |
SunnySrivastava1984 | e12b181 | 2020-05-26 02:23:11 -0500 | [diff] [blame] | 36 | include_directories : configuration_inc, |
| 37 | dependencies : [ |
| 38 | vpd_manager_dependencies, |
| 39 | ], |
| 40 | install : true |
| 41 | ) |