
These SPDX license identifiers are deprecated ([1]). Update them. [1] https://spdx.org/licenses/ sed \ -e '1 s%^/\* SPDX-License-Identifier: \(GPL-2.0\|LGPL-2.1\)+ \*/$%/* SPDX-License-Identifier: \1-or-later */%' \ -e '1,2 s%^\(--\|#\|//\) SPDX-License-Identifier: \(GPL-2.0\|LGPL-2.1\)+$%\1 SPDX-License-Identifier: \2-or-later%' \ -i \ $(git grep -l SPDX-License-Identifier -- \ ':(exclude)shared/c-*/' \ ':(exclude)shared/n-*/' \ ':(exclude)shared/systemd/src' \ ':(exclude)src/systemd/src')
31 lines
573 B
Meson
31 lines
573 B
Meson
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
|
|
clients_c_flags = ['-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_CLIENT']
|
|
|
|
name = 'nm-online'
|
|
|
|
executable(
|
|
name,
|
|
name + '.c',
|
|
dependencies: [
|
|
libnm_dep,
|
|
libnm_nm_default_dep,
|
|
libnm_libnm_aux_dep,
|
|
],
|
|
c_args: clients_c_flags + ['-DG_LOG_DOMAIN="@0@"'.format(name)],
|
|
link_args: ldflags_linker_script_binary,
|
|
link_depends: linker_script_binary,
|
|
install: true,
|
|
)
|
|
|
|
subdir('common')
|
|
subdir('cli')
|
|
|
|
if enable_nmtui
|
|
subdir('tui')
|
|
endif
|
|
|
|
if enable_nm_cloud_setup
|
|
subdir('cloud-setup')
|
|
endif
|