From 8dd32e8bd9d7ff64811151dfc59d7014c9c63bd0 Mon Sep 17 00:00:00 2001 From: William Wold Date: Mon, 10 Dec 2018 09:53:23 -0500 Subject: Add wayland protocol generating makefile --- mate-panel/wayland-protocols/Makefile.am | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 mate-panel/wayland-protocols/Makefile.am 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 -- cgit v1.2.1