2003-09-14 00:17:57 +04:00
|
|
|
# $NetBSD: Makefile,v 1.2 2003/09/13 20:18:15 lukem Exp $
|
2003-09-11 22:37:05 +04:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
PROG= xditview
|
|
|
|
SRCS= xditview.c Dvi.c draw.c font.c lex.c page.c parse.c \
|
|
|
|
XFontName.c DviChar.c
|
|
|
|
|
|
|
|
CPPFLAGS+=-DHAS_MKSTEMP -DUSE_XFT -I${DESTDIR}/${X11INCDIR}/freetype2
|
|
|
|
|
|
|
|
APPDEFS=Xditview.ad Xditview-chrtr.ad
|
|
|
|
|
|
|
|
LNFILES=Xdit-chrtr.ad Xditview-chrtr.ad
|
|
|
|
|
|
|
|
LDADD+= -lXft -lfontconfig -lfreetype -lexpat -lXrender
|
|
|
|
DPADD+= ${LIBXFT} ${LIBFONTCONFIG} ${LIBFREETYPE} ${LIBEXPAT} ${LIBXRENDER}
|
|
|
|
LDADD+= -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 -lm
|
|
|
|
DPADD+= ${LIBXAW} ${LIBXMU} ${LIBXT} ${LIBSM} ${LIBICE} \
|
|
|
|
${LIBXPM} ${LIBXEXT} ${LIBX11} ${LIBM}
|
|
|
|
|
|
|
|
.PATH: ${X11SRCDIR.xc}/programs/${PROG}
|
|
|
|
|
|
|
|
.include <bsd.x11.mk>
|
2003-09-14 00:17:57 +04:00
|
|
|
.include <bsd.prog.mk>
|