Expand PMF_FN_* macros.
[netbsd-mini2440.git] / x11 / Xserver / Xfont / bitmap / Makefile
blob6ceef5967a9c27f5040cdfd228e8d0c98a1e7ca8
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= bitmap
8 .PATH: ${X11SRCDIR.xc}/lib/font/bitmap
9 .PATH: ${X11SRCDIR.xc}/lib/font/bitmap/module
11 SRCS= bdfread.c bdfutils.c bitmap.c bitmaputil.c bitscale.c bitmapfunc.c \
12 pcfread.c pcfwrite.c snfread.c fontink.c bitmapmod.c
14 CPPFLAGS+= -I${X11SRCDIR.xc}/include/fonts \
15 -I${X11SRCDIR.xc}/lib/font/include \
16 -I${DESTDIR}${X11INCDIR}/X11 \
17 -I${X11SRCDIR.xc}/programs/Xserver/include \
18 -I${XSERVERINCDIR}
20 CPPFLAGS+= -DBDFFORMAT -DSNFFORMAT -DPCFFORMAT
22 CPPFLAGS.bitmapfunc.c= -DX_GZIP_FONT_COMPRESSION
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>