1 # $NetBSD: Makefile,v 1.8 2004/04/28 14:17:57 lukem Exp $
8 .PATH
: ${X11SRCDIR.xc
}/extras
/fontconfig
/src
9 FONTCONFIGSRC
= ${X11SRCDIR.xc
}/extras
/fontconfig
10 FREETYPESRC
= ${X11SRCDIR.xc
}/extras
/freetype2
/src
14 .PATH
: ${FONTCONFIGSRC}/${HOSTPROG}
17 .PATH
: ${FONTCONFIGSRC}/src
18 SRCS
+= fcatomic.c fcblanks.c fccache.c fccfg.c fccharset.c fcdbg.c \
19 fcdefault.c fcdir.c fcfreetype.c fcfs.c fcinit.c fclang.c \
20 fclist.c fcmatch.c fcmatrix.c fcname.c fcpat.c fcstr.c fcxml.c
22 .PATH
: ${FREETYPESRC}/autohint
23 .PATH
: ${FREETYPESRC}/base
24 .PATH
: ${FREETYPESRC}/bdf
25 .PATH
: ${FREETYPESRC}/cff
26 .PATH
: ${FREETYPESRC}/cid
27 .PATH
: ${FREETYPESRC}/gzip
28 .PATH
: ${FREETYPESRC}/lzw
29 .PATH
: ${FREETYPESRC}/pcf
30 .PATH
: ${FREETYPESRC}/pfr
31 .PATH
: ${FREETYPESRC}/psaux
32 .PATH
: ${FREETYPESRC}/pshinter
33 .PATH
: ${FREETYPESRC}/psnames
34 .PATH
: ${FREETYPESRC}/raster
35 .PATH
: ${FREETYPESRC}/sfnt
36 .PATH
: ${FREETYPESRC}/smooth
37 .PATH
: ${FREETYPESRC}/truetype
38 .PATH
: ${FREETYPESRC}/type1
39 .PATH
: ${FREETYPESRC}/type42
40 .PATH
: ${FREETYPESRC}/winfonts
41 SRCS
+= autohint.c bdf.c cff.c ftbase.c ftbbox.c ftbdf.c ftdebug.c \
42 ftglyph.c ftinit.c ftmm.c ftsynth.c ftsystem.c fttype1.c \
43 ftxf86.c pcf.c pfr.c psaux.c pshinter.c psnames.c raster.c \
44 sfnt.c smooth.c truetype.c type1.c type1cid.c type42.c \
45 winfnt.c ftgzip.c ftlzw.c
47 .PATH
: ${X11SRCDIR.xc
}/extras
/expat
/lib
48 SRCS
+= xmlparse.c xmlrole.c xmltok.c
50 HOST_CPPFLAGS
+= -I
${DESTDIR}${X11INCDIR} \
51 -I
${DESTDIR}${X11INCDIR}/freetype2 \
52 -I
${X11SRCDIR.xc
}/lib
/expat \
53 -I
${X11SRCDIR.xc
}/extras
/expat
/lib \
54 -DFC_DEFAULT_FONTS
='"${X11FONTDIR}/Type1"' -DHAVE_EXPAT \
57 # This tells a cross build on darwin not to bother with
58 # resource fork font support which needs the carbon libraries.
59 HOST_CPPFLAGS
+= -DDARWIN_NO_CARBON \
60 -DFT_CONFIG_OPTION_SYSTEM_ZLIB
63 .
include <bsd.hostprog.mk
>