971bb1a587
Change-Id: Ib11d8659485a444797bf3a2118182a1d4e316b50
24 lines
651 B
Makefile
24 lines
651 B
Makefile
# $NetBSD: Makefile,v 1.2 2011/08/11 23:15:35 joerg 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}}
|
|
|
|
CWARNFLAGS.clang+= -Wno-format
|
|
|
|
.include <bsd.x11.mk>
|
|
.include <bsd.prog.mk>
|