summaryrefslogtreecommitdiff
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
parent525e4c0beae832afc2c098c1368a19ad164e1b2b (diff)
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 < $< > $@