njn | a5f1bcd | 2004-11-27 16:47:42 +0000 | [diff] [blame] | 1 | SUBDIRS = ${VG_ARCH} . |
| 2 | DIST_SUBDIRS = ${VG_ARCH_ALL} . |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 3 | |
njn | d0eab5f | 2003-09-30 16:52:47 +0000 | [diff] [blame] | 4 | noinst_SCRIPTS = filter_allocs filter_leak_check_size \ |
nethercote | 4a02e1e | 2004-10-20 11:43:01 +0000 | [diff] [blame] | 5 | filter_stderr filter_stderr_backtrace |
daywalker | 677e061 | 2003-04-24 00:40:38 +0000 | [diff] [blame] | 6 | |
nethercote | 75a8c98 | 2004-11-11 19:03:34 +0000 | [diff] [blame] | 7 | noinst_HEADERS = scalar.h |
| 8 | |
njn | a63e2d7 | 2003-06-12 14:13:05 +0000 | [diff] [blame] | 9 | EXTRA_DIST = $(noinst_SCRIPTS) \ |
sewardj | b5f6f51 | 2005-03-10 23:59:00 +0000 | [diff] [blame] | 10 | addressable.stderr.exp addressable.stdout.exp addressable.vgtest \ |
njn | d8ced86 | 2003-04-08 00:47:05 +0000 | [diff] [blame] | 11 | badaddrvalue.stderr.exp \ |
njn25 | 4d54243 | 2002-09-23 16:09:39 +0000 | [diff] [blame] | 12 | badaddrvalue.stdout.exp badaddrvalue.vgtest \ |
| 13 | badfree-2trace.stderr.exp badfree-2trace.vgtest \ |
| 14 | badfree.stderr.exp badfree.vgtest \ |
| 15 | badjump.stderr.exp badjump.vgtest \ |
nethercote | 4d71438 | 2004-10-13 09:47:24 +0000 | [diff] [blame] | 16 | badjump2.stderr.exp badjump2.vgtest \ |
njn25 | 4d54243 | 2002-09-23 16:09:39 +0000 | [diff] [blame] | 17 | badloop.stderr.exp badloop.vgtest \ |
nethercote | eb0592d | 2004-11-05 12:02:27 +0000 | [diff] [blame] | 18 | badpoll.stderr.exp badpoll.vgtest \ |
njn | c2699f6 | 2003-09-05 23:29:33 +0000 | [diff] [blame] | 19 | badrw.stderr.exp badrw.vgtest \ |
njn | 7360f8e | 2003-09-04 20:57:51 +0000 | [diff] [blame] | 20 | brk.stderr.exp brk.vgtest \ |
nethercote | ce47126 | 2004-08-25 13:43:44 +0000 | [diff] [blame] | 21 | brk2.stderr.exp brk2.vgtest \ |
njn | d8ced86 | 2003-04-08 00:47:05 +0000 | [diff] [blame] | 22 | buflen_check.stderr.exp buflen_check.vgtest \ |
| 23 | clientperm.stderr.exp \ |
njn | 4d5490d | 2002-10-04 14:16:38 +0000 | [diff] [blame] | 24 | clientperm.stdout.exp clientperm.vgtest \ |
njn | 1078545 | 2003-05-20 16:38:24 +0000 | [diff] [blame] | 25 | custom_alloc.stderr.exp custom_alloc.vgtest \ |
sewardj | b5f6f51 | 2005-03-10 23:59:00 +0000 | [diff] [blame] | 26 | describe-block.stderr.exp describe-block.vgtest \ |
njn25 | 4d54243 | 2002-09-23 16:09:39 +0000 | [diff] [blame] | 27 | doublefree.stderr.exp doublefree.vgtest \ |
njn | 1140b24 | 2003-04-22 20:58:02 +0000 | [diff] [blame] | 28 | error_counts.stderr.exp error_counts.stdout.exp error_counts.vgtest \ |
njn25 | 4d54243 | 2002-09-23 16:09:39 +0000 | [diff] [blame] | 29 | errs1.stderr.exp errs1.vgtest \ |
| 30 | exitprog.stderr.exp exitprog.vgtest \ |
nethercote | a81e916 | 2004-02-12 14:34:14 +0000 | [diff] [blame] | 31 | execve.stderr.exp execve.vgtest \ |
nethercote | f6a1d50 | 2004-08-09 12:21:57 +0000 | [diff] [blame] | 32 | execve2.stderr.exp execve2.vgtest \ |
njn25 | 4d54243 | 2002-09-23 16:09:39 +0000 | [diff] [blame] | 33 | fprw.stderr.exp fprw.vgtest \ |
| 34 | fwrite.stderr.exp fwrite.stdout.exp fwrite.vgtest \ |
| 35 | inits.stderr.exp inits.vgtest \ |
| 36 | inline.stderr.exp inline.stdout.exp inline.vgtest \ |
sewardj | b5f6f51 | 2005-03-10 23:59:00 +0000 | [diff] [blame] | 37 | leak-0.vgtest leak-0.stderr.exp \ |
| 38 | leak-cycle.vgtest leak-cycle.stderr.exp \ |
| 39 | leak-tree.vgtest leak-tree.stderr.exp \ |
| 40 | leak-regroot.vgtest leak-regroot.stderr.exp \ |
| 41 | leakotron.vgtest leakotron.stdout.exp leakotron.stderr.exp \ |
njn25 | 4d54243 | 2002-09-23 16:09:39 +0000 | [diff] [blame] | 42 | malloc1.stderr.exp malloc1.vgtest \ |
| 43 | malloc2.stderr.exp malloc2.vgtest \ |
njn | 3e88418 | 2003-04-15 13:03:23 +0000 | [diff] [blame] | 44 | malloc3.stderr.exp malloc3.stdout.exp malloc3.vgtest \ |
njn25 | 4d54243 | 2002-09-23 16:09:39 +0000 | [diff] [blame] | 45 | manuel1.stderr.exp manuel1.stdout.exp manuel1.vgtest \ |
| 46 | manuel2.stderr.exp manuel2.stdout.exp manuel2.vgtest \ |
| 47 | manuel3.stderr.exp manuel3.vgtest \ |
njn | 499eaad | 2005-03-11 05:05:50 +0000 | [diff] [blame] | 48 | match-overrun.stderr.exp match-overrun.vgtest match-overrun.supp \ |
njn25 | 4d54243 | 2002-09-23 16:09:39 +0000 | [diff] [blame] | 49 | memalign_test.stderr.exp memalign_test.vgtest \ |
nethercote | 2d5b816 | 2004-08-11 09:40:52 +0000 | [diff] [blame] | 50 | memalign2.stderr.exp memalign2.vgtest \ |
njn25 | 4d54243 | 2002-09-23 16:09:39 +0000 | [diff] [blame] | 51 | memcmptest.stderr.exp memcmptest.stdout.exp memcmptest.vgtest \ |
rjwalsh | bc0bb83 | 2004-06-19 18:12:36 +0000 | [diff] [blame] | 52 | mempool.stderr.exp mempool.vgtest \ |
njn25 | 4d54243 | 2002-09-23 16:09:39 +0000 | [diff] [blame] | 53 | mismatches.stderr.exp mismatches.vgtest \ |
| 54 | mmaptest.stderr.exp mmaptest.vgtest \ |
| 55 | nanoleak.stderr.exp nanoleak.vgtest \ |
njn | 3e88418 | 2003-04-15 13:03:23 +0000 | [diff] [blame] | 56 | nanoleak_supp.stderr.exp nanoleak_supp.vgtest nanoleak.supp \ |
njn | 32a17d1 | 2003-10-10 11:01:44 +0000 | [diff] [blame] | 57 | new_nothrow.stderr.exp new_nothrow.vgtest \ |
nethercote | ea169c0 | 2004-07-18 12:05:37 +0000 | [diff] [blame] | 58 | new_override.stderr.exp new_override.stdout.exp new_override.vgtest \ |
njn | 0c5fac8 | 2003-05-02 16:19:10 +0000 | [diff] [blame] | 59 | null_socket.stderr.exp null_socket.vgtest \ |
sewardj | ea5cf54 | 2003-07-16 19:03:10 +0000 | [diff] [blame] | 60 | overlap.stderr.exp overlap.stdout.exp overlap.vgtest \ |
sewardj | b5f6f51 | 2005-03-10 23:59:00 +0000 | [diff] [blame] | 61 | pointer-trace.vgtest pointer-trace.stdout.exp pointer-trace.stderr.exp \ |
| 62 | post-syscall.stderr.exp post-syscall.stdout.exp post-syscall.vgtest \ |
njn25 | 4d54243 | 2002-09-23 16:09:39 +0000 | [diff] [blame] | 63 | realloc1.stderr.exp realloc1.vgtest \ |
| 64 | realloc2.stderr.exp realloc2.vgtest \ |
njn | 398044f | 2003-07-24 17:39:59 +0000 | [diff] [blame] | 65 | realloc3.stderr.exp realloc3.vgtest \ |
nethercote | 9b9b74b | 2004-11-15 16:11:20 +0000 | [diff] [blame] | 66 | scalar.stderr.exp scalar.vgtest \ |
nethercote | 75a8c98 | 2004-11-11 19:03:34 +0000 | [diff] [blame] | 67 | scalar_fork.stderr.exp scalar_fork.vgtest \ |
nethercote | 9b9b74b | 2004-11-15 16:11:20 +0000 | [diff] [blame] | 68 | scalar_exit_group.stderr.exp scalar_exit_group.vgtest \ |
nethercote | 8b305af | 2004-11-14 17:58:27 +0000 | [diff] [blame] | 69 | scalar_supp.stderr.exp scalar_supp.vgtest scalar_supp.supp \ |
nethercote | 2b0cae6 | 2004-11-12 14:57:34 +0000 | [diff] [blame] | 70 | scalar_vfork.stderr.exp scalar_vfork.vgtest \ |
njn25 | 4d54243 | 2002-09-23 16:09:39 +0000 | [diff] [blame] | 71 | sigaltstack.stderr.exp sigaltstack.vgtest \ |
nethercote | 7fbe08a | 2004-11-15 19:03:27 +0000 | [diff] [blame] | 72 | signal2.stderr.exp signal2.stdout.exp signal2.vgtest \ |
| 73 | sigprocmask.stderr.exp sigprocmask.vgtest \ |
nethercote | d91ea07 | 2004-11-07 10:58:19 +0000 | [diff] [blame] | 74 | str_tester.stderr.exp str_tester.vgtest \ |
njn25 | 4d54243 | 2002-09-23 16:09:39 +0000 | [diff] [blame] | 75 | supp1.stderr.exp supp1.vgtest \ |
| 76 | supp2.stderr.exp supp2.vgtest \ |
| 77 | supp.supp \ |
| 78 | suppfree.stderr.exp suppfree.vgtest \ |
nethercote | 57e36b3 | 2004-07-10 14:56:28 +0000 | [diff] [blame] | 79 | toobig-allocs.stderr.exp toobig-allocs.vgtest \ |
njn25 | 4d54243 | 2002-09-23 16:09:39 +0000 | [diff] [blame] | 80 | trivialleak.stderr.exp trivialleak.vgtest \ |
sewardj | 51a9fe1 | 2003-07-07 00:03:52 +0000 | [diff] [blame] | 81 | weirdioctl.stderr.exp weirdioctl.stdout.exp weirdioctl.vgtest \ |
sewardj | 58bef2e | 2003-07-13 11:13:37 +0000 | [diff] [blame] | 82 | metadata.stderr.exp metadata.stdout.exp metadata.vgtest \ |
njn | aca67c5 | 2003-09-04 21:57:45 +0000 | [diff] [blame] | 83 | threadederrno.stderr.exp threadederrno.stdout.exp \ |
| 84 | threadederrno.vgtest \ |
nethercote | e65e47b | 2004-10-14 08:38:06 +0000 | [diff] [blame] | 85 | vgtest_ume.stderr.exp vgtest_ume.vgtest \ |
sewardj | ce7ec7d | 2005-03-16 13:10:44 +0000 | [diff] [blame^] | 86 | writev.stderr.exp writev.stderr.exp2 writev.stderr.exp3 writev.vgtest \ |
thughes | d41cd6c | 2004-10-13 16:48:21 +0000 | [diff] [blame] | 87 | zeropage.stderr.exp zeropage.stderr.exp2 zeropage.vgtest |
njn25 | 4d54243 | 2002-09-23 16:09:39 +0000 | [diff] [blame] | 88 | |
daywalker | c42d8bc | 2003-04-17 17:00:43 +0000 | [diff] [blame] | 89 | check_PROGRAMS = \ |
sewardj | b5f6f51 | 2005-03-10 23:59:00 +0000 | [diff] [blame] | 90 | addressable \ |
nethercote | 4d71438 | 2004-10-13 09:47:24 +0000 | [diff] [blame] | 91 | badaddrvalue badfree badjump badjump2 \ |
nethercote | eb0592d | 2004-11-05 12:02:27 +0000 | [diff] [blame] | 92 | badloop badpoll badrw brk brk2 buflen_check \ |
njn | 7360f8e | 2003-09-04 20:57:51 +0000 | [diff] [blame] | 93 | clientperm custom_alloc \ |
sewardj | b5f6f51 | 2005-03-10 23:59:00 +0000 | [diff] [blame] | 94 | describe-block \ |
nethercote | f6a1d50 | 2004-08-09 12:21:57 +0000 | [diff] [blame] | 95 | doublefree error_counts errs1 exitprog execve execve2 \ |
nethercote | 4a02e1e | 2004-10-20 11:43:01 +0000 | [diff] [blame] | 96 | fprw fwrite hello inits inline \ |
sewardj | b5f6f51 | 2005-03-10 23:59:00 +0000 | [diff] [blame] | 97 | leak-0 leak-cycle leak-tree leak-regroot leakotron \ |
njn | 3e88418 | 2003-04-15 13:03:23 +0000 | [diff] [blame] | 98 | malloc1 malloc2 malloc3 manuel1 manuel2 manuel3 \ |
njn | 499eaad | 2005-03-11 05:05:50 +0000 | [diff] [blame] | 99 | match-overrun \ |
nethercote | 2d5b816 | 2004-08-11 09:40:52 +0000 | [diff] [blame] | 100 | memalign_test memalign2 memcmptest mempool mmaptest \ |
| 101 | nanoleak new_nothrow \ |
nethercote | 4a02e1e | 2004-10-20 11:43:01 +0000 | [diff] [blame] | 102 | null_socket overlap \ |
sewardj | b5f6f51 | 2005-03-10 23:59:00 +0000 | [diff] [blame] | 103 | pointer-trace \ |
| 104 | post-syscall \ |
nethercote | 8b305af | 2004-11-14 17:58:27 +0000 | [diff] [blame] | 105 | realloc1 realloc2 realloc3 \ |
nethercote | 9b9b74b | 2004-11-15 16:11:20 +0000 | [diff] [blame] | 106 | scalar scalar_exit_group scalar_fork scalar_supp scalar_vfork \ |
nethercote | 7fbe08a | 2004-11-15 19:03:27 +0000 | [diff] [blame] | 107 | sigaltstack signal2 sigprocmask \ |
nethercote | d91ea07 | 2004-11-07 10:58:19 +0000 | [diff] [blame] | 108 | str_tester supp1 supp2 suppfree \ |
nethercote | 4a02e1e | 2004-10-20 11:43:01 +0000 | [diff] [blame] | 109 | trivialleak weirdioctl \ |
nethercote | e65e47b | 2004-10-14 08:38:06 +0000 | [diff] [blame] | 110 | mismatches new_override metadata threadederrno \ |
| 111 | vgtest_ume \ |
| 112 | writev zeropage |
| 113 | |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 114 | |
sewardj | b5f6f51 | 2005-03-10 23:59:00 +0000 | [diff] [blame] | 115 | AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include -I$(top_builddir)/include -I@VEX_DIR@/pub |
daywalker | c42d8bc | 2003-04-17 17:00:43 +0000 | [diff] [blame] | 116 | AM_CFLAGS = $(WERROR) -Winline -Wall -Wshadow -g |
| 117 | AM_CXXFLAGS = $(AM_CFLAGS) |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 118 | |
| 119 | # C ones |
sewardj | b5f6f51 | 2005-03-10 23:59:00 +0000 | [diff] [blame] | 120 | addressable_SOURCES = addressable.c |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 121 | badaddrvalue_SOURCES = badaddrvalue.c |
| 122 | badfree_SOURCES = badfree.c |
| 123 | badjump_SOURCES = badjump.c |
nethercote | 4d71438 | 2004-10-13 09:47:24 +0000 | [diff] [blame] | 124 | badjump2_SOURCES = badjump2.c |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 125 | badloop_SOURCES = badloop.c |
nethercote | eb0592d | 2004-11-05 12:02:27 +0000 | [diff] [blame] | 126 | badpoll_SOURCES = badpoll.c |
njn | c2699f6 | 2003-09-05 23:29:33 +0000 | [diff] [blame] | 127 | badrw_SOURCES = badrw.c |
njn | 7360f8e | 2003-09-04 20:57:51 +0000 | [diff] [blame] | 128 | brk_SOURCES = brk.c |
nethercote | ce47126 | 2004-08-25 13:43:44 +0000 | [diff] [blame] | 129 | brk2_SOURCES = brk2.c |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 130 | buflen_check_SOURCES = buflen_check.c |
njn | 4d5490d | 2002-10-04 14:16:38 +0000 | [diff] [blame] | 131 | clientperm_SOURCES = clientperm.c |
njn | 1078545 | 2003-05-20 16:38:24 +0000 | [diff] [blame] | 132 | custom_alloc_SOURCES = custom_alloc.c |
sewardj | b5f6f51 | 2005-03-10 23:59:00 +0000 | [diff] [blame] | 133 | describe_block_SOURCES = describe-block.c |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 134 | doublefree_SOURCES = doublefree.c |
njn | 47363ab | 2003-04-21 13:24:40 +0000 | [diff] [blame] | 135 | error_counts_SOURCES = error_counts.c |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 136 | errs1_SOURCES = errs1.c |
nethercote | a81e916 | 2004-02-12 14:34:14 +0000 | [diff] [blame] | 137 | execve_SOURCES = execve.c |
nethercote | f6a1d50 | 2004-08-09 12:21:57 +0000 | [diff] [blame] | 138 | execve2_SOURCES = execve2.c |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 139 | exitprog_SOURCES = exitprog.c |
| 140 | fprw_SOURCES = fprw.c |
| 141 | fwrite_SOURCES = fwrite.c |
| 142 | inits_SOURCES = inits.c |
| 143 | inline_SOURCES = inline.c |
sewardj | b5f6f51 | 2005-03-10 23:59:00 +0000 | [diff] [blame] | 144 | leak_0_SOURCES = leak-0.c |
| 145 | leak_cycle_SOURCES = leak-cycle.c |
| 146 | leak_tree_SOURCES = leak-tree.c |
| 147 | leak_regroot_SOURCES = leak-regroot.c |
| 148 | leakotron_SOURCES = leakotron.c |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 149 | malloc1_SOURCES = malloc1.c |
| 150 | malloc2_SOURCES = malloc2.c |
njn | 3e88418 | 2003-04-15 13:03:23 +0000 | [diff] [blame] | 151 | malloc3_SOURCES = malloc3.c |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 152 | manuel1_SOURCES = manuel1.c |
| 153 | manuel2_SOURCES = manuel2.c |
| 154 | manuel3_SOURCES = manuel3.c |
njn | 499eaad | 2005-03-11 05:05:50 +0000 | [diff] [blame] | 155 | match_overrun_SOURCES = match-overrun.c |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 156 | mmaptest_SOURCES = mmaptest.c |
| 157 | memalign_test_SOURCES = memalign_test.c |
nethercote | 2d5b816 | 2004-08-11 09:40:52 +0000 | [diff] [blame] | 158 | memalign2_SOURCES = memalign2.c |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 159 | memcmptest_SOURCES = memcmptest.c |
njn | 036a491 | 2005-03-16 02:49:11 +0000 | [diff] [blame] | 160 | memcmptest_CFLAGS = $(AM_CFLAGS) -fno-builtin-memcmp |
rjwalsh | bc0bb83 | 2004-06-19 18:12:36 +0000 | [diff] [blame] | 161 | mempool_SOURCES = mempool.c |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 162 | nanoleak_SOURCES = nanoleak.c |
njn | 0c5fac8 | 2003-05-02 16:19:10 +0000 | [diff] [blame] | 163 | null_socket_SOURCES = null_socket.c |
njn | 3e88418 | 2003-04-15 13:03:23 +0000 | [diff] [blame] | 164 | overlap_SOURCES = overlap.c |
njn | 036a491 | 2005-03-16 02:49:11 +0000 | [diff] [blame] | 165 | # Don't allow GCC to inline memcpy(), because then we can't intercept it |
| 166 | overlap_CFLAGS = $(AM_CFLAGS) -fno-builtin-memcpy |
sewardj | b5f6f51 | 2005-03-10 23:59:00 +0000 | [diff] [blame] | 167 | pointer_trace_SOURCES = pointer-trace.c |
| 168 | post_syscall_SOURCES = post-syscall.c |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 169 | realloc1_SOURCES = realloc1.c |
| 170 | realloc2_SOURCES = realloc2.c |
njn | 398044f | 2003-07-24 17:39:59 +0000 | [diff] [blame] | 171 | realloc3_SOURCES = realloc3.c |
nethercote | 8b76fe5 | 2004-11-08 19:20:09 +0000 | [diff] [blame] | 172 | scalar_SOURCES = scalar.c |
nethercote | 9b9b74b | 2004-11-15 16:11:20 +0000 | [diff] [blame] | 173 | scalar_exit_group_SOURCES = scalar_exit_group.c |
nethercote | 75a8c98 | 2004-11-11 19:03:34 +0000 | [diff] [blame] | 174 | scalar_fork_SOURCES = scalar_fork.c |
nethercote | e824cc4 | 2004-11-09 16:20:46 +0000 | [diff] [blame] | 175 | scalar_supp_SOURCES = scalar_supp.c |
nethercote | 2b0cae6 | 2004-11-12 14:57:34 +0000 | [diff] [blame] | 176 | scalar_vfork_SOURCES = scalar_vfork.c |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 177 | signal2_SOURCES = signal2.c |
nethercote | 7fbe08a | 2004-11-15 19:03:27 +0000 | [diff] [blame] | 178 | sigprocmask_SOURCES = sigprocmask.c |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 179 | supp1_SOURCES = supp.c |
| 180 | supp2_SOURCES = supp.c |
| 181 | suppfree_SOURCES = suppfree.c |
| 182 | sigaltstack_SOURCES = sigaltstack.c |
| 183 | trivialleak_SOURCES = trivialleak.c |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 184 | weirdioctl_SOURCES = weirdioctl.c |
sewardj | 51a9fe1 | 2003-07-07 00:03:52 +0000 | [diff] [blame] | 185 | metadata_SOURCES = metadata.c |
nethercote | d91ea07 | 2004-11-07 10:58:19 +0000 | [diff] [blame] | 186 | str_tester_SOURCES = str_tester.c |
| 187 | str_tester_CFLAGS = $(AM_CFLAGS) -Wno-shadow |
sewardj | 58bef2e | 2003-07-13 11:13:37 +0000 | [diff] [blame] | 188 | threadederrno_SOURCES = threadederrno.c |
| 189 | threadederrno_LDADD = -lpthread |
njn | aca67c5 | 2003-09-04 21:57:45 +0000 | [diff] [blame] | 190 | writev_SOURCES = writev.c |
nethercote | db23332 | 2003-12-02 14:56:04 +0000 | [diff] [blame] | 191 | zeropage_SOURCES = zeropage.c |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 192 | |
| 193 | # C++ ones |
| 194 | mismatches_SOURCES = mismatches.cpp |
njn | 32a17d1 | 2003-10-10 11:01:44 +0000 | [diff] [blame] | 195 | new_nothrow_SOURCES = new_nothrow.cpp |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 196 | new_override_SOURCES = new_override.cpp |
| 197 | |
nethercote | e65e47b | 2004-10-14 08:38:06 +0000 | [diff] [blame] | 198 | # Valgrind unit self-tests |
| 199 | hello_SOURCES = hello.c |
nethercote | 3f131f1 | 2004-10-27 12:05:59 +0000 | [diff] [blame] | 200 | ## If we support PIE, build hello as a PIE, otherwise vgtest_ume cannot load |
| 201 | ## (I'm not completely sure why, since stage2 can load both PIEs and non-PIEs, |
| 202 | ## maybe it's because stage2 is loaded up high; anyway, it doesn't really |
| 203 | ## matter so long as vgtest_ume can load hello ok. --njn) |
| 204 | if USE_PIE |
| 205 | hello_CFLAGS = $(AM_CFLAGS) -fpie |
| 206 | hello_LDFLAGS = -pie |
| 207 | else |
nethercote | e65e47b | 2004-10-14 08:38:06 +0000 | [diff] [blame] | 208 | hello_LDFLAGS = -Wl,-defsym,kickstart_base=0x50000000 \ |
| 209 | -Wl,-T,../../coregrind/${VG_ARCH}/stage2.lds |
nethercote | 3f131f1 | 2004-10-27 12:05:59 +0000 | [diff] [blame] | 210 | hello_DEPENDENCIES = ../../coregrind/${VG_ARCH}/stage2.lds |
| 211 | endif |
| 212 | |
nethercote | 543a63f | 2004-10-14 09:28:11 +0000 | [diff] [blame] | 213 | vgtest_ume_SOURCES = vgtest_ume.c |
nethercote | e65e47b | 2004-10-14 08:38:06 +0000 | [diff] [blame] | 214 | vgtest_ume_LDADD = ../../coregrind/ume.o \ |
nethercote | e65e47b | 2004-10-14 08:38:06 +0000 | [diff] [blame] | 215 | ../../coregrind/jmp_with_stack.o |
| 216 | |