SunnySrivastava1984 | b59fd09 | 2020-02-03 09:58:56 -0600 | [diff] [blame] | 1 | systemd = dependency('libsystemd', version : '>= 221') |
| 2 | phosphor_dbus_interfaces = dependency('phosphor-dbus-interfaces') |
| 3 | |
SunnySrivastava1984 | b59fd09 | 2020-02-03 09:58:56 -0600 | [diff] [blame] | 4 | configuration_inc = include_directories('.', '../') |
| 5 | |
| 6 | vpd_manager_SOURCES =[ |
| 7 | 'manager_main.cpp', |
| 8 | 'manager.cpp', |
| 9 | 'server.cpp', |
SunnySrivastava1984 | 19be6d3 | 2020-03-03 07:21:45 -0600 | [diff] [blame] | 10 | 'error.cpp', |
SunnySrivastava1984 | f6d541e | 2020-02-04 12:50:40 -0600 | [diff] [blame] | 11 | 'editor_impl.cpp', |
| 12 | '../impl.cpp', |
| 13 | '../parser.cpp', |
| 14 | '../utils.cpp', |
SunnySrivastava1984 | a739259 | 2020-03-09 10:19:33 -0500 | [diff] [blame^] | 15 | '../vpdecc/vpdecc.c', |
| 16 | '../vpdecc/vpdecc_support.c' |
SunnySrivastava1984 | b59fd09 | 2020-02-03 09:58:56 -0600 | [diff] [blame] | 17 | ] |
| 18 | |
SunnySrivastava1984 | a739259 | 2020-03-09 10:19:33 -0500 | [diff] [blame^] | 19 | vpd_manager_dependencies =[sdbusplus, |
| 20 | phosphor_logging, |
| 21 | systemd, |
| 22 | phosphor_dbus_interfaces, |
| 23 | ] |
| 24 | |
SunnySrivastava1984 | b59fd09 | 2020-02-03 09:58:56 -0600 | [diff] [blame] | 25 | vpd_manager_exe = executable('vpd-manager', |
SunnySrivastava1984 | a739259 | 2020-03-09 10:19:33 -0500 | [diff] [blame^] | 26 | vpd_manager_SOURCES, |
| 27 | include_directories : configuration_inc, |
| 28 | dependencies :[vpd_manager_dependencies, |
| 29 | ], |
| 30 | install: true |
| 31 | ) |