summaryrefslogtreecommitdiff
path: root/monitor/mtp/meson.build
blob: 62524e5d850b910bef1511429c01185f04b5eb7b (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
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_prefix / gvfs_localedir),
]

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