Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / external / mit / xorg / bin / x11perf / Makefile
blob6bc950f5bb4ee2984d7d74894b2067bc008b6503
1 # $NetBSD: Makefile,v 1.6 2004/04/29 05:18:25 lukem Exp $
3 .include <bsd.own.mk>
5 PROG= x11perf
6 SRCS= 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
10 CPPFLAGS+= -DMITSHM -DXRENDER
11 CPPFLAGS+= -DXFT -DXFREE86_FT2 -I${DESTDIR}${X11INCDIR}/freetype2
13 MAN= Xmark.1 x11perf.1 x11perfcomp.1
15 BUILDSYMLINKS= x11pcomp.cpp x11perfcomp.cpp
17 CPPSCRIPTS= x11perfcomp
18 CPPSCRIPTFLAGS= -DLIBPATH=${X11LIBDIR}/x11perfcomp
19 SCRIPTS= x11perfcomp Xmark \
20 fillblnk perfboth perfratio
21 SCRIPTSDIR_fillblnk.sh= ${X11LIBDIR}/x11perfcomp
22 SCRIPTSDIR_perfboth.sh= ${X11LIBDIR}/x11perfcomp
23 SCRIPTSDIR_perfratio.sh=${X11LIBDIR}/x11perfcomp
25 LDADD+= -lXft -lfontconfig -lfreetype -lexpat -lXrender
26 DPADD+= ${LIBXFT} ${LIBFONTCONFIG} ${LIBFREETYPE} ${LIBEXPAT} ${LIBXRENDER}
27 LDADD+= -lXmuu -lXt -lSM -lICE -lXext -lX11 -lm
28 DPADD+= ${LIBXMUU} ${LIBXT} ${LIBSM} ${LIBICE} ${LIBXEXT} ${LIBX11} ${LIBM}
30 .PATH: ${X11SRCDIR.${PROG}}
32 .include <bsd.x11.mk>
33 .include <bsd.prog.mk>