1 # $NetBSD: Makefile,v 1.1 2003/12/23 03:36:44 rtr Exp $
3 .
include "../Makefile.serverlib"
11 .PATH
: ${X11SRCDIR.xc
}/lib
/font
/fontfile
12 SRCS.fontfile
= dirfile.c fontdir.c fontfile.c fileio.c fontscale.c \
13 defaults.c bitsource.c register.c renderers.c bufio.c \
14 decompress.c filewr.c printerfont.c ffcheck.c \
15 fontenc.c encparse.c fontencc.c gunzip.c
16 .for fn in
${SRCS.fontfile
}
17 CPPFLAGS.
${fn}= -I
${X11SRCDIR.xc
}/include/fonts \
18 -I
${X11SRCDIR.xc
}/lib
/font
/include \
19 -I
${X11SRCDIR.xc
}/programs
/Xserver
/include \
20 -DFONTDIRATTRIB
-DBUILD_SPEEDO
-DBUILD_TYPE1
-DBUILD_CID \
21 -DBUILD_FREETYPE
-DX_GZIP_FONT_COMPRESSION \
22 -DFONT_ENCODINGS_DIRECTORY
=\"${X11FONTDIR}/encodings
/encodings.
dir\"
24 CPPFLAGS.ffcheck.c
+= -DLOADABLEFONTS
25 CPPFLAGS.register.c
+= -DLOADABLEFONTS
29 .PATH
: ${X11SRCDIR.xc
}/lib
/font
/fc
30 SRCS.
fc= fsconvert.c fserve.c fsio.c
31 .PATH
: ${X11SRCDIR.xc
}/lib
/xtrans
34 CPPFLAGS.
${fn}= -I
${X11SRCDIR.xc
}/include/fonts \
35 -I
${X11SRCDIR.xc
}/lib
/font
/include \
36 -I
${X11SRCDIR.xc
}/lib
/xtrans \
37 ${X11FLAGS.CONNECTION
} \
38 -DFONT_t
-DTRANS_CLIENT
-DTRANS_SERVER
-DTRANS_REOPEN \
44 .PATH
: ${X11SRCDIR.xc
}/lib
/font
/fontcache
45 SRCS.fontcache
= fontcache.c
46 .for fn in
${SRCS.fontcache
}
47 CPPFLAGS.
${fn}= -I
${X11SRCDIR.xc
}/lib
/font
/fontcache \
48 -I
${X11SRCDIR.xc
}/include/fonts \
49 -I
${X11SRCDIR.xc
}/lib
/font
/include \
50 -I
${X11SRCDIR.xc
}/lib
/font
/fontcache \
56 .PATH
: ${X11SRCDIR.xc
}/lib
/font
/util
57 SRCS.util
= utilbitmap.c fontnames.c fontutil.c fontxlfd.c format.c \
58 fontaccel.c atom.c miscutil.c private.c patcache.c
59 .for fn in
${SRCS.util
}
60 CPPFLAGS.
${fn}= -I
${X11SRCDIR.xc
}/include/fonts \
61 -I
${X11SRCDIR.xc
}/lib
/font
/include
64 SRCS
= ${SRCS.fontfile
} ${SRCS.
fc} ${SRCS.util
} ${SRCS.fontcache
}