aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/conf_display/meson.build
blob: d6d3dd47ea28a66fcde5f610eede8141e025d133 (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
32
33
34
conf_display_dist = [
	'module.desktop',
]

conf_display_src = [
	'e_int_config_desk.c',
	'e_int_config_desklock.c',
	'e_int_config_desklock_fsel.c',
	'e_int_config_desks.c',
	'e_int_config_dpms.c',
	'e_int_config_screensaver.c',
	'e_mod_main.c',
	'e_mod_main.h',
]

conf_display_dir = join_paths(dir_module_e, 'conf_display', module_arch)
if get_option('conf-display') == true
	config_h.set('USE_MODULE_CONF_DISPLAY', '1')

	install_data(conf_display_dist,
		install_dir: join_paths(dir_module_e, 'conf_display')
	)

        module_files += join_paths(conf_display_dir, 'conf_display.so')
	shared_module('conf_display',
                conf_display_src,
                include_directories: include_directories(module_includes),
                name_prefix: '',
                dependencies: module_deps,
                install_dir: conf_display_dir,
                install: true
        )
endif