Expand PMF_FN_* macros.
[netbsd-mini2440.git] / x11 / Xserver / Xfont / freetype / Makefile
blob0ed6b87aee1b0e162d82d1d2c2e70c9cf97de1fd
1 # $NetBSD: Makefile,v 1.5 2004/03/17 23:15:30 perry Exp $
3 XMODULEDIR= ${X11USRLIBDIR}/modules/fonts
5 .include "../../Makefile.serverlib"
7 LIB= freetype
9 FT2DIR= ${X11SRCDIR.xc}/extras/freetype2
10 FT2SRC= ${FT2DIR}/src
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
16 SRCS+= ftmodule.c
18 .PATH: ${FT2SRC}/base
19 SRCS+= ftbase.c ftinit.c ftglyph.c ftbbox.c ftsystem.c fttype1.c ftxf86.c ftbdf.c
21 .PATH: ${FT2SRC}/gzip
22 SRCS+= ftgzip.c
24 .PATH: ${FT2SRC}/raster
25 SRCS+= raster.c
27 .PATH: ${FT2SRC}/sfnt
28 SRCS+= sfnt.c
30 .PATH: ${FT2SRC}/truetype
31 SRCS+= truetype.c
33 .PATH: ${FT2SRC}/cff
34 SRCS+= cff.c
36 .PATH: ${FT2SRC}/type1
37 SRCS+= type1.c
39 .PATH: ${FT2SRC}/psaux
40 SRCS+= psaux.c
42 .PATH: ${FT2SRC}/psnames
43 SRCS+= psnames.c
45 .PATH: ${FT2SRC}/pshinter
46 SRCS+= pshinter.c
48 .PATH: ${FT2SRC}/autohint
49 SRCS+= autohint.c
51 .PATH: ${FT2SRC}/bdf
52 SRCS+= bdf.c
54 .PATH: ${FT2SRC}/pcf
55 SRCS+= pcf.c
57 .PATH: ${FT2SRC}/lzw
58 SRCS+= ftlzw.c
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 \
67 -I${FT2DIR}/include \
68 -I${FT2SRC}/base \
69 -I${FT2SRC}/gzip \
70 -I${FT2SRC}/raster \
71 -I${FT2SRC}/sfnt \
72 -I${FT2SRC}/truetype \
73 -I${FT2SRC}/cff \
74 -I${FT2SRC}/type1 \
75 -I${FT2SRC}/psaux \
76 -I${FT2SRC}/psnames \
77 -I${FT2SRC}/pshinter \
78 -I${FT2SRC}/autohint \
79 -I${FT2SRC}/bdf \
80 -I${FT2SRC}/pcf \
81 -I${XSERVERINCDIR}
83 CPPFLAGS+= -DXFREE86_FT2
85 .include <bsd.x11.mk>
87 .if defined(MKTTINTERP) && ${MKTTINTERP} != "no"
88 CPPFLAGS+= -DTT_CONFIG_OPTION_BYTECODE_INTERPRETER
89 .endif
91 .if !empty(X11FLAGS.LOADABLE)
92 CPPFLAGS+= -DFONTMODULE
93 LIBDIR= ${XMODULEDIR}
94 .else
95 libinstall::
96 .endif
98 .include <bsd.lib.mk>