Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / external / mit / xorg / lib / libXft / Makefile
blob0b9037d9d5834ccb70870c714bb616c279b4c400
1 # $NetBSD: Makefile,v 1.4 2008/10/24 19:49:54 cube Exp $
3 .include <bsd.own.mk>
5 LIB= Xft
7 .PATH: ${X11SRCDIR.${LIB}}/src
8 .PATH: ${X11SRCDIR.${LIB}}/include/X11/Xft
9 .PATH: ${X11SRCDIR.${LIB}}/man
10 SRCS= xftcolor.c xftcore.c xftdbg.c xftdpy.c xftdraw.c xftextent.c \
11 xftfont.c xftfreetype.c xftglyphs.c xftinit.c xftlist.c \
12 xftname.c xftrender.c xftstr.c xftswap.c xftxlfd.c
14 INCS= Xft.h XftCompat.h
15 INCSDIR=${X11INCDIR}/X11/Xft
17 MAN= Xft.3
19 CPPFLAGS+= ${X11FLAGS.THREADLIB}
20 CPPFLAGS+= -DFREETYPE2 -I${DESTDIR}${X11INCDIR}/freetype2 -DXFREE86_FT2
21 CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11/Xft
23 LIBDPLIBS= X11 ${.CURDIR}/../libX11/dynamic \
24 fontconfig ${.CURDIR}/../fontconfig/src \
25 freetype ${.CURDIR}/../freetype \
26 Xrandr ${.CURDIR}/../libXrandr \
27 Xrender ${.CURDIR}/../libXrender
29 PKGDIST= ${LIB}
31 .include <bsd.x11.mk>
32 .include <bsd.lib.mk>