blob: fb8f0f502bc3338f8c64746b0385b9935cfd01f3 [file] [log] [blame]
njn25e49d8e72002-09-23 09:36:25 +00001## Process this file with automake to produce Makefile.in
2
3##---------------------------------------------------------------------------
4## Need more tests:
5## - lots more mmap/munmap/mremap/mprotect ones
6
7## Notes:
8## - HEAD and ERASER stderr.exp are different for signal2 due to lazy vs.
9## strict EIP updating
10##---------------------------------------------------------------------------
11
njn254d542432002-09-23 16:09:39 +000012noinst_SCRIPTS = filter_leak_check_size filter_stderr
13
14EXTRA_DIST = \
15 $(noinst_SCRIPTS) \
16 badaddrvalue.stderr.exp badaddrvalue.stderr.exp.hd \
17 badaddrvalue.stdout.exp badaddrvalue.vgtest \
18 badfree-2trace.stderr.exp badfree-2trace.vgtest \
19 badfree.stderr.exp badfree.vgtest \
20 badjump.stderr.exp badjump.vgtest \
21 badloop.stderr.exp badloop.vgtest \
22 buflen_check.stderr.exp buflen_check.stderr.exp.hd buflen_check.vgtest \
njn4d5490d2002-10-04 14:16:38 +000023 clientperm.stderr.exp clientperm.stderr.exp.hd \
24 clientperm.stdout.exp clientperm.vgtest \
25 clientstackperm.stderr.exp clientstackperm.stderr.exp.hd \
26 clientstackperm.stdout.exp clientstackperm.vgtest \
njn254d542432002-09-23 16:09:39 +000027 doublefree.stderr.exp doublefree.vgtest \
28 errs1.stderr.exp errs1.vgtest \
29 exitprog.stderr.exp exitprog.vgtest \
30 fprw.stderr.exp fprw.vgtest \
31 fwrite.stderr.exp fwrite.stdout.exp fwrite.vgtest \
32 inits.stderr.exp inits.vgtest \
33 inline.stderr.exp inline.stdout.exp inline.vgtest \
34 malloc1.stderr.exp malloc1.vgtest \
35 malloc2.stderr.exp malloc2.vgtest \
36 manuel1.stderr.exp manuel1.stdout.exp manuel1.vgtest \
37 manuel2.stderr.exp manuel2.stdout.exp manuel2.vgtest \
38 manuel3.stderr.exp manuel3.vgtest \
39 memalign_test.stderr.exp memalign_test.vgtest \
40 memcmptest.stderr.exp memcmptest.stdout.exp memcmptest.vgtest \
41 mismatches.stderr.exp mismatches.vgtest \
42 mmaptest.stderr.exp mmaptest.vgtest \
43 nanoleak.stderr.exp nanoleak.vgtest \
44 new_override.stderr.exp new_override.vgtest \
45 pushfpopf.stderr.exp pushfpopf.stdout.exp pushfpopf.vgtest \
46 realloc1.stderr.exp realloc1.vgtest \
47 realloc2.stderr.exp realloc2.vgtest \
48 sigaltstack.stderr.exp sigaltstack.vgtest \
49 signal2.stderr.exp signal2.stderr.exp.hd \
50 signal2.stdout.exp signal2.vgtest \
51 supp1.stderr.exp supp1.vgtest \
52 supp2.stderr.exp supp2.vgtest \
53 supp.supp \
54 suppfree.stderr.exp suppfree.vgtest \
55 trivialleak.stderr.exp trivialleak.vgtest \
56 tronical.stderr.exp tronical.vgtest \
57 weirdioctl.stderr.exp weirdioctl.stdout.exp weirdioctl.vgtest
58
njn25e49d8e72002-09-23 09:36:25 +000059noinst_PROGRAMS = \
njn4d5490d2002-10-04 14:16:38 +000060 badaddrvalue badfree badjump badloop buflen_check clientperm \
61 clientstackperm \
njn25e49d8e72002-09-23 09:36:25 +000062 doublefree errs1 exitprog fprw fwrite inits inline \
63 malloc1 malloc2 manuel1 manuel2 manuel3 \
64 memalign_test memcmptest mmaptest nanoleak pushfpopf \
65 realloc1 realloc2 sigaltstack signal2 supp1 supp2 suppfree \
66 trivialleak tronical weirdioctl \
67 mismatches new_override
68
njn4d5490d2002-10-04 14:16:38 +000069CFLAGS = $(WERROR) -Winline -Wall -Wshadow -g
njn25e49d8e72002-09-23 09:36:25 +000070CXXFLAGS = $(CFLAGS)
njn4d5490d2002-10-04 14:16:38 +000071INCLUDES = -I$(top_srcdir)/include
njn25e49d8e72002-09-23 09:36:25 +000072
73# C ones
74badaddrvalue_SOURCES = badaddrvalue.c
75badfree_SOURCES = badfree.c
76badjump_SOURCES = badjump.c
77badloop_SOURCES = badloop.c
78buflen_check_SOURCES = buflen_check.c
njn4d5490d2002-10-04 14:16:38 +000079clientperm_SOURCES = clientperm.c
80clientstackperm_SOURCES = clientstackperm.c
njn25e49d8e72002-09-23 09:36:25 +000081doublefree_SOURCES = doublefree.c
82errs1_SOURCES = errs1.c
83exitprog_SOURCES = exitprog.c
84fprw_SOURCES = fprw.c
85fwrite_SOURCES = fwrite.c
86inits_SOURCES = inits.c
87inline_SOURCES = inline.c
88malloc1_SOURCES = malloc1.c
89malloc2_SOURCES = malloc2.c
90manuel1_SOURCES = manuel1.c
91manuel2_SOURCES = manuel2.c
92manuel3_SOURCES = manuel3.c
93mmaptest_SOURCES = mmaptest.c
94memalign_test_SOURCES = memalign_test.c
95memcmptest_SOURCES = memcmptest.c
96nanoleak_SOURCES = nanoleak.c
97pushfpopf_SOURCES = pushfpopf_c.c pushfpopf_s.s
98realloc1_SOURCES = realloc1.c
99realloc2_SOURCES = realloc2.c
100signal2_SOURCES = signal2.c
101supp1_SOURCES = supp.c
102supp2_SOURCES = supp.c
103suppfree_SOURCES = suppfree.c
104sigaltstack_SOURCES = sigaltstack.c
105trivialleak_SOURCES = trivialleak.c
106tronical_SOURCES = tronical.S
107weirdioctl_SOURCES = weirdioctl.c
108
109# C++ ones
110mismatches_SOURCES = mismatches.cpp
111new_override_SOURCES = new_override.cpp
112