enlightenment/src/modules/battery/meson.build

26 lines
607 B
Meson
Raw Normal View History

2017-07-21 13:20:03 -07:00
battery_src = [
'e_mod_config.c',
'e_mod_main.c',
'e_mod_main.h',
]
if config_h.has('HAVE_EEZE') == true
2017-07-26 07:35:23 -07:00
battery_src += 'e_mod_udev.c'
2017-07-21 13:20:03 -07:00
elif host_machine.system().contains('bsd') == true
2017-07-26 07:35:23 -07:00
battery_src += 'e_mod_sysctl.c'
2017-07-21 13:20:03 -07:00
else
2017-07-26 07:35:23 -07:00
battery_src += 'e_mod_upower.c'
2017-07-21 13:20:03 -07:00
endif
2017-07-26 07:35:23 -07:00
module += [battery_src, 'e-module-battery.edj']
2017-07-21 13:20:03 -07:00
2017-07-26 07:35:23 -07:00
battery_dir = join_paths(dir_module_e, 'battery', module_arch)
2017-07-21 13:20:03 -07:00
2017-07-26 07:35:23 -07:00
executable('batget',
'batget.c',
include_directories: include_directories(module_includes),
dependencies: [dep_eina, dep_ecore, dep_ecore_con, dep_ecore_file],
install_dir: battery_dir,
install: true
)