summaryrefslogtreecommitdiff
path: root/capplets/time-admin/src/meson.build
blob: 592472485c156a5124c44daa5862dd4330a7ce06 (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
sources = files(
  'main.c',
  'time-map.c',
  'time-share.c',
  'time-tool.c',
  'time-zone.c'
)

sources += gnome.compile_resources(
  'mate-time-admin-resources',
  'org.mate.mcc.ta.gresource.xml',
  c_name: 'time_admin',
  export: true
)

cflags += [
  '-DMATECC_DATA_DIR="@0@"'.format(mcc_pkgdatadir),
  '-DTIMPZONEDIR="@0@"'.format(mcc_timezonedir),
]

executable(
  'mate-time-admin',
  sources : sources,
  include_directories: config_inc,
  dependencies : [common_deps, libcommon_dep, polkit_dep, m_dep],
  c_args : cflags,
  install : true,
  install_dir : get_option('bindir')
)