mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-14 17:48:30 +00:00
60 lines
1.0 KiB
Meson
60 lines
1.0 KiB
Meson
cargs = ['-DG_LOG_DOMAIN="FuPluginRedfish"']
|
|
|
|
shared_module('fu_plugin_redfish',
|
|
fu_hash,
|
|
sources : [
|
|
'fu-plugin-redfish.c',
|
|
'fu-redfish-client.c',
|
|
'fu-redfish-common.c',
|
|
],
|
|
include_directories : [
|
|
root_incdir,
|
|
fwupd_incdir,
|
|
fwupdplugin_incdir,
|
|
],
|
|
install : true,
|
|
install_dir: plugin_dir,
|
|
link_with : [
|
|
fwupd,
|
|
fwupdplugin,
|
|
],
|
|
c_args : cargs,
|
|
dependencies : [
|
|
plugin_deps,
|
|
efivar,
|
|
libjsonglib,
|
|
],
|
|
)
|
|
|
|
install_data(['redfish.conf'],
|
|
install_dir: join_paths(sysconfdir, 'fwupd')
|
|
)
|
|
|
|
if get_option('tests')
|
|
e = executable(
|
|
'redfish-self-test',
|
|
fu_hash,
|
|
sources : [
|
|
'fu-self-test.c',
|
|
'fu-redfish-client.c',
|
|
'fu-redfish-common.c',
|
|
],
|
|
include_directories : [
|
|
root_incdir,
|
|
fwupd_incdir,
|
|
fwupdplugin_incdir,
|
|
],
|
|
dependencies : [
|
|
plugin_deps,
|
|
efivar,
|
|
libjsonglib,
|
|
],
|
|
link_with : [
|
|
fwupd,
|
|
fwupdplugin,
|
|
],
|
|
c_args : cargs
|
|
)
|
|
test('redfish-self-test', e)
|
|
endif
|