2 include $(top_srcdir)/Makefile.tool-tests.am
4 dist_noinst_SCRIPTS = filter_stderr filter_add filter_suppgen
8 bad_percentify.vgtest bad_percentify.c \
9 bad_percentify.stdout.exp bad_percentify.stderr.exp-glibc28-amd64 \
10 globalerr.vgtest globalerr.stdout.exp \
11 globalerr.stderr.exp-glibc28-amd64 \
12 hackedbz2.vgtest hackedbz2.stdout.exp \
13 hackedbz2.stderr.exp-glibc28-amd64 \
14 hsg.vgtest hsg.stdout.exp hsg.stderr.exp \
15 preen_invars.vgtest preen_invars.stdout.exp \
16 preen_invars.stderr.exp-glibc28-amd64 \
17 stackerr.vgtest stackerr.stdout.exp \
18 stackerr.stderr.exp-glibc28-amd64 stackerr.stderr.exp-glibc27-x86
24 preen_invars preen_invars_so.so \
27 # DDD: not sure if these ones should work on Darwin or not... if not, should
28 # be moved into x86-linux/.
29 #if ! VGCONF_OS_IS_DARWIN
35 AM_CFLAGS += $(AM_FLAG_M3264_PRI)
36 AM_CXXFLAGS += $(AM_FLAG_M3264_PRI)
38 # To make it a bit more realistic, build hackedbz2.c with at
39 # least some optimisation.
40 hackedbz2_CFLAGS = $(AM_CFLAGS) -O -Wno-inline
43 #pth_create_LDADD = -lpthread
46 #ccc_SOURCES = ccc.cpp
48 # Build shared object for preen_invars
49 preen_invars_DEPENDENCIES = preen_invars_so.so
50 if VGCONF_OS_IS_DARWIN
51 preen_invars_LDADD = -ldl
52 preen_invars_LDFLAGS = $(AM_FLAG_M3264_PRI)
54 preen_invars_LDADD = -ldl
55 preen_invars_LDFLAGS = $(AM_FLAG_M3264_PRI) \
56 -Wl,-rpath,$(top_builddir)/memcheck/tests
59 preen_invars_so_so_SOURCES = preen_invars_so.c # For automake-1.7.
60 preen_invars_so_so_CFLAGS = $(AM_CFLAGS) -fpic
61 if VGCONF_OS_IS_DARWIN
62 preen_invars_so_so_LDFLAGS = -fpic $(AM_FLAG_M3264_PRI) -dynamic \
65 preen_invars_so_so_LDFLAGS = -fpic $(AM_FLAG_M3264_PRI) -shared \
66 -Wl,-soname -Wl,preen_invars_so.so