Skip to content

Commit 8dd32e8

Browse files
committed
Add wayland protocol generating makefile
1 parent d7074e3 commit 8dd32e8

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
if ENABLE_WAYLAND
2+
all: wlr-layer-shell-unstable-v1-protocol.h wlr-layer-shell-unstable-v1-protocol.c xdg-shell-protocol.h xdg-shell-protocol.c
3+
4+
wlr-layer-shell-unstable-v1-protocol.h: wlr-layer-shell-unstable-v1.xml
5+
wayland-scanner -c client-header wlr-layer-shell-unstable-v1.xml wlr-layer-shell-unstable-v1-protocol.h
6+
7+
wlr-layer-shell-unstable-v1-protocol.c: wlr-layer-shell-unstable-v1.xml
8+
wayland-scanner -c private-code wlr-layer-shell-unstable-v1.xml wlr-layer-shell-unstable-v1-protocol.c
9+
10+
xdg-shell-protocol.h: xdg-shell.xml
11+
wayland-scanner -c client-header xdg-shell.xml xdg-shell-protocol.h
12+
13+
xdg-shell-protocol.c: xdg-shell.xml
14+
wayland-scanner -c private-code xdg-shell.xml xdg-shell-protocol.c
15+
endif

0 commit comments

Comments
 (0)