2020-12-23 22:21:36 +01:00
|
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
2020-01-14 10:42:24 +01:00
|
|
|
|
2018-09-19 13:34:55 +02:00
|
|
|
libnmi_core = static_library(
|
|
|
|
|
'nmi-core',
|
2021-01-27 21:15:32 +01:00
|
|
|
sources: files(
|
|
|
|
|
'nmi-cmdline-reader.c',
|
|
|
|
|
'nmi-dt-reader.c',
|
|
|
|
|
'nmi-ibft-reader.c',
|
|
|
|
|
),
|
2021-01-28 08:46:29 +01:00
|
|
|
dependencies: core_default_dep,
|
2018-09-19 13:34:55 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
executable(
|
2021-01-27 21:15:32 +01:00
|
|
|
'nm-initrd-generator',
|
|
|
|
|
'nm-initrd-generator.c',
|
2021-01-28 08:46:29 +01:00
|
|
|
dependencies: core_default_dep,
|
2021-01-27 21:15:32 +01:00
|
|
|
link_with: [
|
|
|
|
|
libNetworkManagerBase,
|
|
|
|
|
libnmi_core,
|
2021-02-24 14:33:34 +01:00
|
|
|
libnm_core_aux_intern,
|
2021-02-12 15:01:09 +01:00
|
|
|
libnm_core_impl,
|
2021-02-24 14:01:52 +01:00
|
|
|
libnm_platform,
|
2021-02-12 15:01:09 +01:00
|
|
|
libnm_base,
|
2021-02-24 13:13:01 +01:00
|
|
|
libnm_systemd_shared,
|
2021-02-24 13:06:17 +01:00
|
|
|
libnm_log_core,
|
2021-02-24 13:13:01 +01:00
|
|
|
libnm_udev_aux,
|
2021-02-24 11:52:51 +01:00
|
|
|
libnm_glib_aux,
|
|
|
|
|
libnm_std_aux,
|
|
|
|
|
libc_siphash,
|
2021-01-27 21:15:32 +01:00
|
|
|
],
|
2018-09-19 13:34:55 +02:00
|
|
|
link_args: ldflags_linker_script_binary,
|
|
|
|
|
link_depends: linker_script_binary,
|
|
|
|
|
install: true,
|
|
|
|
|
install_dir: nm_libexecdir,
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
if enable_tests
|
|
|
|
|
subdir('tests')
|
|
|
|
|
endif
|