aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/conf_paths/meson.build
blob: 0e62e776b07fe777a532ca45eeeff93e58bd859b (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
30
31
conf_paths_dist = [
	'e-module-conf_paths.edj',
	'module.desktop',
]

conf_paths_src = [
	'e_int_config_env.c',
	'e_int_config_paths.c',
	'e_mod_main.c',
	'e_mod_main.h',
]

conf_paths_dir = join_paths(dir_module_e, 'conf_paths', module_arch)
if get_option('conf-paths') == true
	config_h.set('USE_MODULE_CONF_PATHS', '1')

	install_data(conf_paths_dist,
		install_dir: join_paths(dir_module_e, 'conf_paths')
	)

        module_files += join_paths(conf_paths_dir, 'conf_paths.so')
	shared_module('conf_paths',
                conf_paths_src,
                include_directories: include_directories(module_includes),
                name_prefix: '',
                dependencies: module_deps,
                install_dir: conf_paths_dir,
                install: true
        )
endif