summaryrefslogtreecommitdiffstats
path: root/panels/network/wireless-security/meson.build
blob: 277be5a8525f1709b1dd0a1ae8b87a8a932c3467 (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
name = 'wireless-security'

wireless_security_inc = include_directories('.')

nm_applet_headers = [
  'eap-method.h',
  'eap-method-fast.h',
  'eap-method-leap.h',
  'eap-method-peap.h',
  'eap-method-simple.h',
  'eap-method-tls.h',
  'eap-method-ttls.h',
  'helpers.h',
  'wireless-security.h',
  'ws-leap.h',
  'ws-dynamic-wep.h',
  'ws-wep-key.h',
  'ws-wpa-eap.h',
  'ws-wpa-psk.h'
]

nm_applet_sources = [
  'eap-method.c',
  'eap-method-fast.c',
  'eap-method-leap.c',
  'eap-method-peap.c',
  'eap-method-simple.c',
  'eap-method-tls.c',
  'eap-method-ttls.c',
  'helpers.c',
  'wireless-security.c',
  'ws-leap.c',
  'ws-dynamic-wep.c',
  'ws-wep-key.c',
  'ws-wpa-eap.c',
  'ws-wpa-psk.c'
]

sources = files(nm_applet_sources)

nm_resource_data = [
  'eap-method-fast.ui',
  'eap-method-leap.ui',
  'eap-method-peap.ui',
  'eap-method-simple.ui',
  'eap-method-tls.ui',
  'eap-method-ttls.ui',
  'ws-dynamic-wep.ui',
  'ws-leap.ui',
  'ws-wep-key.ui',
  'ws-wpa-eap.ui',
  'ws-wpa-psk.ui'
]

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

libwireless_security = static_library(
  name,
  sources: sources,
  include_directories: [top_inc, network_inc],
  dependencies: deps
)