aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2008-11-23 23:41:08 -0500
committerNaruto Uzumaki <root@kabuto.bos.redhat.com>2008-11-24 00:06:16 -0500
commit1e4b86af1ae16b9eeb4f952f2735b65536bcdc7c (patch)
tree9a2a49e71efd7489a033f8d4013055aa9bec88b6 /Makefile
parentGeneralize the object advertising mechanism. (diff)
downloadwayland-1e4b86af1ae16b9eeb4f952f2735b65536bcdc7c.tar
wayland-1e4b86af1ae16b9eeb4f952f2735b65536bcdc7c.tar.gz
wayland-1e4b86af1ae16b9eeb4f952f2735b65536bcdc7c.tar.bz2
wayland-1e4b86af1ae16b9eeb4f952f2735b65536bcdc7c.tar.lz
wayland-1e4b86af1ae16b9eeb4f952f2735b65536bcdc7c.tar.xz
wayland-1e4b86af1ae16b9eeb4f952f2735b65536bcdc7c.tar.zst
wayland-1e4b86af1ae16b9eeb4f952f2735b65536bcdc7c.zip
Expose screenshooting as an interface, drop SIGUSR hack.
This pulls in a bit of extra infrastructure for discovering adertised objects on the client side.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index f53e855..3880b07 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ PKG_CONFIG_PATH ?= $(HOME)/install/lib/pkgconfig
EAGLE_CFLAGS = $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) pkg-config --cflags eagle)
EAGLE_LDLIBS = $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) pkg-config --libs eagle)
-clients = flower pointer background window
+clients = flower pointer background window screenshot
compositors = egl-compositor.so glx-compositor.so
all : wayland libwayland.so $(compositors) $(clients)
@@ -14,8 +14,8 @@ wayland_objs = \
wayland.o \
event-loop.o \
connection.o \
- hash.o \
- input.o
+ input.o \
+ wayland-util.o
wayland : CFLAGS += $(shell pkg-config --cflags libffi)
wayland : LDLIBS += $(shell pkg-config --libs libffi) -ldl -rdynamic
@@ -23,7 +23,7 @@ wayland : LDLIBS += $(shell pkg-config --libs libffi) -ldl -rdynamic
wayland : $(wayland_objs)
gcc -o $@ $(LDLIBS) $(wayland_objs)
-libwayland_objs = wayland-client.o connection.o
+libwayland_objs = wayland-client.o connection.o wayland-util.o
libwayland.so : $(libwayland_objs)
@@ -48,6 +48,7 @@ flower_objs = flower.o wayland-glib.o
pointer_objs = pointer.o wayland-glib.o cairo-util.o
background_objs = background.o wayland-glib.o
window_objs = window.o gears.o wayland-glib.o cairo-util.o
+screenshot_objs = screenshot.o wayland-glib.o
$(clients) : CFLAGS += $(shell pkg-config --cflags cairo glib-2.0)
$(clients) : LDLIBS += $(shell pkg-config --libs cairo glib-2.0) -lrt