summaryrefslogtreecommitdiff
path: root/mate-panel/wayland-protocols/Makefile.am
blob: 4eb5f35cfc3315750eac47467f3f130486d670f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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