NetBSD/x11/bin/xditview/Makefile

29 lines
802 B
Makefile

# $NetBSD: Makefile,v 1.6 2004/04/29 05:18:25 lukem Exp $
.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
CPPFLAGS+= -DUSE_XFT -DXFREE86_FT2 -I${DESTDIR}${X11INCDIR}/freetype2
APPDEFS=Xditview.ad Xditview-chrtr.ad
BUILDSYMLINKS= 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}
FILES= ldblarrow rdblarrow
FILESDIR=${X11INCDIR}/X11/bitmaps
.PATH: ${X11SRCDIR.xc}/programs/${PROG}
.include <bsd.x11.mk>
.include <bsd.prog.mk>