summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Wold <[email protected]>2018-12-10 09:53:23 -0500
committerWilliam Wold <[email protected]>2018-12-10 09:53:23 -0500
commit8dd32e8bd9d7ff64811151dfc59d7014c9c63bd0 (patch)
treef0397874990b819ffa9598801fc0f06130988789
parentd7074e3fb761652d46848093dee5d5e858d1bc36 (diff)
downloadmate-panel-8dd32e8bd9d7ff64811151dfc59d7014c9c63bd0.tar.bz2
mate-panel-8dd32e8bd9d7ff64811151dfc59d7014c9c63bd0.tar.xz
Add wayland protocol generating makefile
-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