aboutsummaryrefslogtreecommitdiffstats
path: root/wayland-scanner.mk
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2011-02-14 22:17:41 -0500
committerKristian Høgsberg <krh@bitplanet.net>2011-02-14 22:21:13 -0500
commitfcfb4e30a47a4cd2416dac210521594b489c8bfd (patch)
treee940236740627c99898ad726246226977c9d7af8 /wayland-scanner.mk
parentcompositor: Clip repaint to the damage region (diff)
downloadwayland-fcfb4e30a47a4cd2416dac210521594b489c8bfd.tar
wayland-fcfb4e30a47a4cd2416dac210521594b489c8bfd.tar.gz
wayland-fcfb4e30a47a4cd2416dac210521594b489c8bfd.tar.bz2
wayland-fcfb4e30a47a4cd2416dac210521594b489c8bfd.tar.lz
wayland-fcfb4e30a47a4cd2416dac210521594b489c8bfd.tar.xz
wayland-fcfb4e30a47a4cd2416dac210521594b489c8bfd.tar.zst
wayland-fcfb4e30a47a4cd2416dac210521594b489c8bfd.zip
Split into a core repository that only holds the core Wayland libraries
Diffstat (limited to 'wayland-scanner.mk')
-rw-r--r--wayland-scanner.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/wayland-scanner.mk b/wayland-scanner.mk
new file mode 100644
index 0000000..0a72062
--- /dev/null
+++ b/wayland-scanner.mk
@@ -0,0 +1,8 @@
+%-protocol.c : $(wayland_protocoldir)/%.xml
+ $(AM_V_GEN)$(wayland_scanner) code < $< > $@
+
+%-server-protocol.h : $(wayland_protocoldir)/%.xml
+ $(AM_V_GEN)$(wayland_scanner) server-header < $< > $@
+
+%-client-protocol.h : $(wayland_protocoldir)/%.xml
+ $(AM_V_GEN)$(wayland_scanner) client-header < $< > $@