Add a simple PDF viewer

This commit is contained in:
Kristian Høgsberg 2009-09-21 13:46:45 -04:00
parent 7d7b5dbf4d
commit 8f2f773846
3 changed files with 318 additions and 1 deletions

View file

@ -6,7 +6,7 @@ udev_rules_dir = @sysconfdir@/udev/rules.d
libs = libwayland-server.so libwayland.so
egl_clients = gears
cairo_clients = flower screenshot terminal image
cairo_clients = flower screenshot terminal image view
compositors = wayland-system-compositor
all : $(libs) $(compositors) $(egl_clients) $(cairo_clients)
@ -43,10 +43,13 @@ gears : gears.o window.o wayland-glib.o cairo-util.o
screenshot : screenshot.o wayland-glib.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
image : CFLAGS += @GDK_PIXBUF_CFLAGS@
image : LDLIBS += @GDK_PIXBUF_LIBS@
view : CFLAGS += @POPPLER_CFLAGS@
view : LDLIBS += @POPPLER_LIBS@
$(egl_clients) : CFLAGS += @EGL_CLIENT_CFLAGS@
$(egl_clients) : LDLIBS += -L. -lwayland @EGL_CLIENT_LIBS@ -lrt