NetworkManager/src/devices/wifi/meson.build
Lubomir Rintel 1491efa5d8 meson: run the check-export.sh in test phase
Targets not depended on by anything are not useful and likely never get run.
2018-06-28 20:38:52 +02:00

51 lines
1.1 KiB
Meson

common_sources = files(
'nm-wifi-ap.c',
'nm-wifi-utils.c'
)
sources = common_sources + files(
'nm-wifi-factory.c',
'nm-wifi-common.c',
'nm-device-wifi.c',
'nm-device-olpc-mesh.c'
)
if enable_iwd
sources += files(
'nm-device-iwd.c',
'nm-iwd-manager.c',
)
endif
deps = [
nm_dep
]
libnm_device_plugin_wifi = shared_module(
'nm-device-plugin-wifi',
sources: sources,
dependencies: deps,
link_args: ldflags_linker_script_devices,
link_depends: linker_script_devices,
install: true,
install_dir: nm_plugindir
)
core_plugins += libnm_device_plugin_wifi
test(
'check-local-devices-wifi',
check_exports,
args: [libnm_device_plugin_wifi.full_path(), linker_script_devices],
)
# FIXME: check_so_symbols replacement
'''
check-local-devices-wifi: src/devices/wifi/libnm-device-plugin-wifi.la
$(srcdir)/tools/check-exports.sh $(builddir)/src/devices/wifi/.libs/libnm-device-plugin-wifi.so "$(srcdir)/linker-script-devices.ver"
$(call check_so_symbols,$(builddir)/src/devices/wifi/.libs/libnm-device-plugin-wifi.so)
'''
if enable_tests
subdir('tests')
endif