1 # $NetBSD: Makefile,v 1.10 2005/01/21 05:15:36 rtr Exp $
6 .PATH
: ${X11SRCDIR.xc
}/lib
/${LIB}
8 SRCS
= cursor.c display.c file.c library.c xlib.c
11 INCSDIR
=${X11INCDIR}/X11
/Xcursor
15 CPPFLAGS
+= ${X11FLAGS.THREADS
}
16 CPPFLAGS
+= -DICONDIR
=\"${X11LIBDIR}/icons
\"
19 Xrender
${.CURDIR
}/..
/Xrender \
20 X11
${.CURDIR
}/..
/X11
/dynamic
22 # XXX it would be really swell if SCRIPTS was available from bsd.lib.mk
23 FILES
= xcursor.
pc xcursor-config
24 FILESDIR_xcursor.
pc= ${X11USRLIBDIR}/pkgconfig
25 FILESDIR_xcursor-config
=${X11BINDIR}
26 FILESOWN_xcursor-config
=${BINOWN}
27 FILESGRP_xcursor-config
=${BINGRP}
28 FILESMODE_xcursor-config
=${BINMODE}
33 XCURSORDIR
= ${X11SRCDIR.xc
}/lib
/Xcursor
34 CONFIG_SUBST
= ${HOST_SH} ${XCURSORDIR}/config-subst \
35 prefix="${X11ROOTDIR}" \
36 exec_prefix="${X11BINDIR}" \
37 libdir="${X11USRLIBDIR}" \
38 includedir="${X11INCDIR}" \
39 hardcode_libdir_flag_spec
="-Wl,-rpath,${X11USRLIBDIR}" \
40 PACKAGE_VERSION
="1.0.0"
43 ${CONFIG_SUBST} < ${XCURSORDIR}/xcursor.
pc.in
> ${.TARGET
}
46 ${CONFIG_SUBST} < ${XCURSORDIR}/xcursor-config.in
> ${.TARGET
}