blob: 05ba45c4d1990e8916df6d9dfc07f161eea1744f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
if ENABLE_WAYLAND
all: wlr-layer-shell-unstable-v1-client-protocol.h wlr-layer-shell-unstable-v1-protocol.c xdg-shell-client-protocol.h xdg-shell-protocol.c
wlr-layer-shell-unstable-v1-client-protocol.h: wlr-layer-shell-unstable-v1.xml
wayland-scanner -c client-header wlr-layer-shell-unstable-v1.xml wlr-layer-shell-unstable-v1-client-protocol.h
# 'code' is depricated, and can be replaced with 'private-code' when all platforms have a new enough wayland-scanner
wlr-layer-shell-unstable-v1-protocol.c: wlr-layer-shell-unstable-v1.xml
wayland-scanner -c code wlr-layer-shell-unstable-v1.xml wlr-layer-shell-unstable-v1-protocol.c
xdg-shell-client-protocol.h: xdg-shell.xml
wayland-scanner -c client-header xdg-shell.xml xdg-shell-client-protocol.h
# 'code' is depricated, and can be replaced with 'private-code' when all platforms have a new enough wayland-scanner
xdg-shell-protocol.c: xdg-shell.xml
wayland-scanner -c code xdg-shell.xml xdg-shell-protocol.c
endif
clean:
rm -f wlr-layer-shell-unstable-v1-client-protocol.h
rm -f wlr-layer-shell-unstable-v1-protocol.c
rm -f xdg-shell-client-protocol.h
rm -f xdg-shell-protocol.c
|