Fix up mix of man(7)/mdoc(7).
[netbsd-mini2440.git] / x11 / lib / Xcursor / Makefile
blob5782876f82d982749f8af42e40d089459660d398
1 # $NetBSD: Makefile,v 1.10 2005/01/21 05:15:36 rtr Exp $
3 .include <bsd.own.mk>
5 LIB= Xcursor
6 .PATH: ${X11SRCDIR.xc}/lib/${LIB}
8 SRCS= cursor.c display.c file.c library.c xlib.c
10 INCS= Xcursor.h
11 INCSDIR=${X11INCDIR}/X11/Xcursor
13 MAN= Xcursor.3
15 CPPFLAGS+= ${X11FLAGS.THREADS}
16 CPPFLAGS+= -DICONDIR=\"${X11LIBDIR}/icons\"
18 LIBDPLIBS=\
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}
30 CLEANFILES+=${FILES}
31 realall: ${FILES}
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"
42 xcursor.pc:
43 ${CONFIG_SUBST} < ${XCURSORDIR}/xcursor.pc.in > ${.TARGET}
45 xcursor-config:
46 ${CONFIG_SUBST} < ${XCURSORDIR}/xcursor-config.in > ${.TARGET}
48 .include <bsd.x11.mk>
49 .include <bsd.lib.mk>