Makefile revision 1.2
1# $NetBSD: Makefile,v 1.2 2011/08/03 02:55:30 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 12 13MAN= Xmark.1 x11perf.1 x11perfcomp.1 14 15x11perfcomp: x11perfcomp.in 16 ${TOOL_SED} \ 17 -e "s,@x11perfcompdir@,${X11LIBDIR}/x11perfcomp,;" \ 18 -e "s,@MKTEMP@,/usr/bin/mktemp,;" \ 19 < ${.ALLSRC} > ${.TARGET} 20 21SCRIPTS= x11perfcomp Xmark \ 22 fillblnk perfboth perfratio 23SCRIPTSDIR_fillblnk.sh= ${X11LIBDIR}/x11perfcomp 24SCRIPTSDIR_perfboth.sh= ${X11LIBDIR}/x11perfcomp 25SCRIPTSDIR_perfratio.sh=${X11LIBDIR}/x11perfcomp 26 27LDADD+= -lXft -lfontconfig -lfreetype -lexpat -lXrender 28DPADD+= ${LIBXFT} ${LIBFONTCONFIG} ${LIBFREETYPE} ${LIBEXPAT} ${LIBXRENDER} 29LDADD+= -lXmuu -lXt -lSM -lICE -lXext -lX11 -lm 30DPADD+= ${LIBXMUU} ${LIBXT} ${LIBSM} ${LIBICE} ${LIBXEXT} ${LIBX11} ${LIBM} 31 32.PATH: ${X11SRCDIR.${PROG}} 33.PATH: ${X11SRCDIR.${PROG}}/man 34 35.include <bsd.x11.mk> 36.include <bsd.prog.mk> 37