1 # $NetBSD: Makefile,v 1.6 2014/08/25 10:25:53 apb Exp $
7 .PATH
: ${X11SRCDIR.
${LIB}}/src
8 .PATH
: ${X11SRCDIR.
${LIB}}/include/X11
/Xcursor
9 .PATH
: ${X11SRCDIR.
${LIB}}/man
10 SRCS
= cursor.c display.c file.c library.c xlib.c
13 INCSDIR
=${X11INCDIR}/X11
/Xcursor
16 __XCURSORPATH__
= ~
/.icons
, /usr
/share
/icons
, /usr
/share
/pixmaps
, \
18 X11EXTRAMANDEFS
+= -e s
%__XCURSORPATH__
%${__XCURSORPATH__
:Q
}%g
20 CPPFLAGS
+= ${X11FLAGS.THREADLIB
}
21 CPPFLAGS
+= -DICONDIR
=\"${X11LIBDIR}/icons
\"
22 CPPFLAGS
+= -I
${DESTDIR}${X11INCDIR}/X11
/Xcursor
23 CPPFLAGS
+= -I
${X11SRCDIR.
${LIB}}/..
/include
26 Xrender
${.CURDIR
}/..
/libXrender \
27 Xext
${.CURDIR
}/..
/libXext \
28 X11
${.CURDIR
}/..
/libX11
/dynamic