diff options
| author | Michael Biebl <biebl@debian.org> | 2021-10-01 23:05:04 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2021-10-01 23:05:04 +0200 |
| commit | e74c568b07b50b97873fb4ee1d776dedefbd54d6 (patch) | |
| tree | 3469f17ea9af91f7ff169b890633bda68b0cf76e /libnm-core/meson.build | |
| parent | bfe522304da217296e2a61040f58e35ec5d6f3f2 (diff) | |
New upstream version 1.32.12 upstream/1.32.12
Diffstat (limited to 'libnm-core/meson.build')
| -rw-r--r-- | libnm-core/meson.build | 280 |
1 files changed, 0 insertions, 280 deletions
diff --git a/libnm-core/meson.build b/libnm-core/meson.build deleted file mode 100644 index ec9fb8ce..00000000 --- a/libnm-core/meson.build +++ /dev/null @@ -1,280 +0,0 @@ -# SPDX-License-Identifier: LGPL-2.1-or-later - -libnm_core_inc = include_directories('.') - -nm_version_macro_header = configure_file( - input: 'nm-version-macros.h.in', - output: '@BASENAME@', - configuration: data_conf, -) - -libnm_core_nm_default_dep = declare_dependency( - sources: nm_version_macro_header, - include_directories: libnm_core_inc, - dependencies: glib_nm_default_dep, -) - -libnm_core_headers = files( - 'nm-connection.h', - 'nm-core-types.h', - 'nm-dbus-interface.h', - 'nm-errors.h', - 'nm-keyfile.h', - 'nm-setting-6lowpan.h', - 'nm-setting-8021x.h', - 'nm-setting-adsl.h', - 'nm-setting-bluetooth.h', - 'nm-setting-bond.h', - 'nm-setting-bridge-port.h', - 'nm-setting-bridge.h', - 'nm-setting-cdma.h', - 'nm-setting-connection.h', - 'nm-setting-dcb.h', - 'nm-setting-dummy.h', - 'nm-setting-ethtool.h', - 'nm-setting-generic.h', - 'nm-setting-gsm.h', - 'nm-setting-hostname.h', - 'nm-setting-infiniband.h', - 'nm-setting-ip-config.h', - 'nm-setting-ip-tunnel.h', - 'nm-setting-ip4-config.h', - 'nm-setting-ip6-config.h', - 'nm-setting-macsec.h', - 'nm-setting-macvlan.h', - 'nm-setting-match.h', - 'nm-setting-olpc-mesh.h', - 'nm-setting-ovs-bridge.h', - 'nm-setting-ovs-dpdk.h', - 'nm-setting-ovs-external-ids.h', - 'nm-setting-ovs-interface.h', - 'nm-setting-ovs-patch.h', - 'nm-setting-ovs-port.h', - 'nm-setting-ppp.h', - 'nm-setting-pppoe.h', - 'nm-setting-proxy.h', - 'nm-setting-serial.h', - 'nm-setting-sriov.h', - 'nm-setting-tc-config.h', - 'nm-setting-team-port.h', - 'nm-setting-team.h', - 'nm-setting-tun.h', - 'nm-setting-user.h', - 'nm-setting-veth.h', - 'nm-setting-vlan.h', - 'nm-setting-vpn.h', - 'nm-setting-vrf.h', - 'nm-setting-vxlan.h', - 'nm-setting-wifi-p2p.h', - 'nm-setting-wimax.h', - 'nm-setting-wired.h', - 'nm-setting-wireguard.h', - 'nm-setting-wireless-security.h', - 'nm-setting-wireless.h', - 'nm-setting-wpan.h', - 'nm-setting.h', - 'nm-simple-connection.h', - 'nm-utils.h', - 'nm-version.h', - 'nm-vpn-dbus-interface.h', - 'nm-vpn-editor-plugin.h', - 'nm-vpn-plugin-info.h', -) - -libnm_core_enum_sources = gnome.mkenums_simple( - 'nm-core-enum-types', - sources: libnm_core_headers + [nm_version_macro_header], - identifier_prefix: nm_id_prefix, - body_prefix: '#include "libnm-core/nm-default-libnm-core.h"', - install_header: true, - install_dir: libnm_pkgincludedir, -) - -libnm_libnm_core_intern = static_library( - 'nm-libnm-core-intern', - sources: files( - 'nm-libnm-core-intern/nm-auth-subject.c', - 'nm-libnm-core-intern/nm-libnm-core-utils.c', - ) + [libnm_core_enum_sources[1]], - dependencies: [ - libnm_core_nm_default_dep, - libnm_base_dep, - ], - c_args: [ - '-DG_LOG_DOMAIN="libnm"', - ], -) - -libnm_libnm_core_intern_dep = declare_dependency( - sources: [libnm_core_enum_sources[1], nm_version_macro_header], - include_directories: [libnm_core_inc, shared_inc], - dependencies: [ - libnm_glib_aux_dep, - libnm_base_dep, - ], - link_with: libnm_libnm_core_intern, -) - -libnm_crypto = static_library( - 'nm-crypto', - sources: 'nm-crypto-@0@.c'.format(crypto), - dependencies: [ - crypto_dep, - libnm_glib_aux_dep, - ], - c_args: [ - '-DG_LOG_DOMAIN="libnm"', - ], -) - -libnm_core_settings_sources = files( - 'nm-setting-6lowpan.c', - 'nm-setting-8021x.c', - 'nm-setting-adsl.c', - 'nm-setting-bluetooth.c', - 'nm-setting-bond.c', - 'nm-setting-bridge-port.c', - 'nm-setting-bridge.c', - 'nm-setting-cdma.c', - 'nm-setting-connection.c', - 'nm-setting-dcb.c', - 'nm-setting-dummy.c', - 'nm-setting-ethtool.c', - 'nm-setting-generic.c', - 'nm-setting-gsm.c', - 'nm-setting-hostname.c', - 'nm-setting-infiniband.c', - 'nm-setting-ip-config.c', - 'nm-setting-ip-tunnel.c', - 'nm-setting-ip4-config.c', - 'nm-setting-ip6-config.c', - 'nm-setting-macsec.c', - 'nm-setting-macvlan.c', - 'nm-setting-match.c', - 'nm-setting-olpc-mesh.c', - 'nm-setting-ovs-bridge.c', - 'nm-setting-ovs-dpdk.c', - 'nm-setting-ovs-external-ids.c', - 'nm-setting-ovs-interface.c', - 'nm-setting-ovs-patch.c', - 'nm-setting-ovs-port.c', - 'nm-setting-ppp.c', - 'nm-setting-pppoe.c', - 'nm-setting-proxy.c', - 'nm-setting-serial.c', - 'nm-setting-sriov.c', - 'nm-setting-tc-config.c', - 'nm-setting-team-port.c', - 'nm-setting-team.c', - 'nm-setting-tun.c', - 'nm-setting-user.c', - 'nm-setting-veth.c', - 'nm-setting-vlan.c', - 'nm-setting-vpn.c', - 'nm-setting-vrf.c', - 'nm-setting-vxlan.c', - 'nm-setting-wifi-p2p.c', - 'nm-setting-wimax.c', - 'nm-setting-wired.c', - 'nm-setting-wireguard.c', - 'nm-setting-wireless-security.c', - 'nm-setting-wireless.c', - 'nm-setting-wpan.c', -) - -libnm_core_sources = libnm_core_settings_sources + files( - 'nm-connection.c', - 'nm-crypto.c', - 'nm-dbus-utils.c', - 'nm-errors.c', - 'nm-keyfile-utils.c', - 'nm-keyfile.c', - 'nm-meta-setting-base-impl.c', - 'nm-property-compare.c', - 'nm-setting.c', - 'nm-simple-connection.c', - 'nm-team-utils.c', - 'nm-utils.c', - 'nm-vpn-editor-plugin.c', - 'nm-vpn-plugin-info.c', -) - -libnm_core = static_library( - 'nm-core', - sources: libnm_core_sources + libnm_core_enum_sources + [nm_version_macro_header], - include_directories: top_inc, - dependencies: [ - dl_dep, - libnm_systemd_shared_dep, - libnm_glib_aux_dep, - uuid_dep, - ], - c_args: [ - '-DG_LOG_DOMAIN="libnm"', - ], - link_with: [ - libnm_crypto, - libnm_libnm_core_intern, - ], -) - -libnm_core_dep = declare_dependency( - sources: [libnm_core_enum_sources[1], nm_version_macro_header], - include_directories: [libnm_core_inc, shared_inc], - dependencies: glib_dep, - link_with: libnm_core, -) - -libnm_libnm_core_aux = static_library( - 'nm-libnm-core-aux', - sources: files( - 'nm-libnm-core-aux/nm-libnm-core-aux.c', - ) + [libnm_core_enum_sources[1]], - dependencies: libnm_glib_aux_dep, - c_args: [ - '-DG_LOG_DOMAIN="libnm"', - ], - link_with: [ - libnm_libnm_core_intern, - libnm_base, - ], -) - -libnm_libnm_core_aux_dep = declare_dependency( - sources: [libnm_core_enum_sources[1], nm_version_macro_header], - include_directories: [libnm_core_inc, shared_inc], - dependencies: glib_dep, - link_with: libnm_libnm_core_aux, -) - -docbooks = [ - ['nm-dbus-types', 'nm-dbus-interface.h', 'NetworkManager D-Bus API Types'], - ['nm-vpn-dbus-types', 'nm-vpn-dbus-interface.h', 'VPN Plugin D-Bus API Types'], -] - -foreach docbook: docbooks - output = docbook[0] + '.xml' - - xml = custom_target( - output, - input: docbook[1], - output: output, - capture: true, - command: [ - perl, - join_paths(source_root, 'tools', 'enums-to-docbook.pl'), - docbook[0], - docbook[2], - '@INPUT@', - ], - # FIXME: gtkdoc does not depend directly on this. - # https://github.com/mesonbuild/meson/pull/2806 - build_by_default: true, - ) - - content_files += xml.full_path() -endforeach - -if enable_tests - subdir('tests') -endif |