summaryrefslogtreecommitdiff
path: root/src/meson.build
blob: c264c0200ea2524f994b03f675870d069f2bdc6b (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
51
52
libidle_convenience = library(
	'idle-convenience',
	sources: [
		'idle-connection.c',
		'idle-connection-manager.c',
		'idle-contact-info.c',
		'idle-ctcp.c',
		'idle-debug.c',
		'idle-handles.c',
		'idle-im-channel.c',
		'idle-im-manager.c',
		'idle-muc-channel.c',
		'idle-muc-manager.c',
		'room-config.c',
		'idle-parser.c',
		'protocol.c',
		'idle-roomlist-channel.c',
		'idle-roomlist-manager.c',
		'idle-server-connection.c',
		'idle-text.c',
		'server-tls-channel.c',
		'server-tls-manager.c',
		'tls-certificate.c',
		gen_enums_h, # required by libidle_extensions
	],
	dependencies: idle_deps,
	include_directories: configuration_inc,
	link_with: libidle_extensions,
)

executable(
	'telepathy-idle',
	sources: [
		'idle.c'
	],
	dependencies: idle_deps,
	include_directories: configuration_inc,
	install: true,
	install_dir: libexecdir,
	link_with: libidle_convenience,
)

pathconf = configuration_data()
pathconf.set('libexecdir', libexecdir)

telepathy_idle_8 = configure_file(
	configuration: pathconf,
	input: 'telepathy-idle.8.in',
	output: '@BASENAME@',
)

install_man(telepathy_idle_8)