summaryrefslogtreecommitdiff
path: root/src/bin/e_fm/meson.build
blob: 6b6f9030e95aa0625c59a603beab2ac323de1ba3 (plain)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
deps_efm = [
	dep_eina,
	dep_ecore,
	dep_ecore_con,
	dep_ecore_file,
	dep_ecore_ipc,
	dep_efreet
]

udisks_src = []
if config_h.has('HAVE_UDISKS_MOUNT') == true
	udisks_src = [
		'e_fm_main_udisks.c',
		'e_fm_main_udisks.h',
		'e_fm_main_udisks2.c',
		'e_fm_main_udisks2.h'
	]
	deps_efm += [dep_eldbus]
endif

eeze_src = []
if config_h.has('HAVE_EEZE_MOUNT') == true
	eeze_src = [
		'../e_prefix.c',
		'e_fm_main_eeze.c',
		'e_fm_main_eeze.h'
	]
	deps_efm += [dep_eeze, dep_eet]
endif

efm_src = [
	'e_fm_main.c',
	'e_fm_main.h',
	'e_fm_ipc.c',
	'e_fm_ipc.h',
	'../e_fm_shared_codec.c',
	'../e_fm_shared_device.c',
	'../e_user.c',
	'../e_sha1.c',
	udisks_src,
	eeze_src
]

executable('enlightenment_fm',
	[efm_src],
	include_directories: include_directories('../../../', '../..', '.', '..'),
	dependencies: [deps_efm],
	install_dir: dir_e_utils,
	install: true
)