Skip to content
Snippets Groups Projects
Commit a10086c4 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

Makefile: generate Wayland code as private

"code" is deprecated in wayland-scanner.
parent 0b51cd66
No related branches found
No related tags found
No related merge requests found
......@@ -88,5 +88,5 @@ SUFFIXES += -client-protocol.h -protocol.c .xml
$(AM_V_at)mv -f -- "$@.tmp" "$@"
.xml-protocol.c:
$(AM_V_GEN)$(WAYLAND_SCANNER) code < "$^" > "$@.tmp"
$(AM_V_GEN)$(WAYLAND_SCANNER) private-code < "$^" > "$@.tmp"
$(AM_V_at)mv -f -- "$@.tmp" "$@"
......@@ -200,7 +200,7 @@ video_output/wayland/viewporter-client-protocol.h: \
video_output/wayland/viewporter-protocol.c: \
$(WAYLAND_PROTOCOLS)/stable/viewporter/viewporter.xml
$(AM_V_GEN)$(WAYLAND_SCANNER) code $< $@
$(AM_V_GEN)$(WAYLAND_SCANNER) private-code $< $@
libwl_shell_plugin_la_SOURCES = video_output/wayland/shell.c
libwl_shell_plugin_la_CFLAGS = $(WAYLAND_CLIENT_CFLAGS)
......@@ -223,7 +223,7 @@ video_output/wayland/xdg-shell-client-protocol.h: \
video_output/wayland/xdg-shell-protocol.c: \
$(WAYLAND_PROTOCOLS)/unstable/xdg-shell/xdg-shell-unstable-v5.xml
$(AM_V_GEN)$(WAYLAND_SCANNER) code $< $@
$(AM_V_GEN)$(WAYLAND_SCANNER) private-code $< $@
video_output/wayland/server-decoration-client-protocol.h: \
video_output/wayland/server-decoration.xml
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment