1 # $NetBSD: Makefile,v 1.2 2004/02/07 06:52:04 lukem Exp $
3 XMODULEDIR
= ${X11USRLIBDIR}/modules
/fonts
5 .
include "../../Makefile.serverlib"
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 \
20 CPPFLAGS
+= -DBDFFORMAT
-DSNFFORMAT
-DPCFFORMAT
22 CPPFLAGS.bitmapfunc.c
= -DX_GZIP_FONT_COMPRESSION
26 .if
!empty
(X11FLAGS.LOADABLE
)
27 CPPFLAGS
+= -DFONTMODULE