about summary refs log tree commit diff
path: root/src/devices/adsl/meson.build
blob: ee804d2387b78d69e4f91695cb3abb6c75e9d2c6 (plain)
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
sources = files(
  'nm-atm-manager.c',
  'nm-device-adsl.c'
)

deps = [
  libudev_dep,
  nm_dep
]

libnm_device_plugin_adsl = shared_module(
  'nm-device-plugin-adsl',
  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_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)
'''