1# $NetBSD: Makefile,v 1.6 2013/05/31 05:24:50 mrg Exp $ 2 3NOMAN= 1 4 5.include <bsd.own.mk> 6 7HOSTPROG= bdftopcf 8.PATH: ${X11SRCDIR.bdftopcf} 9 10FREETYPE= ${X11SRCDIR.freetype} 11 12SRCS= bdftopcf.c 13 14HOST_CPPFLAGS+= -I${DESTDIR}${X11INCDIR} \ 15 -I${DESTDIR}${X11INCDIR} \ 16 -I${DESTDIR}${X11INCDIR}/X11/fonts \ 17 -I${DESTDIR}${X11INCDIR}/freetype2 \ 18 -I${X11SRCDIR.Xfont}/src/stubs \ 19 -DBDFFORMAT -DPCFFORMAT -DSNFFORMAT -DX_GZIP_FONT_COMPRESSION \ 20 -DFONT_ENCODINGS_DIRECTORY=\"${X11FONTDIR}/encodings/encodings.dir\" \ 21 -DPACKAGE_STRING="\"NetBSD tool bdftopcf 1.0.4\"" 22 23.PATH: ${X11SRCDIR.Xfont}/src/bitmap 24SRCS+= bdfread.c bdfutils.c bitmap.c bitmaputil.c fontink.c \ 25 pcfread.c pcfwrite.c 26 27.PATH: ${X11SRCDIR.Xfont}/src/fontfile 28SRCS+= bufio.c decompress.c defaults.c fileio.c filewr.c gunzip.c 29 30.PATH: ${X11SRCDIR.Xfont}/src/util 31SRCS+= atom.c fontaccel.c private.c utilbitmap.c 32 33LDADD+= -lz 34 35.include <bsd.x11.mk> 36.include <bsd.hostprog.mk> 37