1 # $NetBSD: Makefile,v 1.5 2004/03/17 23:15:30 perry Exp $
3 XMODULEDIR
= ${X11USRLIBDIR}/modules
/fonts
5 .
include "../../Makefile.serverlib"
9 FT2DIR
= ${X11SRCDIR.xc
}/extras
/freetype2
12 .PATH
: ${X11SRCDIR.xc
}/lib
/font
/FreeType
13 SRCS
= xttcap.c ftfuncs.c ftenc.c fttools.c
15 .PATH
: ${X11SRCDIR.xc
}/lib
/font
/FreeType
/module
19 SRCS
+= ftbase.c ftinit.c ftglyph.c ftbbox.c ftsystem.c fttype1.c ftxf86.c ftbdf.c
24 .PATH
: ${FT2SRC}/raster
30 .PATH
: ${FT2SRC}/truetype
36 .PATH
: ${FT2SRC}/type1
39 .PATH
: ${FT2SRC}/psaux
42 .PATH
: ${FT2SRC}/psnames
45 .PATH
: ${FT2SRC}/pshinter
48 .PATH
: ${FT2SRC}/autohint
61 CPPFLAGS
+= -I
${X11SRCDIR.xc
}/lib
/font
/FreeType
/module \
62 -I
${X11SRCDIR.xc
}/lib
/font
/FreeType \
63 -I
${X11SRCDIR.xc
}/include/fonts \
64 -I
${X11SRCDIR.xc
}/lib
/font
/include \
65 -I
${DESTDIR}${X11INCDIR}/X11 \
66 -I
${X11SRCDIR.xc
}/programs
/Xserver
/include \
72 -I
${FT2SRC}/truetype \
77 -I
${FT2SRC}/pshinter \
78 -I
${FT2SRC}/autohint \
83 CPPFLAGS
+= -DXFREE86_FT2
87 .if defined
(MKTTINTERP
) && ${MKTTINTERP} != "no"
88 CPPFLAGS
+= -DTT_CONFIG_OPTION_BYTECODE_INTERPRETER
91 .if
!empty
(X11FLAGS.LOADABLE
)
92 CPPFLAGS
+= -DFONTMODULE