autotools: use strict wayland-scanner mode
Otherwise an invalid protocol will print warnings to stdout but won't
make the build fail.
Signed-off-by: Simon Ser <contact@emersion.fr>
Simon Ser authored 4 years ago
Héctor Orón Martínez committed 4 years ago
97 | 97 | |
98 | 98 | protocol/%-protocol.c : $(top_srcdir)/protocol/%.xml |
99 | 99 | if USE_HOST_SCANNER |
100 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) code $< $@ | |
100 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) -s code $< $@ | |
101 | 101 | else |
102 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) public-code $< $@ | |
102 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) -s public-code $< $@ | |
103 | 103 | endif |
104 | 104 | |
105 | 105 | protocol/%-server-protocol.h : $(top_srcdir)/protocol/%.xml |
106 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) server-header $< $@ | |
106 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) -s server-header $< $@ | |
107 | 107 | |
108 | 108 | protocol/%-client-protocol.h : $(top_srcdir)/protocol/%.xml |
109 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) client-header $< $@ | |
109 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) -s client-header $< $@ | |
110 | 110 | |
111 | 111 | protocol/%-server-protocol-core.h : $(top_srcdir)/protocol/%.xml |
112 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) server-header -c < $< > $@ | |
112 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) -s server-header -c < $< > $@ | |
113 | 113 | |
114 | 114 | protocol/%-client-protocol-core.h : $(top_srcdir)/protocol/%.xml |
115 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) client-header -c < $< > $@ | |
115 | $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) -s client-header -c < $< > $@ | |
116 | 116 | |
117 | 117 | BUILT_SOURCES = \ |
118 | 118 | $(nodist_libwayland_server_la_SOURCES) \ |