Expand PMF_FN_* macros.
[netbsd-mini2440.git] / x11 / Xserver / Xfont / xtt / Makefile
blob44c9c5426cf30f6a8ed7131b1489045d38bf5b95
1 # $NetBSD: Makefile,v 1.6 2005/03/21 14:38:48 tron Exp $
3 XMODULEDIR= ${X11USRLIBDIR}/modules/fonts
5 .include "../../Makefile.serverlib"
7 LIB= xtt
9 .PATH: ${X11SRCDIR.xc}/lib/font/FreeType/module
10 SRCS+= xttmodule.c
12 CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11/fonts/codeconv \
13 -I${X11SRCDIR.xc}/lib/font/X-TrueType \
14 -I${X11SRCDIR.xc}/extras/FreeType/lib \
15 -I${X11SRCDIR.xc}/extras/FreeType/lib/extend \
16 -I${X11SRCDIR.xc}/lib/font/FreeType \
17 -I${X11SRCDIR.xc}/programs/Xserver/include \
18 -I${X11SRCDIR.xc}/lib/font/include \
19 -I${X11SRCDIR.xc}/extras/X-TrueType \
20 -I${DESTDIR}${X11INCDIR}/X11 \
21 -I${X11SRCDIR.xc}/include/fonts \
22 -I${X11SRCDIR.xc}/lib/font/fontcache \
23 -I${XSERVERINCDIR}
25 CPPFLAGS+= -DTT_MAKE_OPTION_SINGLE_OBJECT=1 \
26 -DTT_CONFIG_OPTION_EXTEND_ENGINE \
27 -DOPT_ENCODINGS
29 .include <bsd.x11.mk>
31 .if !empty(X11FLAGS.LOADABLE)
32 CPPFLAGS+= -DFONTMODULE
33 LIBDIR= ${XMODULEDIR}
34 .else
35 libinstall::
36 .endif
38 .include <bsd.lib.mk>