summaryrefslogtreecommitdiff
path: root/minecproxy/meson.build
blob: 155840c3dfe975e0c0eb6320235a9b9ca7a429e8 (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
# SPDX-License-Identifier: GPL-2.0
minecproxy_sources = [
	'main.c',
	'uring.c',
	'signal-handler.c',
	'server.c',
	'server-proxy.c',
	'server-config.c',
	'server-rcon.c',
	'announce.c',
	'idle.c',
	'ptimer.c',
	'igmp.c',
	'misc.c',
]

dep_liburing   = dependency('liburing')
dep_libcapng   = dependency('libcap-ng')

minecproxy_deps = [
	dep_liburing,
	dep_libcapng,
	dep_config_h,
	dep_libshared,
]

executable(
	'minecproxy',
	minecproxy_sources,
	link_args: [ '-lanl' ],
	dependencies: minecproxy_deps,
	install: true,
	install_dir: get_option('sbindir'),
)