Codebase list wayland / 8a57a53
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
1 changed file(s) with 6 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
9797
9898 protocol/%-protocol.c : $(top_srcdir)/protocol/%.xml
9999 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 $< $@
101101 else
102 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) public-code $< $@
102 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) -s public-code $< $@
103103 endif
104104
105105 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 $< $@
107107
108108 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 $< $@
110110
111111 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 < $< > $@
113113
114114 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 < $< > $@
116116
117117 BUILT_SOURCES = \
118118 $(nodist_libwayland_server_la_SOURCES) \