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') |
| 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', |
| 8 | 'server.cpp', |
| 9 | 'error.cpp', |
| 10 | 'editor_impl.cpp', |
| 11 | 'reader_impl.cpp', |
| 12 | '../impl.cpp', |
| 13 | '../vpd-parser/ipz_parser.cpp', |
| 14 | '../utils.cpp', |
| 15 | '../vpdecc/vpdecc.c', |
| 16 | '../vpdecc/vpdecc_support.c', |
| 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 | |
SunnySrivastava1984 | a739259 | 2020-03-09 10:19:33 -0500 | [diff] [blame] | 22 | vpd_manager_dependencies =[sdbusplus, |
| 23 | phosphor_logging, |
| 24 | systemd, |
| 25 | phosphor_dbus_interfaces, |
| 26 | ] |
| 27 | |
SunnySrivastava1984 | e12b181 | 2020-05-26 02:23:11 -0500 | [diff] [blame^] | 28 | vpd_manager_exe = executable( |
| 29 | 'vpd-manager', |
| 30 | vpd_manager_SOURCES, |
| 31 | include_directories : configuration_inc, |
| 32 | dependencies : [ |
| 33 | vpd_manager_dependencies, |
| 34 | ], |
| 35 | install : true |
| 36 | ) |