Expand PMF_FN_* macros.
[netbsd-mini2440.git] / x11 / Xserver / Xfont / type1 / Makefile
blob39267a17a6814604c39d9d7c79e15db2a7070423
1 # $NetBSD: Makefile,v 1.2 2004/02/07 06:52:04 lukem Exp $
3 XMODULEDIR= ${X11USRLIBDIR}/modules/fonts
5 .include "../../Makefile.serverlib"
7 LIB= type1
8 .PATH: ${X11SRCDIR.xc}/lib/font/Type1
9 .PATH: ${X11SRCDIR.xc}/lib/font/Type1/module
11 SRCS= arith.c curves.c fontfcn.c hints.c lines.c objects.c paths.c \
12 regions.c scanfont.c spaces.c t1funcs.c t1info.c t1io.c t1malloc.c \
13 t1snap.c t1stub.c token.c type1.c util.c cidchar.c afm.c \
14 t1unicode.c type1mod.c
16 CPPFLAGS+= -I${X11SRCDIR.xc}/include/fonts \
17 -I${X11SRCDIR.xc}/lib/font/include \
18 -I${DESTDIR}${X11INCDIR}/X11 \
19 -I${X11SRCDIR.xc}/programs/Xserver/include \
20 -I${XSERVERINCDIR}
22 CPPFLAGS+= -DBUILDCID -DHAVE_CFM -DUSE_MMAP
24 .include <bsd.x11.mk>
26 .if !empty(X11FLAGS.LOADABLE)
27 CPPFLAGS+= -DFONTMODULE
28 LIBDIR= ${XMODULEDIR}
29 .else
30 libinstall::
31 .endif
33 .include <bsd.lib.mk>