2005-03-20 00:41:58 +03:00
|
|
|
# $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
|
2004-03-06 05:55:20 +03:00
|
|
|
.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
|
|
|
|
|
2004-03-15 03:39:31 +03:00
|
|
|
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
|
2004-03-06 05:55:20 +03:00
|
|
|
.PATH: ${FREETYPESRC}/gzip
|
2005-03-20 00:41:58 +03:00
|
|
|
.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 \
|
2004-03-06 05:55:20 +03:00
|
|
|
sfnt.c smooth.c truetype.c type1.c type1cid.c type42.c \
|
2005-03-20 00:41:58 +03:00
|
|
|
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
|
|
|
|
|
2003-09-30 10:41:29 +04:00
|
|
|
HOST_CPPFLAGS+= -I${DESTDIR}${X11INCDIR} \
|
|
|
|
-I${DESTDIR}${X11INCDIR}/freetype2 \
|
2003-09-12 22:52:57 +04:00
|
|
|
-I${X11SRCDIR.xc}/lib/expat \
|
2004-03-06 05:55:20 +03:00
|
|
|
-I${X11SRCDIR.xc}/extras/expat/lib \
|
2003-09-12 22:52:57 +04:00
|
|
|
-DFC_DEFAULT_FONTS='"${X11FONTDIR}/Type1"' -DHAVE_EXPAT \
|
2004-04-28 18:17:55 +04:00
|
|
|
-DXML_BYTE_ORDER=0
|
2003-09-12 22:52:57 +04:00
|
|
|
|
2004-01-15 16:47:05 +03:00
|
|
|
# This tells a cross build on darwin not to bother with
|
|
|
|
# resource fork font support which needs the carbon libraries.
|
2004-03-15 03:39:31 +03:00
|
|
|
HOST_CPPFLAGS+= -DDARWIN_NO_CARBON \
|
|
|
|
-DFT_CONFIG_OPTION_SYSTEM_ZLIB
|
2004-01-15 16:47:05 +03:00
|
|
|
|
2003-09-12 22:52:57 +04:00
|
|
|
.include <bsd.x11.mk>
|
2003-09-14 00:17:57 +04:00
|
|
|
.include <bsd.hostprog.mk>
|