weston/wayland/scanner.mk
2010-12-01 17:46:56 -05:00

9 lines
343 B
Makefile

%-protocol.c : $(top_srcdir)/protocol/%.xml
$(AM_V_GEN)$(top_builddir)/wayland/scanner code < $< > $@
%-server-protocol.h : $(top_srcdir)/protocol/%.xml
$(AM_V_GEN)$(top_builddir)/wayland/scanner server-header < $< > $@
%-client-protocol.h : $(top_srcdir)/protocol/%.xml
$(AM_V_GEN)$(top_builddir)/wayland/scanner client-header < $< > $@