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', |
SunnySrivastava1984 | bca5aaa | 2020-04-21 05:31:04 -0500 | [diff] [blame] | 12 | 'reader_impl.cpp', |
SunnySrivastava1984 | f6d541e | 2020-02-04 12:50:40 -0600 | [diff] [blame] | 13 | '../impl.cpp', |
| 14 | '../parser.cpp', |
| 15 | '../utils.cpp', |
SunnySrivastava1984 | a739259 | 2020-03-09 10:19:33 -0500 | [diff] [blame] | 16 | '../vpdecc/vpdecc.c', |
| 17 | '../vpdecc/vpdecc_support.c' |
SunnySrivastava1984 | b59fd09 | 2020-02-03 09:58:56 -0600 | [diff] [blame] | 18 | ] |
| 19 | |
SunnySrivastava1984 | a739259 | 2020-03-09 10:19:33 -0500 | [diff] [blame] | 20 | vpd_manager_dependencies =[sdbusplus, |
| 21 | phosphor_logging, |
| 22 | systemd, |
| 23 | phosphor_dbus_interfaces, |
| 24 | ] |
| 25 | |
SunnySrivastava1984 | b59fd09 | 2020-02-03 09:58:56 -0600 | [diff] [blame] | 26 | vpd_manager_exe = executable('vpd-manager', |
SunnySrivastava1984 | a739259 | 2020-03-09 10:19:33 -0500 | [diff] [blame] | 27 | vpd_manager_SOURCES, |
| 28 | include_directories : configuration_inc, |
| 29 | dependencies :[vpd_manager_dependencies, |
| 30 | ], |
| 31 | install: true |
| 32 | ) |