summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index aff4521..d52a0f4 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -2,8 +2,12 @@ lib_LTLIBRARIES = libXcursor.la
libXcursor_la_SOURCES = xcursorint.h cursor.c display.c file.c library.c xlib.c
+ICONDIR=@ICONDIR@
+XCURSORPATH=@XCURSORPATH@
+
libXcursor_la_LIBADD = $(XCURSOR_LIBS)
-AM_CFLAGS = $(XCURSOR_CFLAGS)
+AM_CFLAGS = $(XCURSOR_CFLAGS) \
+ -DICONDIR=\"$(ICONDIR)\" -DXCURSORPATH=\"$(XCURSORPATH)\"
INCLUDES = -I$(top_srcdir)/include/X11/Xcursor