1# $NetBSD: Makefile,v 1.5 2004/01/05 13:08:57 rtr Exp $ 2 3.include <bsd.own.mk> 4 5PROG= xditview 6SRCS= xditview.c Dvi.c draw.c font.c lex.c page.c parse.c \ 7 XFontName.c DviChar.c 8 9CPPFLAGS+= -DHAS_MKSTEMP 10CPPFLAGS+= -DUSE_XFT -DXFREE86_FT2 -I${DESTDIR}${X11INCDIR}/freetype2 11 12APPDEFS=Xditview.ad Xditview-chrtr.ad 13 14BUILDSYMLINKS= Xdit-chrtr.ad Xditview-chrtr.ad 15 16LDADD+= -lXft -lfontconfig -lfreetype -lexpat -lXrender 17DPADD+= ${LIBXFT} ${LIBFONTCONFIG} ${LIBFREETYPE} ${LIBEXPAT} ${LIBXRENDER} 18LDADD+= -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 -lm 19DPADD+= ${LIBXAW} ${LIBXMU} ${LIBXT} ${LIBSM} ${LIBICE} \ 20 ${LIBXPM} ${LIBXEXT} ${LIBX11} ${LIBM} 21 22FILES= ldblarrow rdblarrow 23FILESDIR=${X11INCDIR}/X11/bitmaps 24 25.PATH: ${X11SRCDIR.xc}/programs/${PROG} 26 27.include <bsd.x11.mk> 28.include <bsd.prog.mk> 29