NetBSD/external/mit/xorg/bin/fonttosfnt/Makefile
mrg 2980e352a1 initial import of the crossbuild framework for modular Xorg. this
is heavily based upon the work rtr@ did on src/x11, but hacked to
work for modern modular Xorg source split.

the sources will live in xsrc/external/mit/<package>/dist.

documentation on using this will come when the above directories
are fully populated.  there are 192 of them so it may take some time
before that is completed.
2008-07-29 05:01:21 +00:00

23 lines
621 B
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2008/07/29 05:01:22 mrg Exp $
.include <bsd.own.mk>
PROG= fonttosfnt
SRCS= fonttosfnt.c read.c write.c struct.c util.c
# XXX XVENDORNAME and XVENDORNAMESHORT should live in a common location
CPPFLAGS+= -DXFREE86_FT2 -I${DESTDIR}${X11INCDIR}/freetype2 \
-DXVENDORNAMESHORT=${XVENDORNAMESHORT} \
-DXVENDORNAME=${XVENDORNAME}
CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11/fonts \
-I${X11SRCDIR.xc}/extras/freetype2/include
LDADD+= -lfreetype -lfontenc -lz -lm
DPADD+= ${LIBFREETYPE} ${LIBFONTENC} ${LIBZ} ${LIBM}
.PATH: ${X11SRCDIR.${PROG}}
.include <bsd.x11.mk>
.include <bsd.prog.mk>