summaryrefslogtreecommitdiff
path: root/monitor/afc/meson.build
blob: 7d134132ebf7d0667bfad0e54242c49d36bf7d38 (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(
  'afcvolumemonitordaemon.c',
  'afcvolume.c',
  'afcvolumemonitor.c',
)

deps = [
  glib_dep,
  gobject_dep,
  libimobiledevice_dep,
  libplist_dep,
  libgvfsproxyvolumemonitordaemon_noin_dep,
]

cflags = [
  '-DG_LOG_DOMAIN="GVFS-AFC"',
  '-DGIO_MODULE_DIR="@0@"'.format(gio_giomoduledir),
  '-DGVFS_LOCALEDIR="@0@"'.format(gvfs_prefix / gvfs_localedir),
]

executable(
  'gvfs-afc-volume-monitor',
  sources,
  include_directories: top_inc,
  dependencies: deps,
  c_args: cflags,
  install: true,
  install_dir: gvfs_libexecdir,
)