1c710b975SWilly Tuipmid_pre = [ 2c710b975SWilly Tu boost_coroutine, 3c710b975SWilly Tu phosphor_dbus_interfaces_dep, 4bbc6ad48SPatrick Williams phosphor_logging_dep, 5c710b975SWilly Tu sdbusplus_dep, 6c710b975SWilly Tu systemd, 7c710b975SWilly Tu] 8c710b975SWilly Tu 9*9cf0838aSVernon Maueryentity_map_json_lib = static_library( 10*9cf0838aSVernon Mauery 'entity_map_json', 11*9cf0838aSVernon Mauery 'entity_map_json.cpp', 12*9cf0838aSVernon Mauery include_directories: root_inc, 13*9cf0838aSVernon Mauery dependencies: [nlohmann_json_dep, sdbusplus_dep], 14*9cf0838aSVernon Mauery implicit_include_directories: false) 15*9cf0838aSVernon Mauery 16*9cf0838aSVernon Maueryentity_map_json_dep = declare_dependency(link_with: entity_map_json_lib) 17*9cf0838aSVernon Mauery 18c710b975SWilly Tulibipmid = library( 19c710b975SWilly Tu 'ipmid', 20c710b975SWilly Tu 'sdbus-asio.cpp', 21c710b975SWilly Tu 'signals.cpp', 22c710b975SWilly Tu 'systemintf-sdbus.cpp', 23c710b975SWilly Tu 'utils.cpp', 24*9cf0838aSVernon Mauery dependencies: [ipmid_pre, entity_map_json_dep], 25c710b975SWilly Tu version: meson.project_version(), 26c710b975SWilly Tu include_directories: root_inc, 27c710b975SWilly Tu install: true, 28c710b975SWilly Tu install_dir: get_option('libdir'), 29c710b975SWilly Tu override_options: ['b_lundef=false']) 30c710b975SWilly Tu 31c710b975SWilly Tuipmid_dep = declare_dependency( 32c710b975SWilly Tu dependencies: ipmid_pre, 33c710b975SWilly Tu include_directories: root_inc, 34c710b975SWilly Tu link_with: libipmid) 35c710b975SWilly Tu 36c710b975SWilly Tuimport('pkgconfig').generate( 37c710b975SWilly Tu libipmid, 38c710b975SWilly Tu name: 'libipmid', 39c710b975SWilly Tu version: meson.project_version(), 40c710b975SWilly Tu description: 'ipmid') 41