2019-09-11 11:22:57 +02:00
|
|
|
clients_c_flags = ['-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_CLIENT']
|
|
|
|
|
|
2017-11-25 11:39:06 +01:00
|
|
|
name = 'nm-online'
|
|
|
|
|
|
|
|
|
|
deps = [
|
2018-01-07 15:39:42 +01:00
|
|
|
libnm_dep,
|
2019-09-07 23:00:41 +02:00
|
|
|
libnm_nm_default_dep,
|
2017-11-25 11:39:06 +01:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
executable(
|
|
|
|
|
name,
|
2018-01-07 15:39:42 +01:00
|
|
|
name + '.c',
|
2017-11-25 11:39:06 +01:00
|
|
|
dependencies: deps,
|
2019-09-11 11:22:57 +02:00
|
|
|
c_args: clients_c_flags + ['-DG_LOG_DOMAIN="@0@"'.format(name)],
|
2018-01-11 12:34:40 +01:00
|
|
|
link_args: ldflags_linker_script_binary,
|
2017-11-25 11:39:06 +01:00
|
|
|
link_depends: linker_script_binary,
|
2018-10-18 12:50:20 +02:00
|
|
|
install: true,
|
2017-11-25 11:39:06 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
subdir('common')
|
|
|
|
|
|
|
|
|
|
if enable_nmcli
|
|
|
|
|
subdir('cli')
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
if enable_nmtui
|
|
|
|
|
subdir('tui')
|
|
|
|
|
endif
|
2019-11-12 15:54:22 +01:00
|
|
|
|
|
|
|
|
if enable_nm_cloud_setup
|
|
|
|
|
subdir('cloud-setup')
|
|
|
|
|
endif
|