1# $NetBSD: Makefile,v 1.4 2018/05/09 08:39:55 mrg Exp $ 2 3.include <bsd.own.mk> 4 5PROG= x11perf 6SRCS= x11perf.c bitmaps.c do_tests.c do_simple.c do_rects.c do_valgc.c \ 7 do_lines.c do_segs.c do_dots.c do_windows.c do_movewin.c do_text.c \ 8 do_blt.c do_arcs.c do_tris.c do_complex.c do_traps.c 9 10CPPFLAGS+= -DMITSHM -DXRENDER 11CPPFLAGS+= -DXFT -DXFREE86_FT2 -I${DESTDIR}${X11INCDIR}/freetype2 12CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/freetype2/freetype 13 14MAN= Xmark.1 x11perf.1 x11perfcomp.1 15 16x11perfcomp: x11perfcomp.in 17 ${TOOL_SED} \ 18 -e "s,@x11perfcompdir@,${X11LIBDIR}/x11perfcomp,;" \ 19 -e "s,@MKTEMP@,/usr/bin/mktemp,;" \ 20 < ${.ALLSRC} > ${.TARGET} 21 22SCRIPTS= x11perfcomp Xmark \ 23 fillblnk perfboth perfratio 24SCRIPTSDIR_fillblnk.sh= ${X11LIBDIR}/x11perfcomp 25SCRIPTSDIR_perfboth.sh= ${X11LIBDIR}/x11perfcomp 26SCRIPTSDIR_perfratio.sh=${X11LIBDIR}/x11perfcomp 27 28CLEANFILES+= x11perfcomp 29 30LDADD+= -lXft -lfontconfig -lfreetype -lexpat -lXrender 31DPADD+= ${LIBXFT} ${LIBFONTCONFIG} ${LIBFREETYPE} ${LIBEXPAT} ${LIBXRENDER} 32LDADD+= -lXmuu -lXt -lSM -lICE -lXext -lX11 -lm 33DPADD+= ${LIBXMUU} ${LIBXT} ${LIBSM} ${LIBICE} ${LIBXEXT} ${LIBX11} ${LIBM} 34 35.PATH: ${X11SRCDIR.${PROG}} 36.PATH: ${X11SRCDIR.${PROG}}/man 37 38.include <bsd.x11.mk> 39.include <bsd.prog.mk> 40