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
|
teamwork_src = [
'e_mod_config.c',
'e_mod_main.c',
'e_mod_tw.c',
'e_mod_main.h',
]
if config_h.has('HAVE_WAYLAND') == true
teamwork_src += [
'wl.c',
'wl_teamwork.c',
'wl_teamwork.h'
]
endif
if config_h.has('HAVE_WAYLAND_ONLY') == false
teamwork_src += [
'x11.c'
]
endif
teamwork_dir = join_paths(dir_module_e, 'teamwork', module_arch)
if get_option('teamwork') == true
config_h.set('USE_MODULE_TEAMWORK', '1')
module_files += join_paths(teamwork_dir, 'teamwork.so')
shared_module('teamwork',
teamwork_src,
include_directories: include_directories(module_includes),
name_prefix: '',
dependencies: module_deps,
install_dir: teamwork_dir,
install: true
)
endif
|