25 lines
712 B
Makefile
25 lines
712 B
Makefile
|
# $NetBSD: Makefile,v 1.1.1.1 2003/09/11 18:37:06 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 -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.prog.mk>
|
||
|
.include <bsd.x11.mk>
|