1# $NetBSD: Makefile,v 1.6 2004/04/29 05:18:25 lukem 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 14LDADD+= -lXft -lfontconfig -lfreetype -lexpat -lXrender 15DPADD+= ${LIBXFT} ${LIBFONTCONFIG} ${LIBFREETYPE} ${LIBEXPAT} ${LIBXRENDER} 16LDADD+= -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 -lm 17DPADD+= ${LIBXAW} ${LIBXMU} ${LIBXT} ${LIBSM} ${LIBICE} \ 18 ${LIBXPM} ${LIBXEXT} ${LIBX11} ${LIBM} 19 20FILES= ldblarrow rdblarrow 21FILESDIR=${X11INCDIR}/X11/bitmaps 22 23.PATH: ${X11SRCDIR.${PROG}} 24 25.include <bsd.x11.mk> 26.include <bsd.prog.mk> 27