Make memcheck/tests/x86-linux/scalar test work under root.
[valgrind.git] / perf / Makefile.am
blobab504e937530cad9657d0157a5d21e9bea9d1a50
2 include $(top_srcdir)/Makefile.tool-tests.am
4 dist_noinst_SCRIPTS = vg_perf
6 EXTRA_DIST = \
7         bigcode1.vgperf \
8         bigcode2.vgperf \
9         bz2.vgperf \
10         fbench.vgperf \
11         ffbench.vgperf \
12         heap.vgperf \
13         heap_pdb4.vgperf \
14         many-loss-records.vgperf \
15         many-xpts.vgperf \
16         memrw.vgperf \
17         sarp.vgperf \
18         tinycc.vgperf \
19         test_input_for_tinycc.c
21 check_PROGRAMS = \
22         bigcode bz2 fbench ffbench heap many-loss-records many-xpts \
23         memrw sarp tinycc
25 AM_CFLAGS   += -O $(AM_FLAG_M3264_PRI)
26 AM_CXXFLAGS += -O $(AM_FLAG_M3264_PRI)
29 # Extra stuff
30 bz2_CFLAGS      = $(AM_CFLAGS) -Wno-inline
32 fbench_CFLAGS   = $(AM_CFLAGS) -O2
33 ffbench_LDADD   = -lm
34 memrw_LDADD     = -lpthread
36 tinycc_CFLAGS   = $(AM_CFLAGS) -Wno-shadow -Wno-inline \
37                   @FLAG_W_NO_POINTER_SIGN@