1cflags{
2 '-std=c99',
3 '-D BACKEND_WAY',
4 '-I $srcdir/include',
5 '-isystem $builddir/pkg/libxkbcommon/include',
6 '-isystem $builddir/pkg/wayland/include',
7 '-isystem $builddir/pkg/wayland-protocols/include',
8}
9
10pkg.deps = {
11 'pkg/libxkbcommon/headers',
12 'pkg/wayland/headers',
13 'pkg/wayland-protocols/headers',
14}
15
16pkg.hdrs = copy('$outdir/include', '$srcdir/include', {
17 'maus.h', 'maus_wayland.h', 'maus_input.h', 'uletypes.h'
18})
19
20lib('libmaus.a', [[source/(
21 maus.c maus_font.c
22 maus_wayland.c utils.c
23 )
24 $builddir/pkg/(
25 wayland-protocols/xdg-shell-protocol.c.o
26 wayland-protocols/pointer-constraints-unstable-v1-protocol.c.o
27 wayland-protocols/relative-pointer-unstable-v1-protocol.c.o
28 libxkbcommon/libxkbcommon.a
29 wayland/libwayland-cursor.a.d
30 wayland/libwayland-client.a.d
31 )
32]])
33
34fetch 'git'