~bkerensa/ubuntu/raring/valgrind/merge-from-deb

« back to all changes in this revision

Viewing changes to memcheck/tests/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Andrés Roldán
  • Date: 2008-06-13 02:31:40 UTC
  • mto: (1.4.1 upstream) (2.2.1 squeeze)
  • mto: This revision was merged to the branch mainline in revision 24.
  • Revision ID: james.westby@ubuntu.com-20080613023140-iwk33rz9rhvfkr96
Import upstream version 3.3.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
include $(top_srcdir)/Makefile.flags.am
4
4
 
5
5
SUBDIRS = .
6
 
if VG_X86_LINUX
 
6
if VGP_X86_LINUX
7
7
SUBDIRS += x86
8
8
endif
9
 
if VG_AMD64_LINUX
 
9
if VGP_AMD64_LINUX
10
10
SUBDIRS += amd64
11
11
endif
12
 
if VG_PPC32_LINUX
 
12
if VGP_PPC32_LINUX
13
13
SUBDIRS += ppc32
14
14
endif
15
 
if VG_PPC64_LINUX
 
15
if VGP_PPC64_LINUX
16
16
SUBDIRS += ppc64
17
17
endif
18
18
 
54
54
        inline.stderr.exp inline.stdout.exp inline.vgtest \
55
55
        leak-0.vgtest leak-0.stderr.exp \
56
56
        leak-cycle.vgtest leak-cycle.stderr.exp leak-cycle.stderr.exp64 \
 
57
        leak-pool-0.vgtest leak-pool-0.stderr.exp leak-pool-0.stderr.exp64 \
 
58
        leak-pool-1.vgtest leak-pool-1.stderr.exp leak-pool-1.stderr.exp64 \
 
59
        leak-pool-2.vgtest leak-pool-2.stderr.exp leak-pool-2.stderr.exp64 \
 
60
        leak-pool-3.vgtest leak-pool-3.stderr.exp leak-pool-3.stderr.exp64 \
 
61
        leak-pool-4.vgtest leak-pool-4.stderr.exp leak-pool-4.stderr.exp64 \
 
62
        leak-pool-5.vgtest leak-pool-5.stderr.exp leak-pool-5.stderr.exp64 \
57
63
        leak-tree.vgtest leak-tree.stderr.exp \
58
64
        leak-tree.stderr.exp2 leak-tree.stderr.exp64 \
59
65
        leak-regroot.vgtest leak-regroot.stderr.exp \
60
66
        leakotron.vgtest leakotron.stdout.exp leakotron.stderr.exp \
 
67
        long_namespace_xml.vgtest long_namespace_xml.stdout.exp \
 
68
        long_namespace_xml.stderr.exp \
 
69
        malloc_free_fill.vgtest malloc_free_fill.stdout.exp \
 
70
        malloc_free_fill.stderr.exp-glibc25-amd64 \
 
71
        malloc_free_fill.stderr.exp-glibc25-x86 \
61
72
        malloc_usable.stderr.exp malloc_usable.vgtest \
62
73
        malloc1.stderr.exp malloc1.vgtest \
63
74
        malloc2.stderr.exp malloc2.vgtest \
75
86
        mmaptest.stderr.exp mmaptest.vgtest \
76
87
        nanoleak.stderr.exp nanoleak.vgtest \
77
88
        nanoleak_supp.stderr.exp nanoleak_supp.vgtest nanoleak.supp \
 
89
        nanoleak2.stderr.exp nanoleak2.vgtest \
78
90
        new_nothrow.stderr.exp new_nothrow.vgtest \
79
91
        new_override.stderr.exp new_override.stdout.exp new_override.vgtest \
 
92
        noisy_child.vgtest noisy_child.stderr.exp noisy_child.stdout.exp \
80
93
        null_socket.stderr.exp null_socket.vgtest \
81
94
        overlap.stderr.exp overlap.stdout.exp overlap.vgtest \
82
95
        oset_test.stderr.exp oset_test.stdout.exp oset_test.vgtest \
118
131
        vcpu_fbench.stdout.exp vcpu_fbench.stderr.exp vcpu_fbench.vgtest \
119
132
        vcpu_fnfns.stdout.exp vcpu_fnfns.stderr.exp vcpu_fnfns.vgtest \
120
133
        vgtest_ume.stderr.exp vgtest_ume.disabled \
 
134
        with-space.stderr.exp with-space.stdout.exp with-space.vgtest \
121
135
        wrap1.vgtest wrap1.stdout.exp wrap1.stderr.exp \
122
136
        wrap2.vgtest wrap2.stdout.exp wrap2.stderr.exp \
123
137
        wrap3.vgtest wrap3.stdout.exp wrap3.stderr.exp \
144
158
        describe-block \
145
159
        doublefree error_counts errs1 exitprog execve execve2 erringfds \
146
160
        fprw fwrite hello inits inline \
147
 
        leak-0 leak-cycle leak-tree leak-regroot leakotron \
 
161
        leak-0 leak-cycle leak-pool leak-tree leak-regroot leakotron \
 
162
        long_namespace_xml \
 
163
        malloc_free_fill \
148
164
        malloc_usable malloc1 malloc2 malloc3 manuel1 manuel2 manuel3 \
149
165
        match-overrun \
150
166
        memalign_test memalign2 memcmptest mempool mmaptest \
151
 
        nanoleak new_nothrow \
 
167
        nanoleak nanoleak2 new_nothrow \
 
168
        noisy_child \
152
169
        null_socket oset_test overlap \
153
170
        partiallydefinedeq \
154
171
        partial_load pdb-realloc pdb-realloc2 \
197
214
new_nothrow_SOURCES     = new_nothrow.cpp
198
215
new_override_SOURCES    = new_override.cpp
199
216
deep_templates_SOURCES  = deep_templates.cpp
 
217
long_namespace_xml_SOURCES = long_namespace_xml.cpp
200
218
deep_templates_CXXFLAGS = $(AM_FLAG_M3264_PRI) $(AM_CFLAGS) -O -gstabs
201
219
 
 
220
if VGP_PPC32_AIX5
 
221
if VGP_PPC64_AIX5
 
222
else
 
223
 # persuade the AIX linker not to junk apparently unused
 
224
 # function descriptors.  Unfortunately -Wl,-G -Wl,-bnogc
 
225
 # produces a link error on 64-bit AIX, hence only 32-bit
 
226
 # gets these flags.
 
227
 wrap1_LDFLAGS          = $(AM_FLAG_M3264_PRI) -Wl,-G -Wl,-bnogc
 
228
 wrap2_LDFLAGS          = $(AM_FLAG_M3264_PRI) -Wl,-G -Wl,-bnogc
 
229
 wrap3_LDFLAGS          = $(AM_FLAG_M3264_PRI) -Wl,-G -Wl,-bnogc
 
230
 wrap4_LDFLAGS          = $(AM_FLAG_M3264_PRI) -Wl,-G -Wl,-bnogc
 
231
 wrap5_LDFLAGS          = $(AM_FLAG_M3264_PRI) -Wl,-G -Wl,-bnogc
 
232
 wrap6_LDFLAGS          = $(AM_FLAG_M3264_PRI) -Wl,-G -Wl,-bnogc
 
233
 wrap8_LDFLAGS          = $(AM_FLAG_M3264_PRI) -Wl,-G -Wl,-bnogc
 
234
endif
 
235
endif
 
236
 
202
237
# Build shared object for wrap7
203
238
wrap7_SOURCES           = wrap7.c
204
239
wrap7_DEPENDENCIES      = wrap7so.so
205
 
wrap7_LDFLAGS           = $(AM_FLAG_M3264_PRI) \
 
240
if VGP_PPC64_AIX5 
 
241
 wrap7_LDADD            = `pwd`/wrap7so.so
 
242
 wrap7_LDFLAGS          = $(AM_FLAG_M3264_PRI)
 
243
else
 
244
if VGP_PPC32_AIX5
 
245
 wrap7_LDADD            = `pwd`/wrap7so.so
 
246
 wrap7_LDFLAGS          = $(AM_FLAG_M3264_PRI) -Wl,-G -Wl,-bnogc
 
247
else
 
248
 wrap7_LDADD            = wrap7so.so
 
249
 wrap7_LDFLAGS          = $(AM_FLAG_M3264_PRI) \
206
250
                                -Wl,-rpath,$(top_builddir)/memcheck/tests
207
 
wrap7_LDADD             = wrap7so.so
 
251
endif
 
252
endif
 
253
 
208
254
wrap7so_so_SOURCES      = wrap7so.c
209
255
wrap7so_so_LDADD        = 
210
256
wrap7so_so_DEPENDENCIES = 
211
 
wrap7so_so_LDFLAGS      = -fpic $(AM_FLAG_M3264_PRI) \
212
 
                                -Wl,-soname -Wl,wrap7so.so -shared
213
257
wrap7so_so_CFLAGS       = -fpic $(AM_FLAG_M3264_PRI)
 
258
if VGP_PPC64_AIX5
 
259
 wrap7so_so_LDFLAGS     = -fpic $(AM_FLAG_M3264_PRI) -shared
 
260
else
 
261
if VGP_PPC32_AIX5
 
262
 wrap7so_so_LDFLAGS     = -fpic $(AM_FLAG_M3264_PRI) -shared \
 
263
                                -Wl,-G -Wl,-bnogc
 
264
else
 
265
 wrap7so_so_LDFLAGS     = -fpic $(AM_FLAG_M3264_PRI) -shared \
 
266
                                -Wl,-soname -Wl,wrap7so.so
 
267
endif
 
268
endif
214
269
 
215
270
# Valgrind unit self-tests
216
271
#hello_LDFLAGS          = -Wl,-defsym,valt_load_address=0x50000000 \