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
|
# Attention, emacs, please use -*- mode: python -*-
# (even though this isn't actually Python code)
examples = [ 'passthrough', 'passthrough_fh',
'null', 'hello', 'hello_ll', 'printcap',
'ioctl', 'ioctl_client', 'poll_client',
'cuse', 'cuse_client' ]
if not platform.endswith('bsd')
examples += 'passthrough_ll'
endif
threaded_examples = [ 'notify_inval_inode',
'invalidate_path',
'notify_store_retrieve',
'notify_inval_entry',
'poll' ]
foreach ex : examples
executable(ex, ex + '.c',
include_directories: include_dirs,
link_with: [ libfuse ],
install: false)
endforeach
foreach ex : threaded_examples
executable(ex, ex + '.c',
include_directories: include_dirs,
link_with: [ libfuse ],
dependencies: thread_dep,
install: false)
endforeach
# TODO: Link passthrough_fh with ulockmgr if available
|