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