diff options
| author | Michael Biebl <biebl@debian.org> | 2021-10-01 23:06:08 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2021-10-01 23:06:08 +0200 |
| commit | a3349a04ac4c38885cddefec8515c979d03f9327 (patch) | |
| tree | d3bbee695aa048cb4ec252e7d63515c8376f9006 /src/nm-cloud-setup/meson.build | |
| parent | 2d5b58e374d67f60880c7689e80c7745aeef3f62 (diff) | |
| parent | e74c568b07b50b97873fb4ee1d776dedefbd54d6 (diff) | |
Update upstream source from tag 'upstream/1.32.12'
Update to upstream version '1.32.12' with Debian dir 6fabefa95c7dcf83371a78eb2c47013a81ff8d86
Diffstat (limited to 'src/nm-cloud-setup/meson.build')
| -rw-r--r-- | src/nm-cloud-setup/meson.build | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/src/nm-cloud-setup/meson.build b/src/nm-cloud-setup/meson.build new file mode 100644 index 00000000..ea4ad113 --- /dev/null +++ b/src/nm-cloud-setup/meson.build @@ -0,0 +1,67 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later + +if install_systemdunitdir + + nm_cloud_setup_service = configure_file( + input: 'nm-cloud-setup.service.in', + output: '@BASENAME@', + install_dir: systemd_systemdsystemunitdir, + configuration: data_conf, + ) + + install_data( + 'nm-cloud-setup.timer', + install_dir: systemd_systemdsystemunitdir, + ) + + install_data( + '90-nm-cloud-setup.sh', + install_dir: join_paths(nm_pkglibdir, 'dispatcher.d', 'no-wait.d'), + ) + +endif + +libnm_cloud_setup_core = static_library( + 'nm-cloud-setup-core', + sources: files( + 'nm-cloud-setup-utils.c', + 'nm-http-client.c', + 'nmcs-provider-ec2.c', + 'nmcs-provider-gcp.c', + 'nmcs-provider-azure.c', + 'nmcs-provider-aliyun.c', + 'nmcs-provider.c', + ), + dependencies: [ + libnm_dep, + glib_dep, + libcurl_dep, + ], +) + +executable( + 'nm-cloud-setup', + files( + 'main.c', + ), + dependencies: [ + libnm_dep, + glib_dep, + libcurl_dep, + ], + link_with: [ + libnm_cloud_setup_core, + libnmc_base, + libnm_client_aux_extern, + libnm_core_aux_extern, + libnm_core_aux_intern, + libnm_log_null, + libnm_glib_aux, + libnm_std_aux, + libc_siphash, + ], + link_args: ldflags_linker_script_binary, + link_depends: linker_script_binary, + install: true, + install_dir: nm_libexecdir, +) |