summaryrefslogtreecommitdiff
path: root/pkg/pounce/gen.lua
blob: c6d1ca76911e3212b0c70abcaedaae1ef80b9cfc (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
cflags{
	'-std=c11', '-Wall', '-Wextra', '-Wpedantic',
	'-D _GNU_SOURCE',
	'-isystem $builddir/pkg/libtls-bearssl/include',
}

pkg.deps = {'pkg/libtls-bearssl/headers'}

exe('pounce', {
	'bounce.c',
	'client.c',
	'config.c',
	'local.c',
	'ring.c',
	'server.c',
	'state.c',
	'xdg.c',
	'$builddir/pkg/libtls-bearssl/libtls.a.d',
})
file('bin/pounce', '755', '$outdir/pounce')
man{'pounce.1'}

exe('calico', {
	'dispatch.c',
})
file('bin/calico', '755', '$outdir/calico')
man{'calico.1'}

fetch 'git'