1 # $NetBSD: Makefile,v 1.3 2011/11/20 21:02:23 dholland Exp $
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 x11perfcomp
: x11perfcomp.in
17 -e
"s,@x11perfcompdir@,${X11LIBDIR}/x11perfcomp,;" \
18 -e
"s,@MKTEMP@,/usr/bin/mktemp,;" \
19 < ${.ALLSRC
} > ${.TARGET
}
21 SCRIPTS
= x11perfcomp Xmark \
22 fillblnk perfboth perfratio
23 SCRIPTSDIR_fillblnk.sh
= ${X11LIBDIR}/x11perfcomp
24 SCRIPTSDIR_perfboth.sh
= ${X11LIBDIR}/x11perfcomp
25 SCRIPTSDIR_perfratio.sh
=${X11LIBDIR}/x11perfcomp
27 CLEANFILES
+= x11perfcomp
29 LDADD
+= -lXft
-lfontconfig
-lfreetype
-lexpat
-lXrender
30 DPADD
+= ${LIBXFT} ${LIBFONTCONFIG} ${LIBFREETYPE} ${LIBEXPAT} ${LIBXRENDER}
31 LDADD
+= -lXmuu
-lXt
-lSM
-lICE
-lXext
-lX11
-lm
32 DPADD
+= ${LIBXMUU} ${LIBXT} ${LIBSM} ${LIBICE} ${LIBXEXT} ${LIBX11} ${LIBM}
34 .PATH
: ${X11SRCDIR.
${PROG}}
35 .PATH
: ${X11SRCDIR.
${PROG}}/man
38 .
include <bsd.prog.mk
>