From b91cd10fcb4d6c4bc3f44820ba3d34fadc453468 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Mon, 16 Aug 2010 16:17:42 -0400 Subject: [PATCH] Move cairo-util.[ch] to clients/ --- Makefile | 1 - clients/Makefile | 12 ++++++------ cairo-util.c => clients/cairo-util.c | 0 cairo-util.h => clients/cairo-util.h | 0 clients/window.c | 2 +- compositor.c | 1 - 6 files changed, 7 insertions(+), 9 deletions(-) rename cairo-util.c => clients/cairo-util.c (100%) rename cairo-util.h => clients/cairo-util.h (100%) diff --git a/Makefile b/Makefile index afaf913..51263e5 100644 --- a/Makefile +++ b/Makefile @@ -49,7 +49,6 @@ compositor : \ compositor-drm.o \ compositor-x11.o \ screenshooter.o \ - cairo-util.o \ drm.o compositor : CFLAGS += $(COMPOSITOR_CFLAGS) diff --git a/clients/Makefile b/clients/Makefile index f6b51ec..cd46599 100644 --- a/clients/Makefile +++ b/clients/Makefile @@ -11,12 +11,12 @@ all : $(egl_clients) $(cairo_clients) clean : rm -f $(egl_clients) $(cairo_clients) *.o -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 -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 +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 +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 terminal : LDLIBS += -lutil view : CFLAGS += $(POPPLER_CFLAGS) diff --git a/cairo-util.c b/clients/cairo-util.c similarity index 100% rename from cairo-util.c rename to clients/cairo-util.c diff --git a/cairo-util.h b/clients/cairo-util.h similarity index 100% rename from cairo-util.h rename to clients/cairo-util.h diff --git a/clients/window.c b/clients/window.c index 00f49e2..f71bf31 100644 --- a/clients/window.c +++ b/clients/window.c @@ -46,7 +46,7 @@ #include "wayland-util.h" #include "wayland-client.h" #include "wayland-glib.h" -#include "../cairo-util.h" +#include "cairo-util.h" #include "window.h" diff --git a/compositor.c b/compositor.c index 7ad2b68..f9324e2 100644 --- a/compositor.c +++ b/compositor.c @@ -31,7 +31,6 @@ #include #include "wayland-server-protocol.h" -#include "cairo-util.h" #include "compositor.h" const char *option_background = "background.jpg"; -- 2.7.4