aboutsummaryrefslogtreecommitdiffstats
path: root/clients/Makefile
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2010-09-14 16:23:24 -0400
committerKristian Høgsberg <krh@bitplanet.net>2010-09-14 16:23:24 -0400
commit3dd66d66a39453d48c7ef4ec85c1d02e66088846 (patch)
tree2b80d7d0b7b77a848619cec026383c822fc03d94 /clients/Makefile
parentUse scanner for screenshooter protocol (diff)
downloadwayland-3dd66d66a39453d48c7ef4ec85c1d02e66088846.tar
wayland-3dd66d66a39453d48c7ef4ec85c1d02e66088846.tar.gz
wayland-3dd66d66a39453d48c7ef4ec85c1d02e66088846.tar.bz2
wayland-3dd66d66a39453d48c7ef4ec85c1d02e66088846.tar.lz
wayland-3dd66d66a39453d48c7ef4ec85c1d02e66088846.tar.xz
wayland-3dd66d66a39453d48c7ef4ec85c1d02e66088846.tar.zst
wayland-3dd66d66a39453d48c7ef4ec85c1d02e66088846.zip
Use scanner to generate screenshooter client code as well
Diffstat (limited to 'clients/Makefile')
-rw-r--r--clients/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/clients/Makefile b/clients/Makefile
index 222a7ae..c85b250 100644
--- a/clients/Makefile
+++ b/clients/Makefile
@@ -13,12 +13,20 @@ clean :
flower : flower.o window.o wayland-glib.o cairo-util.o
gears : gears.o window.o wayland-glib.o cairo-util.o
-screenshot : screenshot.o wayland-glib.o cairo-util.o
+screenshot : screenshot.o screenshooter-protocol.o wayland-glib.o cairo-util.o
terminal : terminal.o window.o wayland-glib.o cairo-util.o
image : image.o window.o wayland-glib.o cairo-util.o
view : view.o window.o wayland-glib.o cairo-util.o
dnd : dnd.o window.o wayland-glib.o cairo-util.o
+screenshoot.c : screenshooter-client-protocol.h
+
+screenshooter-protocol.c : ../compositor/screenshooter.xml
+ ../wayland/scanner code < $< > $@
+
+screenshooter-client-protocol.h : ../compositor/screenshooter.xml
+ ../wayland/scanner client-header < $< > $@
+
terminal : LDLIBS += -lutil
view : CFLAGS += $(POPPLER_CFLAGS)
view : LDLIBS += $(POPPLER_LIBS)