971bb1a587
Change-Id: Ib11d8659485a444797bf3a2118182a1d4e316b50
28 lines
807 B
Makefile
28 lines
807 B
Makefile
# $NetBSD: Makefile,v 1.3 2013/05/31 06:50:45 mrg 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 Xditview-chrtr
|
|
|
|
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.${PROG}}
|
|
.PATH: ${X11SRCDIR.${PROG}}/app-defaults
|
|
.PATH: ${X11SRCDIR.${PROG}}/man
|
|
|
|
.include <bsd.x11.mk>
|
|
.include <bsd.prog.mk>
|