summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mate-panel/wayland-protocols/Makefile.am15
1 files changed, 15 insertions, 0 deletions
diff --git a/mate-panel/wayland-protocols/Makefile.am b/mate-panel/wayland-protocols/Makefile.am
new file mode 100644
index 00000000..ce1b55e6
--- /dev/null
+++ b/mate-panel/wayland-protocols/Makefile.am
@@ -0,0 +1,15 @@
+if ENABLE_WAYLAND
+all: wlr-layer-shell-unstable-v1-protocol.h wlr-layer-shell-unstable-v1-protocol.c xdg-shell-protocol.h xdg-shell-protocol.c
+
+wlr-layer-shell-unstable-v1-protocol.h: wlr-layer-shell-unstable-v1.xml
+ wayland-scanner -c client-header wlr-layer-shell-unstable-v1.xml wlr-layer-shell-unstable-v1-protocol.h
+
+wlr-layer-shell-unstable-v1-protocol.c: wlr-layer-shell-unstable-v1.xml
+ wayland-scanner -c private-code wlr-layer-shell-unstable-v1.xml wlr-layer-shell-unstable-v1-protocol.c
+
+xdg-shell-protocol.h: xdg-shell.xml
+ wayland-scanner -c client-header xdg-shell.xml xdg-shell-protocol.h
+
+xdg-shell-protocol.c: xdg-shell.xml
+ wayland-scanner -c private-code xdg-shell.xml xdg-shell-protocol.c
+endif