Home | History | Annotate | Line # | Download | only in bdftopcf
      1 #	$NetBSD: Makefile,v 1.9 2018/05/01 19:59:43 christos Exp $
      2 
      3 .include <bsd.hostinit.mk>
      4 
      5 HOSTPROG=	bdftopcf
      6 .PATH:		${X11SRCDIR.bdftopcf}
      7 
      8 FREETYPE=       ${X11SRCDIR.freetype}
      9 
     10 SRCS=		atom.c \
     11 		bdfread.c \
     12 		bdfutils.c \
     13 		bitmap.c \
     14 		bitmaputil.c \
     15 		bufio.c \
     16 		defaults.c \
     17 		fileio.c \
     18 		filewr.c \
     19 		fontaccel.c \
     20 		fontink.c \
     21 		pcfwrite.c \
     22 		private.c \
     23 		utilbitmap.c \
     24 		bdftopcf.c
     25 
     26 HOST_CPPFLAGS+=	-I${DESTDIR}${X11INCDIR} \
     27 		-I${DESTDIR}${X11INCDIR} \
     28 		-I${DESTDIR}${X11INCDIR}/freetype2 \
     29 		-DBDFFORMAT -DPCFFORMAT -DSNFFORMAT -DX_GZIP_FONT_COMPRESSION \
     30 		-DFONT_ENCODINGS_DIRECTORY=\"${X11FONTDIR}/encodings/encodings.dir\" \
     31 		-DPACKAGE_STRING="\"NetBSD tool bdftopcf 1.1\""
     32 
     33 LDADD+=		-lz
     34 
     35 .include <bsd.x11.mk>
     36 .include <bsd.hostprog.mk>
     37