summaryrefslogtreecommitdiff
path: root/src/libnm-client-public/meson.build
blob: 1a1e612255e10324ea2487f0786225fb3d994656 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# SPDX-License-Identifier: LGPL-2.1-or-later

libnm_client_public_inc = include_directories('.')

libnm_client_headers = files(
  'NetworkManager.h',
  'nm-access-point.h',
  'nm-active-connection.h',
  'nm-autoptr.h',
  'nm-checkpoint.h',
  'nm-client.h',
  'nm-device-6lowpan.h',
  'nm-device-adsl.h',
  'nm-device-bond.h',
  'nm-device-bridge.h',
  'nm-device-bt.h',
  'nm-device-dummy.h',
  'nm-device-ethernet.h',
  'nm-device-generic.h',
  'nm-device-infiniband.h',
  'nm-device-ip-tunnel.h',
  'nm-device-macsec.h',
  'nm-device-macvlan.h',
  'nm-device-modem.h',
  'nm-device-olpc-mesh.h',
  'nm-device-ovs-bridge.h',
  'nm-device-ovs-interface.h',
  'nm-device-ovs-port.h',
  'nm-device-ppp.h',
  'nm-device-team.h',
  'nm-device-tun.h',
  'nm-device-veth.h',
  'nm-device-vlan.h',
  'nm-device-vrf.h',
  'nm-device-vxlan.h',
  'nm-device-wifi-p2p.h',
  'nm-device-wifi.h',
  'nm-device-wimax.h',
  'nm-device-wireguard.h',
  'nm-device-wpan.h',
  'nm-device.h',
  'nm-dhcp-config.h',
  'nm-ethtool-utils.h',
  'nm-ip-config.h',
  'nm-object.h',
  'nm-remote-connection.h',
  'nm-secret-agent-old.h',
  'nm-types.h',
  'nm-vpn-connection.h',
  'nm-vpn-editor.h',
  'nm-vpn-plugin-old.h',
  'nm-vpn-service-plugin.h',
  'nm-wifi-p2p-peer.h',
  'nm-wimax-nsp.h',
)

libnm_client_public_enum_sources = gnome.mkenums(
  'nm-enum-types',
  sources: libnm_client_headers + [nm_version_macro_header],
  identifier_prefix: nm_id_prefix,
  c_template: 'nm-enum-types.c.template',
  h_template: 'nm-enum-types.h.template',
  install_header: true,
  install_dir: libnm_pkgincludedir,
)

install_headers(
  libnm_core_headers + libnm_client_headers + [nm_version_macro_header],
  subdir: libnm_name,
)

libnm_client_public_dep = declare_dependency(
  sources: libnm_client_public_enum_sources[1],
  include_directories: [
    libnm_client_public_inc,
    src_inc,
    top_inc,
  ],
  dependencies: [
    libnm_core_public_dep,
    glib_dep,
  ],
)