2017-07-25 02:57:15 -07:00
|
|
|
module = 'shot'
|
|
|
|
opt = 'shot'
|
|
|
|
conf = 'USE_MODULE_SHOT'
|
|
|
|
|
|
|
|
src = [
|
|
|
|
'e_mod_main.c'
|
|
|
|
]
|
|
|
|
|
|
|
|
icon = [
|
|
|
|
'e-module-' + module + '.edj',
|
|
|
|
'module.desktop'
|
2017-07-21 13:20:03 -07:00
|
|
|
]
|
|
|
|
|
2017-07-25 02:57:15 -07:00
|
|
|
dir_mod = join_paths(dir_module_e, module)
|
|
|
|
dir_mod_bin = join_paths(dir_mod, module_arch)
|
2017-07-21 13:20:03 -07:00
|
|
|
|
2017-07-25 02:57:15 -07:00
|
|
|
if get_option(opt) == true
|
|
|
|
config_h.set(conf, '1')
|
|
|
|
module_files += join_paths(dir_mod_bin, module + '.so')
|
|
|
|
|
|
|
|
install_data(icon, install_dir: dir_mod)
|
|
|
|
|
|
|
|
shared_module(module, src,
|
2017-07-21 13:20:03 -07:00
|
|
|
include_directories: include_directories(module_includes),
|
2017-07-25 02:57:15 -07:00
|
|
|
name_prefix : '',
|
|
|
|
dependencies : module_deps,
|
|
|
|
install_dir : dir_mod_bin,
|
|
|
|
install : true
|
|
|
|
)
|
2017-07-21 13:20:03 -07:00
|
|
|
endif
|