summaryrefslogtreecommitdiffstats
path: root/panels/network/connection-editor/meson.build
blob: fd4ddf95734f577dfe3d5d64c812db4a001ca171 (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
name = 'connection-editor'

sources = files(
  'ce-ip-address-entry.c',
  'ce-netmask-entry.c',
  'ce-page-8021x-security.c',
  'ce-page-details.c',
  'ce-page-ethernet.c',
  'ce-page-ip4.c',
  'ce-page-ip6.c',
  'ce-page-security.c',
  'ce-page-vpn.c',
  'ce-page-wifi.c',
  'ce-page.c',
  'net-connection-editor.c',
  'vpn-helpers.c'
)

resource_data = files(
  '8021x-security-page.ui',
  'connection-editor.ui',
  'details-page.ui',
  'ethernet-page.ui',
  'ip4-page.ui',
  'ip6-page.ui',
  'security-page.ui',
  'vpn-page.ui',
  'wifi-page.ui'
)

c_name = 'net-' + name

sources += gnome.compile_resources(
  c_name + '-resources',
  name + '.gresource.xml',
  c_name: c_name.underscorify(),
  dependencies: resource_data,
  export: true
)

libconnection_editor = static_library(
  name,
  sources: sources,
  include_directories: [top_inc, common_inc, network_inc, wireless_security_inc],
  dependencies: deps,
  c_args: cflags,
  link_with: libwireless_security
)