1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
sources = files(
'nm-atm-manager.c',
'nm-device-adsl.c'
)
deps = [
core_dep,
libnmdbus_dep,
libudev_dep
]
ldflags = []
if have_version_script
ldflags += '-Wl,--version-script,@0@'.format(linker_script_devices)
endif
libnm_device_plugin_adsl = shared_module(
'nm-device-plugin-adsl',
sources: sources,
dependencies: deps,
link_args: ldflags,
link_depends: linker_script_devices,
install: true,
install_dir: nm_pkglibdir
)
core_plugins += libnm_device_plugin_adsl
run_target(
'check-local-devices-adsl',
command: [check_exports, libnm_device_plugin_adsl.full_path(), linker_script_devices],
depends: libnm_device_plugin_adsl
)
# FIXME: check_so_symbols replacement
'''
check-local-devices-adsl: src/devices/adsl/libnm-device-plugin-adsl.la
$(srcdir)/tools/check-exports.sh $(builddir)/src/devices/adsl/.libs/libnm-device-plugin-adsl.so "$(srcdir)/linker-script-devices.ver"
$(call check_so_symbols,$(builddir)/src/devices/adsl/.libs/libnm-device-plugin-adsl.so)
'''
|