NetBSD/x11/Xserver/fontbase/Makefile

68 lines
2.1 KiB
Makefile
Raw Normal View History

2004-03-06 06:31:05 +03:00
# $NetBSD: Makefile,v 1.2 2004/03/06 03:31:06 rtr Exp $
2003-12-23 06:36:44 +03:00
.include "../Makefile.serverlib"
.include <bsd.own.mk>
LIB= fontbase
2004-03-06 06:31:05 +03:00
# fontfile
.PATH: ${X11SRCDIR.xc}/lib/font/fontfile
SRCS.fontfile= dirfile.c fontdir.c fontfile.c fileio.c fontscale.c \
defaults.c bitsource.c register.c renderers.c bufio.c \
decompress.c filewr.c printerfont.c ffcheck.c \
fontenc.c encparse.c fontencc.c gunzip.c
2003-12-23 06:36:44 +03:00
.for fn in ${SRCS.fontfile}
CPPFLAGS.${fn}= -I${X11SRCDIR.xc}/include/fonts \
-I${X11SRCDIR.xc}/lib/font/include \
-I${X11SRCDIR.xc}/programs/Xserver/include \
-DFONTDIRATTRIB -DBUILD_SPEEDO -DBUILD_TYPE1 -DBUILD_CID \
-DBUILD_FREETYPE -DX_GZIP_FONT_COMPRESSION \
-DFONT_ENCODINGS_DIRECTORY=\"${X11FONTDIR}/encodings/encodings.dir\"
.endfor
CPPFLAGS.ffcheck.c+= -DLOADABLEFONTS
CPPFLAGS.register.c+= -DLOADABLEFONTS
2004-03-06 06:31:05 +03:00
# fc
.PATH: ${X11SRCDIR.xc}/lib/font/fc
SRCS.fc= fsconvert.c fserve.c fsio.c
2003-12-23 06:36:44 +03:00
.PATH: ${X11SRCDIR.xc}/lib/xtrans
2004-03-06 06:31:05 +03:00
SRCS.fc+= transport.c
2003-12-23 06:36:44 +03:00
.for fn in ${SRCS.fc}
CPPFLAGS.${fn}= -I${X11SRCDIR.xc}/include/fonts \
-I${X11SRCDIR.xc}/lib/font/include \
-I${X11SRCDIR.xc}/lib/xtrans \
${X11FLAGS.CONNECTION} \
-DFONT_t -DTRANS_CLIENT -DTRANS_SERVER -DTRANS_REOPEN \
-DBSD44SOCKETS
.endfor
2004-03-06 06:31:05 +03:00
# fontcache
2003-12-23 06:36:44 +03:00
.PATH: ${X11SRCDIR.xc}/lib/font/fontcache
2004-03-06 06:31:05 +03:00
SRCS.fontcache= fontcache.c
2003-12-23 06:36:44 +03:00
.for fn in ${SRCS.fontcache}
CPPFLAGS.${fn}= -I${X11SRCDIR.xc}/lib/font/fontcache \
-I${X11SRCDIR.xc}/include/fonts \
-I${X11SRCDIR.xc}/lib/font/include \
-I${X11SRCDIR.xc}/lib/font/fontcache \
-DFONTCACHE
.endfor
2004-03-06 06:31:05 +03:00
# util
2003-12-23 06:36:44 +03:00
.PATH: ${X11SRCDIR.xc}/lib/font/util
2004-03-06 06:31:05 +03:00
SRCS.util= utilbitmap.c fontnames.c fontutil.c fontxlfd.c format.c \
fontaccel.c atom.c miscutil.c private.c patcache.c
2003-12-23 06:36:44 +03:00
.for fn in ${SRCS.util}
CPPFLAGS.${fn}= -I${X11SRCDIR.xc}/include/fonts \
-I${X11SRCDIR.xc}/lib/font/include
.endfor
SRCS= ${SRCS.fontfile} ${SRCS.fc} ${SRCS.util} ${SRCS.fontcache}
.include <bsd.x11.mk>
.include <bsd.lib.mk>