blob: 44b34aa963fa444c35740ff26941485e4579514c [file] [log] [blame]
SunnySrivastava1984b59fd092020-02-03 09:58:56 -06001systemd = dependency('libsystemd', version : '>= 221')
2phosphor_dbus_interfaces = dependency('phosphor-dbus-interfaces')
3
SunnySrivastava1984b59fd092020-02-03 09:58:56 -06004configuration_inc = include_directories('.', '../')
5
6vpd_manager_SOURCES =[
7 'manager_main.cpp',
8 'manager.cpp',
9 'server.cpp',
SunnySrivastava198419be6d32020-03-03 07:21:45 -060010 'error.cpp',
SunnySrivastava1984f6d541e2020-02-04 12:50:40 -060011 'editor_impl.cpp',
12 '../impl.cpp',
13 '../parser.cpp',
14 '../utils.cpp',
SunnySrivastava1984a7392592020-03-09 10:19:33 -050015 '../vpdecc/vpdecc.c',
16 '../vpdecc/vpdecc_support.c'
SunnySrivastava1984b59fd092020-02-03 09:58:56 -060017 ]
18
SunnySrivastava1984a7392592020-03-09 10:19:33 -050019vpd_manager_dependencies =[sdbusplus,
20 phosphor_logging,
21 systemd,
22 phosphor_dbus_interfaces,
23 ]
24
SunnySrivastava1984b59fd092020-02-03 09:58:56 -060025vpd_manager_exe = executable('vpd-manager',
SunnySrivastava1984a7392592020-03-09 10:19:33 -050026 vpd_manager_SOURCES,
27 include_directories : configuration_inc,
28 dependencies :[vpd_manager_dependencies,
29 ],
30 install: true
31 )