1 # $NetBSD: Makefile,v 1.8 2005/03/21 00:55:04 rtr Exp $
5 SUBDIR
= cache config internal
7 .PATH
: ${X11SRCDIR.xc
}/extras
/freetype2
/include/freetype
9 INCSDIR
=${X11INCDIR}/freetype2
/freetype
11 INCS
= freetype.h ftbbox.h ftbdf.h ftcache.h ftchapters.h fterrdef.h \
12 fterrors.h ftglyph.h ftgzip.h ftimage.h ftincrem.h ftlist.h \
13 ftlzw.h ftmac.h ftmm.h ftmoderr.h ftmodapi.h ftoutln.h ftpfr.h \
14 ftrender.h ftsizes.h ftsnames.h ftstroke.h ftsynth.h ftsysio.h \
15 ftsysmem.h ftsystem.h fttrigon.h fttypes.h ftwinfnt.h ftxf86.h \
16 t1tables.h ttnameid.h tttables.h tttags.h ttunpat.h
18 SCRIPTS
= freetype-config
20 CLEANFILES
+= ${SCRIPTS}
22 # XXX hijack config-subst from Xft
23 CONFIG_SUBST
= ${TOOL_SED} -e
's%@prefix@%${X11ROOTDIR}%' \
24 -e
's%@exec_prefix@%${X11BINDIR}%' \
25 -e
's%@libdir@%${X11USRLIBDIR}%g' \
26 -e
's%@includedir@%${X11INCDIR}%' \
27 -e
's%@ft_version@%9.0.3%' \
28 -e
's%@hardcode_libdir_flag_spec@%-Wl,-rpath,${X11USRLIBDIR}%' \
32 ${CONFIG_SUBST} < ${X11SRCDIR.xc
}/extras
/freetype2
/builds
/unix
/freetype-config.in
> ${.TARGET
}
35 .
include <bsd.prog.mk
>
36 .
include <bsd.subdir.mk
>