1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
time_src = [ 'clock.c', 'config.c', 'mod.c', 'time.c', 'clock.h', ] time_dir = join_paths(dir_module_e, 'time', module_arch) if get_option('time') == true config_h.set('USE_MODULE_TIME', '1') module_files += join_paths(time_dir, 'time.so') shared_module('time', time_src, include_directories: include_directories(module_includes), name_prefix: '', dependencies: module_deps, install_dir: time_dir, install: true ) endif