summaryrefslogtreecommitdiffstats
path: root/plugins/housekeeping/meson.build
blob: ce7ba81bc18cfe5379d6e2bf97d01f50a23ce6cd (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
common_files = files(
  'gsd-disk-space.c',
  'gsd-disk-space-helper.c'
)

sources = common_files + files(
  'gsd-housekeeping-manager.c',
  'gsd-systemd-notify.c',
  'main.c'
)

deps = plugins_deps + [
  gio_unix_dep,
  gtk_dep,
  libnotify_dep
]

executable(
  'gsd-' + plugin_name,
  sources,
  include_directories: [top_inc, common_inc],
  dependencies: deps,
  c_args: cflags,
  install: true,
  install_rpath: gsd_pkglibdir,
  install_dir: gsd_libexecdir
)

programs = [
  'gsd-disk-space-test',
  'gsd-empty-trash-test',
  'gsd-purge-temp-test'
]

foreach program: programs
  executable(
    program,
    common_files + [program + '.c'],
    include_directories: top_inc,
    dependencies: deps
  )
endforeach