+
+# Wayland
+SUFFIXES += -client-protocol.h -protocol.c .xml
+
+.xml-client-protocol.h:
+ $(AM_V_GEN)$(WAYLAND_SCANNER) client-header < "$^" > "$@.tmp"
+ $(AM_V_at)mv -f -- "$@.tmp" "$@"
+
+.xml-protocol.c:
+ $(AM_V_GEN)$(WAYLAND_SCANNER) code < "$^" > "$@.tmp"
+ $(AM_V_at)mv -f -- "$@.tmp" "$@"