summaryrefslogtreecommitdiff
path: root/src/devices/team/meson.build
blob: 159c182a2e2a874dd1a0f69d49780ae5c903fa4d (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
35
sources = files(
  'nm-device-team.c',
  'nm-team-factory.c'
)

deps = [
  jansson_dep,
  libteamdctl_dep,
  nm_dep
]

libnm_device_plugin_team = shared_module(
  'nm-device-plugin-team',
  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_team

run_target(
  'check-local-devices-team',
  command: [check_exports, libnm_device_plugin_team.full_path(), linker_script_devices],
  depends: libnm_device_plugin_team
)

# FIXME: check_so_symbols replacement
'''
check-local-devices-team: src/devices/team/libnm-device-plugin-team.la
  $(srcdir)/tools/check-exports.sh $(builddir)/src/devices/team/.libs/libnm-device-plugin-team.so "$(srcdir)/linker-script-devices.ver"
  $(call check_so_symbols,$(builddir)/src/devices/team/.libs/libnm-device-plugin-team.so)
'''