# $NetBSD: Makefile,v 1.9 2005/03/19 21:41:59 christos Exp $ NOMAN= 1 .include HOSTPROG= fc-cache .PATH: ${X11SRCDIR.xc}/extras/fontconfig/src FONTCONFIGSRC= ${X11SRCDIR.xc}/extras/fontconfig FREETYPESRC= ${X11SRCDIR.xc}/extras/freetype2/src LDADD= -lz .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 .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 .PATH: ${X11SRCDIR.xc}/extras/expat/lib SRCS+= xmlparse.c xmlrole.c xmltok.c HOST_CPPFLAGS+= -I${DESTDIR}${X11INCDIR} \ -I${DESTDIR}${X11INCDIR}/freetype2 \ -I${X11SRCDIR.xc}/lib/expat \ -I${X11SRCDIR.xc}/extras/expat/lib \ -DFC_DEFAULT_FONTS='"${X11FONTDIR}/Type1"' -DHAVE_EXPAT \ -DXML_BYTE_ORDER=0 # 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 .include .include