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', |
Sunny Srivastava | 6c71c9d | 2021-04-15 04:43:54 -0500 | [diff] [blame^] | 14 | '../ibm_vpd_utils.cpp', |
| 15 | '../common_utility.cpp', |
SunnySrivastava1984 | e12b181 | 2020-05-26 02:23:11 -0500 | [diff] [blame] | 16 | '../vpdecc/vpdecc.c', |
| 17 | '../vpdecc/vpdecc_support.c', |
| 18 | '../vpd-parser//keyword_vpd_parser.cpp', |
| 19 | '../vpd-parser/memory_vpd_parser.cpp', |
| 20 | '../vpd-parser/parser_factory.cpp' |
| 21 | ] |
SunnySrivastava1984 | b59fd09 | 2020-02-03 09:58:56 -0600 | [diff] [blame] | 22 | |
SunnySrivastava1984 | a739259 | 2020-03-09 10:19:33 -0500 | [diff] [blame] | 23 | vpd_manager_dependencies =[sdbusplus, |
| 24 | phosphor_logging, |
| 25 | systemd, |
| 26 | phosphor_dbus_interfaces, |
| 27 | ] |
| 28 | |
SunnySrivastava1984 | e12b181 | 2020-05-26 02:23:11 -0500 | [diff] [blame] | 29 | vpd_manager_exe = executable( |
| 30 | 'vpd-manager', |
| 31 | vpd_manager_SOURCES, |
| 32 | include_directories : configuration_inc, |
| 33 | dependencies : [ |
| 34 | vpd_manager_dependencies, |
| 35 | ], |
| 36 | install : true |
| 37 | ) |