NetBSD/x11/lib/fontconfig/Makefile
2004-02-09 05:58:24 +00:00

32 lines
759 B
Makefile

# $NetBSD: Makefile,v 1.5 2004/02/09 05:58:25 lukem Exp $
.include <bsd.own.mk>
SUBDIR= fontconfig src etc
FILES= fontconfig.pc
FILESDIR= ${X11USRLIBDIR}/pkgconfig
SCRIPTS= fontconfig-config
CLEANFILES+= ${FILES} ${SCRIPTS}
realall: ${FILES}
FONTCONFIGDIR= ${X11SRCDIR.xc}/lib/fontconfig
CONFIG_SUBST= ${HOST_SH} ${FONTCONFIGDIR}/config/config-subst \
prefix="${X11ROOTDIR}" \
exec_prefix="${X11BINDIR}" \
libdir="${X11USRLIBDIR}" \
includedir="${X11INCDIR}" \
PACKAGE_VERSION="1.0.1"
fontconfig.pc:
${CONFIG_SUBST} < ${FONTCONFIGDIR}/fontconfig.pc.in > ${.TARGET}
fontconfig-config:
${CONFIG_SUBST} < ${FONTCONFIGDIR}/fontconfig-config.in > ${.TARGET}
.include <bsd.x11.mk>
.include <bsd.prog.mk> # for SCRIPTS
.include <bsd.subdir.mk>