aboutsummaryrefslogtreecommitdiffstats
path: root/cursor/Makefile.am
diff options
context:
space:
mode:
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>2012-05-22 15:39:41 +0300
committerKristian Høgsberg <krh@bitplanet.net>2012-05-22 15:20:13 -0400
commit775002c6c0f841a034a286c756899e6a4371962b (patch)
tree6bcca7a35224bfc3c45eeabbb7d813f035732142 /cursor/Makefile.am
parentshm: Add request for resizing pools (diff)
downloadwayland-775002c6c0f841a034a286c756899e6a4371962b.tar
wayland-775002c6c0f841a034a286c756899e6a4371962b.tar.gz
wayland-775002c6c0f841a034a286c756899e6a4371962b.tar.bz2
wayland-775002c6c0f841a034a286c756899e6a4371962b.tar.lz
wayland-775002c6c0f841a034a286c756899e6a4371962b.tar.xz
wayland-775002c6c0f841a034a286c756899e6a4371962b.tar.zst
wayland-775002c6c0f841a034a286c756899e6a4371962b.zip
Introduce libwayland-cursor, a cursor helper library
The purpose of this library is to be the equivalent of libXcursor in the X world. This library is compatible with X cursor themes and loads them directly into an shm pool making it easy for the clients to get buffer for each cursor image. The code for handling the X cursor theme was taken from libXcursor. The files cursor/xcursor.[ch] are a stripped down version of that library containing only the interfaces necessary for implementing the wayland counterpart.
Diffstat (limited to 'cursor/Makefile.am')
-rw-r--r--cursor/Makefile.am14
1 files changed, 14 insertions, 0 deletions
diff --git a/cursor/Makefile.am b/cursor/Makefile.am
new file mode 100644
index 0000000..edfa3e3
--- /dev/null
+++ b/cursor/Makefile.am
@@ -0,0 +1,14 @@
+lib_LTLIBRARIES = libwayland-cursor.la
+
+include_HEADERS = wayland-cursor.h
+
+libwayland_cursor_la_SOURCES = \
+ wayland-cursor.c \
+ xcursor.c \
+ xcursor.h
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = wayland-cursor.pc
+
+AM_CFLAGS = $(GCC_CFLAGS) -I../src
+LDADD = $(top_builddir)/src/libwayland-client.la