summaryrefslogtreecommitdiff
path: root/monitor/afc/meson.build
blob: 0657512df6c6642983826e066b07b9295aae5470 (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
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_rpath: gvfs_rpath,
  install_dir: gvfs_libexecdir,
)