summaryrefslogtreecommitdiff
path: root/minecproxy/meson.build
blob: 3fc6b48a58c8e10a8f875e4c9bbc8498b24b886c (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 = [
	'minecproxy.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'),
)