1# $NetBSD: Makefile,v 1.4 2008/10/14 23:37:19 cube Exp $ 2 3.include <bsd.own.mk> 4 5LIB= Xcursor 6 7.PATH: ${X11SRCDIR.${LIB}}/src 8.PATH: ${X11SRCDIR.${LIB}}/include/X11/Xcursor 9.PATH: ${X11SRCDIR.${LIB}}/man 10SRCS= cursor.c display.c file.c library.c xlib.c 11 12INCS= Xcursor.h 13INCSDIR=${X11INCDIR}/X11/Xcursor 14 15MAN= Xcursor.3 16X11EXTRAMANDEFS+= -e 's%__XCURSORPATH__%~/.icons, \ 17 /usr/share/icons, /usr/share/pixmaps, \ 18 ${X11LIBDIR}/icons%g' 19 20CPPFLAGS+= ${X11FLAGS.THREADLIB} 21CPPFLAGS+= -DICONDIR=\"${X11LIBDIR}/icons\" 22CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11/Xcursor 23CPPFLAGS+= -I${X11SRCDIR.${LIB}}/../include 24 25LIBDPLIBS=\ 26 Xrender ${.CURDIR}/../libXrender \ 27 Xext ${.CURDIR}/../libXext \ 28 X11 ${.CURDIR}/../libX11/dynamic 29 30PKGDIST= ${LIB} 31 32.include <bsd.x11.mk> 33.include <bsd.lib.mk> 34