NetBSD/x11/tools/fc-cache/Makefile

64 lines
1.9 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.9 2005/03/19 21:41:59 christos Exp $
2003-09-12 22:52:57 +04:00
NOMAN= 1
.include <bsd.own.mk>
HOSTPROG= fc-cache
.PATH: ${X11SRCDIR.xc}/extras/fontconfig/src
FONTCONFIGSRC= ${X11SRCDIR.xc}/extras/fontconfig
2003-09-12 22:52:57 +04:00
FREETYPESRC= ${X11SRCDIR.xc}/extras/freetype2/src
LDADD= -lz
2003-09-12 22:52:57 +04:00
.PATH: ${FONTCONFIGSRC}/${HOSTPROG}
SRCS= fc-cache.c
.PATH: ${FONTCONFIGSRC}/src
SRCS+= fcatomic.c fcblanks.c fccache.c fccfg.c fccharset.c fcdbg.c \
fcdefault.c fcdir.c fcfreetype.c fcfs.c fcinit.c fclang.c \
fclist.c fcmatch.c fcmatrix.c fcname.c fcpat.c fcstr.c fcxml.c
.PATH: ${FREETYPESRC}/autohint
.PATH: ${FREETYPESRC}/base
.PATH: ${FREETYPESRC}/bdf
.PATH: ${FREETYPESRC}/cff
.PATH: ${FREETYPESRC}/cid
.PATH: ${FREETYPESRC}/gzip
.PATH: ${FREETYPESRC}/lzw
2003-09-12 22:52:57 +04:00
.PATH: ${FREETYPESRC}/pcf
.PATH: ${FREETYPESRC}/pfr
.PATH: ${FREETYPESRC}/psaux
.PATH: ${FREETYPESRC}/pshinter
.PATH: ${FREETYPESRC}/psnames
.PATH: ${FREETYPESRC}/raster
.PATH: ${FREETYPESRC}/sfnt
.PATH: ${FREETYPESRC}/smooth
.PATH: ${FREETYPESRC}/truetype
.PATH: ${FREETYPESRC}/type1
.PATH: ${FREETYPESRC}/type42
.PATH: ${FREETYPESRC}/winfonts
SRCS+= autohint.c bdf.c cff.c ftbase.c ftbbox.c ftbdf.c ftdebug.c \
ftglyph.c ftinit.c ftmm.c ftsynth.c ftsystem.c fttype1.c \
ftxf86.c pcf.c pfr.c psaux.c pshinter.c psnames.c raster.c \
sfnt.c smooth.c truetype.c type1.c type1cid.c type42.c \
winfnt.c ftgzip.c ftlzw.c
2003-09-12 22:52:57 +04:00
.PATH: ${X11SRCDIR.xc}/extras/expat/lib
SRCS+= xmlparse.c xmlrole.c xmltok.c
HOST_CPPFLAGS+= -I${DESTDIR}${X11INCDIR} \
-I${DESTDIR}${X11INCDIR}/freetype2 \
2003-09-12 22:52:57 +04:00
-I${X11SRCDIR.xc}/lib/expat \
-I${X11SRCDIR.xc}/extras/expat/lib \
2003-09-12 22:52:57 +04:00
-DFC_DEFAULT_FONTS='"${X11FONTDIR}/Type1"' -DHAVE_EXPAT \
-DXML_BYTE_ORDER=0
2003-09-12 22:52:57 +04:00
# This tells a cross build on darwin not to bother with
# resource fork font support which needs the carbon libraries.
HOST_CPPFLAGS+= -DDARWIN_NO_CARBON \
-DFT_CONFIG_OPTION_SYSTEM_ZLIB
2003-09-12 22:52:57 +04:00
.include <bsd.x11.mk>
.include <bsd.hostprog.mk>