aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/clock/meson.build
blob: 8fc730244262e6ab13865aad24c81bcd83370f06 (plain) (blame)
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
clock_dist = [
	'e-module-clock.edj',
	'module.desktop',
]

clock_src = [
	'e_mod_config.c',
	'e_mod_main.c'
]

clock_dir = join_paths(dir_module_e, 'clock', module_arch)
if get_option('clock') == true
	config_h.set('USE_MODULE_CLOCK', '1')

	install_data(clock_dist,
		install_dir: join_paths(dir_module_e, 'clock')
	)

        module_files += join_paths(clock_dir, 'clock.so')
	shared_module('clock',
                clock_src,
                include_directories: include_directories(module_includes),
                name_prefix: '',
                dependencies: module_deps,
                install_dir: clock_dir,
                install: true
        )
endif