summaryrefslogtreecommitdiff
path: root/monitor/mtp/meson.build
blob: c76f8aaa3c48b612efabab8dd9de755decaaf550 (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(
  'mtp-volume-monitor-daemon.c',
  'gmtpvolume.c',
  'gmtpvolumemonitor.c',
)

deps = [
  gio_unix_dep,
  gobject_dep,
  libgvfscommon_gphoto2_dep,
  libgvfsproxyvolumemonitordaemon_noin_dep,
]

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

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