sewardj | 0126214 | 2006-01-04 01:20:28 +0000 | [diff] [blame] | 1 | |
| 2 | # For AM_FLAG_M3264_PRI |
| 3 | include $(top_srcdir)/Makefile.flags.am |
| 4 | |
tom | ef56732 | 2005-11-11 14:33:43 +0000 | [diff] [blame] | 5 | SUBDIRS = . |
| 6 | if VG_X86_LINUX |
| 7 | SUBDIRS += x86 |
| 8 | endif |
| 9 | if VG_AMD64_LINUX |
| 10 | SUBDIRS += amd64 |
| 11 | endif |
| 12 | if VG_PPC32_LINUX |
| 13 | SUBDIRS += ppc32 |
| 14 | endif |
sewardj | 2c48c7b | 2005-11-29 13:05:56 +0000 | [diff] [blame] | 15 | if VG_PPC64_LINUX |
| 16 | SUBDIRS += ppc64 |
| 17 | endif |
tom | ef56732 | 2005-11-11 14:33:43 +0000 | [diff] [blame] | 18 | |
njn | a5f1bcd | 2004-11-27 16:47:42 +0000 | [diff] [blame] | 19 | DIST_SUBDIRS = ${VG_ARCH_ALL} . |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 20 | |
njn | d0eab5f | 2003-09-30 16:52:47 +0000 | [diff] [blame] | 21 | noinst_SCRIPTS = filter_allocs filter_leak_check_size \ |
sewardj | ebf67cc | 2005-05-24 14:46:02 +0000 | [diff] [blame] | 22 | filter_stderr filter_stderr_backtrace filter_xml |
daywalker | 677e061 | 2003-04-24 00:40:38 +0000 | [diff] [blame] | 23 | |
njn | a63e2d7 | 2003-06-12 14:13:05 +0000 | [diff] [blame] | 24 | EXTRA_DIST = $(noinst_SCRIPTS) \ |
sewardj | b5f6f51 | 2005-03-10 23:59:00 +0000 | [diff] [blame] | 25 | addressable.stderr.exp addressable.stdout.exp addressable.vgtest \ |
njn | d8ced86 | 2003-04-08 00:47:05 +0000 | [diff] [blame] | 26 | badaddrvalue.stderr.exp \ |
njn25 | 4d54243 | 2002-09-23 16:09:39 +0000 | [diff] [blame] | 27 | badaddrvalue.stdout.exp badaddrvalue.vgtest \ |
| 28 | badfree-2trace.stderr.exp badfree-2trace.vgtest \ |
| 29 | badfree.stderr.exp badfree.vgtest \ |
| 30 | badjump.stderr.exp badjump.vgtest \ |
nethercote | 4d71438 | 2004-10-13 09:47:24 +0000 | [diff] [blame] | 31 | badjump2.stderr.exp badjump2.vgtest \ |
njn25 | 4d54243 | 2002-09-23 16:09:39 +0000 | [diff] [blame] | 32 | badloop.stderr.exp badloop.vgtest \ |
nethercote | eb0592d | 2004-11-05 12:02:27 +0000 | [diff] [blame] | 33 | badpoll.stderr.exp badpoll.vgtest \ |
njn | c2699f6 | 2003-09-05 23:29:33 +0000 | [diff] [blame] | 34 | badrw.stderr.exp badrw.vgtest \ |
njn | 7360f8e | 2003-09-04 20:57:51 +0000 | [diff] [blame] | 35 | brk.stderr.exp brk.vgtest \ |
nethercote | ce47126 | 2004-08-25 13:43:44 +0000 | [diff] [blame] | 36 | brk2.stderr.exp brk2.vgtest \ |
sewardj | f0814a0 | 2005-05-04 12:27:48 +0000 | [diff] [blame] | 37 | buflen_check.stderr.exp buflen_check.stderr.exp2 buflen_check.vgtest \ |
njn | d8ced86 | 2003-04-08 00:47:05 +0000 | [diff] [blame] | 38 | clientperm.stderr.exp \ |
njn | 4d5490d | 2002-10-04 14:16:38 +0000 | [diff] [blame] | 39 | clientperm.stdout.exp clientperm.vgtest \ |
njn | 1078545 | 2003-05-20 16:38:24 +0000 | [diff] [blame] | 40 | custom_alloc.stderr.exp custom_alloc.vgtest \ |
sewardj | fc3b5ba | 2006-04-04 17:35:48 +0000 | [diff] [blame] | 41 | deep_templates.vgtest \ |
| 42 | deep_templates.stdout.exp deep_templates.stderr.exp \ |
sewardj | b5f6f51 | 2005-03-10 23:59:00 +0000 | [diff] [blame] | 43 | describe-block.stderr.exp describe-block.vgtest \ |
njn25 | 4d54243 | 2002-09-23 16:09:39 +0000 | [diff] [blame] | 44 | doublefree.stderr.exp doublefree.vgtest \ |
njn | 0087c50 | 2005-07-01 04:15:36 +0000 | [diff] [blame] | 45 | erringfds.stderr.exp erringfds.stdout.exp erringfds.vgtest \ |
njn | 1140b24 | 2003-04-22 20:58:02 +0000 | [diff] [blame] | 46 | error_counts.stderr.exp error_counts.stdout.exp error_counts.vgtest \ |
njn25 | 4d54243 | 2002-09-23 16:09:39 +0000 | [diff] [blame] | 47 | errs1.stderr.exp errs1.vgtest \ |
| 48 | exitprog.stderr.exp exitprog.vgtest \ |
sewardj | 7aaa59e | 2005-05-31 19:49:28 +0000 | [diff] [blame] | 49 | execve.stderr.exp execve.stderr.exp2 execve.vgtest \ |
| 50 | execve2.stderr.exp execve2.stderr.exp2 execve2.vgtest \ |
njn25 | 4d54243 | 2002-09-23 16:09:39 +0000 | [diff] [blame] | 51 | fprw.stderr.exp fprw.vgtest \ |
sewardj | 45a6abb | 2005-11-08 01:24:23 +0000 | [diff] [blame] | 52 | fwrite.stderr.exp fwrite.stderr.exp2 fwrite.vgtest \ |
njn25 | 4d54243 | 2002-09-23 16:09:39 +0000 | [diff] [blame] | 53 | inits.stderr.exp inits.vgtest \ |
| 54 | inline.stderr.exp inline.stdout.exp inline.vgtest \ |
sewardj | b5f6f51 | 2005-03-10 23:59:00 +0000 | [diff] [blame] | 55 | leak-0.vgtest leak-0.stderr.exp \ |
sewardj | 1f44386 | 2005-05-05 01:29:11 +0000 | [diff] [blame] | 56 | leak-cycle.vgtest leak-cycle.stderr.exp leak-cycle.stderr.exp64 \ |
sewardj | b8b03e5 | 2005-05-23 14:02:51 +0000 | [diff] [blame] | 57 | leak-tree.vgtest leak-tree.stderr.exp \ |
| 58 | leak-tree.stderr.exp2 leak-tree.stderr.exp64 \ |
sewardj | b5f6f51 | 2005-03-10 23:59:00 +0000 | [diff] [blame] | 59 | leak-regroot.vgtest leak-regroot.stderr.exp \ |
| 60 | leakotron.vgtest leakotron.stdout.exp leakotron.stderr.exp \ |
njn | 2dc09e6 | 2005-08-17 04:03:31 +0000 | [diff] [blame] | 61 | malloc_usable.stderr.exp malloc_usable.vgtest \ |
njn25 | 4d54243 | 2002-09-23 16:09:39 +0000 | [diff] [blame] | 62 | malloc1.stderr.exp malloc1.vgtest \ |
| 63 | malloc2.stderr.exp malloc2.vgtest \ |
njn | 3e88418 | 2003-04-15 13:03:23 +0000 | [diff] [blame] | 64 | malloc3.stderr.exp malloc3.stdout.exp malloc3.vgtest \ |
njn25 | 4d54243 | 2002-09-23 16:09:39 +0000 | [diff] [blame] | 65 | manuel1.stderr.exp manuel1.stdout.exp manuel1.vgtest \ |
sewardj | 1323d1d | 2005-05-05 01:23:50 +0000 | [diff] [blame] | 66 | manuel2.stderr.exp manuel2.stderr.exp64 manuel2.stdout.exp manuel2.vgtest \ |
njn25 | 4d54243 | 2002-09-23 16:09:39 +0000 | [diff] [blame] | 67 | manuel3.stderr.exp manuel3.vgtest \ |
njn | 499eaad | 2005-03-11 05:05:50 +0000 | [diff] [blame] | 68 | match-overrun.stderr.exp match-overrun.vgtest match-overrun.supp \ |
njn25 | 4d54243 | 2002-09-23 16:09:39 +0000 | [diff] [blame] | 69 | memalign_test.stderr.exp memalign_test.vgtest \ |
nethercote | 2d5b816 | 2004-08-11 09:40:52 +0000 | [diff] [blame] | 70 | memalign2.stderr.exp memalign2.vgtest \ |
njn | 16eeb4e | 2005-06-16 03:56:58 +0000 | [diff] [blame] | 71 | memcmptest.stderr.exp memcmptest.stderr.exp2 \ |
| 72 | memcmptest.stdout.exp memcmptest.vgtest \ |
sewardj | 1f44386 | 2005-05-05 01:29:11 +0000 | [diff] [blame] | 73 | mempool.stderr.exp mempool.stderr.exp64 mempool.vgtest \ |
sewardj | 7d32a73 | 2005-05-05 01:32:24 +0000 | [diff] [blame] | 74 | mismatches.stderr.exp mismatches.stderr.exp64 mismatches.vgtest \ |
njn25 | 4d54243 | 2002-09-23 16:09:39 +0000 | [diff] [blame] | 75 | mmaptest.stderr.exp mmaptest.vgtest \ |
| 76 | nanoleak.stderr.exp nanoleak.vgtest \ |
njn | 3e88418 | 2003-04-15 13:03:23 +0000 | [diff] [blame] | 77 | nanoleak_supp.stderr.exp nanoleak_supp.vgtest nanoleak.supp \ |
njn | 32a17d1 | 2003-10-10 11:01:44 +0000 | [diff] [blame] | 78 | new_nothrow.stderr.exp new_nothrow.vgtest \ |
nethercote | ea169c0 | 2004-07-18 12:05:37 +0000 | [diff] [blame] | 79 | new_override.stderr.exp new_override.stdout.exp new_override.vgtest \ |
njn | 0c5fac8 | 2003-05-02 16:19:10 +0000 | [diff] [blame] | 80 | null_socket.stderr.exp null_socket.vgtest \ |
sewardj | ea5cf54 | 2003-07-16 19:03:10 +0000 | [diff] [blame] | 81 | overlap.stderr.exp overlap.stdout.exp overlap.vgtest \ |
njn | 7b880bc | 2005-08-14 22:43:53 +0000 | [diff] [blame] | 82 | oset_test.stderr.exp oset_test.stdout.exp oset_test.vgtest \ |
sewardj | 16031ba | 2005-07-06 19:01:53 +0000 | [diff] [blame] | 83 | partiallydefinedeq.vgtest partiallydefinedeq.stderr.exp \ |
sewardj | 2da8f33 | 2006-01-19 03:57:06 +0000 | [diff] [blame] | 84 | partiallydefinedeq.stderr.exp2 \ |
sewardj | 16031ba | 2005-07-06 19:01:53 +0000 | [diff] [blame] | 85 | partiallydefinedeq.stdout.exp \ |
sewardj | 2fa01f1 | 2005-11-19 01:32:17 +0000 | [diff] [blame] | 86 | partial_load_ok.vgtest partial_load_ok.stderr.exp partial_load_ok.stderr.exp64 \ |
| 87 | partial_load_dflt.vgtest partial_load_dflt.stderr.exp partial_load_dflt.stderr.exp64 \ |
njn | 1d0825f | 2006-03-27 11:37:07 +0000 | [diff] [blame] | 88 | pdb-realloc.stderr.exp pdb-realloc.vgtest \ |
sewardj | e26e42f | 2006-05-03 00:43:20 +0000 | [diff] [blame] | 89 | pdb-realloc2.stderr.exp pdb-realloc2.stdout.exp pdb-realloc2.vgtest \ |
njn | f4ef182 | 2005-09-24 19:42:41 +0000 | [diff] [blame] | 90 | pipe.stderr.exp pipe.vgtest \ |
njn | 3f7e911 | 2005-06-19 05:43:21 +0000 | [diff] [blame] | 91 | pointer-trace.vgtest \ |
sewardj | 1323d1d | 2005-05-05 01:23:50 +0000 | [diff] [blame] | 92 | pointer-trace.stderr.exp pointer-trace.stderr.exp64 \ |
sewardj | b5f6f51 | 2005-03-10 23:59:00 +0000 | [diff] [blame] | 93 | post-syscall.stderr.exp post-syscall.stdout.exp post-syscall.vgtest \ |
njn25 | 4d54243 | 2002-09-23 16:09:39 +0000 | [diff] [blame] | 94 | realloc1.stderr.exp realloc1.vgtest \ |
| 95 | realloc2.stderr.exp realloc2.vgtest \ |
njn | 398044f | 2003-07-24 17:39:59 +0000 | [diff] [blame] | 96 | realloc3.stderr.exp realloc3.vgtest \ |
njn | 1d0825f | 2006-03-27 11:37:07 +0000 | [diff] [blame] | 97 | sh-mem.stderr.exp sh-mem.vgtest \ |
sewardj | e250412 | 2006-04-04 15:43:30 +0000 | [diff] [blame] | 98 | sh-mem-random.stderr.exp sh-mem-random.stdout.exp64 \ |
sewardj | bca134f | 2006-04-02 02:59:35 +0000 | [diff] [blame] | 99 | sh-mem-random.stdout.exp sh-mem-random.vgtest \ |
njn25 | 4d54243 | 2002-09-23 16:09:39 +0000 | [diff] [blame] | 100 | sigaltstack.stderr.exp sigaltstack.vgtest \ |
sewardj | 2fa01f1 | 2005-11-19 01:32:17 +0000 | [diff] [blame] | 101 | sigkill.stderr.exp sigkill.stderr.exp2 sigkill.stderr.exp3 sigkill.vgtest \ |
nethercote | 7fbe08a | 2004-11-15 19:03:27 +0000 | [diff] [blame] | 102 | signal2.stderr.exp signal2.stdout.exp signal2.vgtest \ |
tom | 42d6367 | 2005-11-02 15:46:07 +0000 | [diff] [blame] | 103 | sigprocmask.stderr.exp sigprocmask.stderr.exp2 sigprocmask.vgtest \ |
sewardj | 2da8f33 | 2006-01-19 03:57:06 +0000 | [diff] [blame] | 104 | stack_changes.stderr.exp stack_changes.stdout.exp \ |
| 105 | stack_changes.stdout.exp2 stack_changes.vgtest \ |
tom | 2fb8f7a | 2005-11-11 17:21:20 +0000 | [diff] [blame] | 106 | stack_switch.stderr.exp stack_switch.vgtest \ |
tom | 81afd4b | 2005-11-02 15:17:43 +0000 | [diff] [blame] | 107 | strchr.stderr.exp strchr.stderr.exp2 strchr.vgtest \ |
nethercote | d91ea07 | 2004-11-07 10:58:19 +0000 | [diff] [blame] | 108 | str_tester.stderr.exp str_tester.vgtest \ |
njn | 966d663 | 2005-08-18 15:49:21 +0000 | [diff] [blame] | 109 | supp_unknown.stderr.exp supp_unknown.vgtest supp_unknown.supp \ |
njn25 | 4d54243 | 2002-09-23 16:09:39 +0000 | [diff] [blame] | 110 | supp1.stderr.exp supp1.vgtest \ |
| 111 | supp2.stderr.exp supp2.vgtest \ |
| 112 | supp.supp \ |
| 113 | suppfree.stderr.exp suppfree.vgtest \ |
nethercote | 57e36b3 | 2004-07-10 14:56:28 +0000 | [diff] [blame] | 114 | toobig-allocs.stderr.exp toobig-allocs.vgtest \ |
njn25 | 4d54243 | 2002-09-23 16:09:39 +0000 | [diff] [blame] | 115 | trivialleak.stderr.exp trivialleak.vgtest \ |
sewardj | 1c85d5c | 2006-03-08 13:24:21 +0000 | [diff] [blame] | 116 | metadata.stderr.exp metadata.stdout.exp metadata.vgtest \ |
sewardj | 46712cd | 2006-01-22 16:44:35 +0000 | [diff] [blame] | 117 | vcpu_bz2.stdout.exp vcpu_bz2.stderr.exp vcpu_bz2.vgtest \ |
sewardj | 48e7bc4 | 2006-01-23 03:36:40 +0000 | [diff] [blame] | 118 | vcpu_fbench.stdout.exp vcpu_fbench.stderr.exp vcpu_fbench.vgtest \ |
sewardj | 02fd0d7 | 2006-01-24 00:40:35 +0000 | [diff] [blame] | 119 | vcpu_fnfns.stdout.exp vcpu_fnfns.stderr.exp vcpu_fnfns.vgtest \ |
njn | c0392a8 | 2005-09-27 19:52:02 +0000 | [diff] [blame] | 120 | vgtest_ume.stderr.exp vgtest_ume.disabled \ |
sewardj | 0ec07f3 | 2006-01-12 12:32:32 +0000 | [diff] [blame] | 121 | wrap1.vgtest wrap1.stdout.exp wrap1.stderr.exp \ |
| 122 | wrap2.vgtest wrap2.stdout.exp wrap2.stderr.exp \ |
| 123 | wrap3.vgtest wrap3.stdout.exp wrap3.stderr.exp \ |
| 124 | wrap4.vgtest wrap4.stdout.exp wrap4.stderr.exp \ |
| 125 | wrap5.vgtest wrap5.stdout.exp wrap5.stderr.exp \ |
| 126 | wrap6.vgtest wrap6.stdout.exp wrap6.stderr.exp \ |
sewardj | 134d1aa | 2006-01-20 14:21:28 +0000 | [diff] [blame] | 127 | wrap7.vgtest wrap7.stdout.exp wrap7.stderr.exp \ |
| 128 | wrap8.vgtest wrap8.stdout.exp wrap8.stderr.exp \ |
sewardj | c885844 | 2006-01-20 15:17:20 +0000 | [diff] [blame] | 129 | wrap8.stdout.exp2 wrap8.stderr.exp2 \ |
sewardj | ce7ec7d | 2005-03-16 13:10:44 +0000 | [diff] [blame] | 130 | writev.stderr.exp writev.stderr.exp2 writev.stderr.exp3 writev.vgtest \ |
tom | 81afd4b | 2005-11-02 15:17:43 +0000 | [diff] [blame] | 131 | xml1.stderr.exp xml1.stderr.exp2 xml1.stderr.exp3 \ |
| 132 | xml1.stderr.exp64 xml1.stderr.exp64_2 xml1.stdout.exp \ |
njn | 01e755d | 2005-07-02 21:14:19 +0000 | [diff] [blame] | 133 | xml1.vgtest \ |
njn | 94260f2 | 2005-07-02 17:36:11 +0000 | [diff] [blame] | 134 | zeropage.stderr.exp zeropage.stderr.exp2 zeropage.stdout.exp \ |
| 135 | zeropage.vgtest |
njn25 | 4d54243 | 2002-09-23 16:09:39 +0000 | [diff] [blame] | 136 | |
sewardj | 45f4e7c | 2005-09-27 19:20:21 +0000 | [diff] [blame] | 137 | # vgtest_ume is not working |
daywalker | c42d8bc | 2003-04-17 17:00:43 +0000 | [diff] [blame] | 138 | check_PROGRAMS = \ |
sewardj | b5f6f51 | 2005-03-10 23:59:00 +0000 | [diff] [blame] | 139 | addressable \ |
nethercote | 4d71438 | 2004-10-13 09:47:24 +0000 | [diff] [blame] | 140 | badaddrvalue badfree badjump badjump2 \ |
nethercote | eb0592d | 2004-11-05 12:02:27 +0000 | [diff] [blame] | 141 | badloop badpoll badrw brk brk2 buflen_check \ |
njn | 7360f8e | 2003-09-04 20:57:51 +0000 | [diff] [blame] | 142 | clientperm custom_alloc \ |
sewardj | fc3b5ba | 2006-04-04 17:35:48 +0000 | [diff] [blame] | 143 | deep_templates \ |
sewardj | b5f6f51 | 2005-03-10 23:59:00 +0000 | [diff] [blame] | 144 | describe-block \ |
njn | 0087c50 | 2005-07-01 04:15:36 +0000 | [diff] [blame] | 145 | doublefree error_counts errs1 exitprog execve execve2 erringfds \ |
nethercote | 4a02e1e | 2004-10-20 11:43:01 +0000 | [diff] [blame] | 146 | fprw fwrite hello inits inline \ |
sewardj | b5f6f51 | 2005-03-10 23:59:00 +0000 | [diff] [blame] | 147 | leak-0 leak-cycle leak-tree leak-regroot leakotron \ |
njn | 2dc09e6 | 2005-08-17 04:03:31 +0000 | [diff] [blame] | 148 | malloc_usable malloc1 malloc2 malloc3 manuel1 manuel2 manuel3 \ |
njn | 499eaad | 2005-03-11 05:05:50 +0000 | [diff] [blame] | 149 | match-overrun \ |
nethercote | 2d5b816 | 2004-08-11 09:40:52 +0000 | [diff] [blame] | 150 | memalign_test memalign2 memcmptest mempool mmaptest \ |
| 151 | nanoleak new_nothrow \ |
njn | 7b880bc | 2005-08-14 22:43:53 +0000 | [diff] [blame] | 152 | null_socket oset_test overlap \ |
sewardj | 16031ba | 2005-07-06 19:01:53 +0000 | [diff] [blame] | 153 | partiallydefinedeq \ |
sewardj | e26e42f | 2006-05-03 00:43:20 +0000 | [diff] [blame] | 154 | partial_load pdb-realloc pdb-realloc2 \ |
njn | f4ef182 | 2005-09-24 19:42:41 +0000 | [diff] [blame] | 155 | pipe pointer-trace \ |
sewardj | b5f6f51 | 2005-03-10 23:59:00 +0000 | [diff] [blame] | 156 | post-syscall \ |
nethercote | 8b305af | 2004-11-14 17:58:27 +0000 | [diff] [blame] | 157 | realloc1 realloc2 realloc3 \ |
sewardj | dc6734b | 2006-04-02 01:53:01 +0000 | [diff] [blame] | 158 | sh-mem sh-mem-random \ |
njn | 0087c50 | 2005-07-01 04:15:36 +0000 | [diff] [blame] | 159 | sigaltstack signal2 sigprocmask sigkill \ |
tom | 2fb8f7a | 2005-11-11 17:21:20 +0000 | [diff] [blame] | 160 | stack_changes stack_switch strchr str_tester \ |
| 161 | supp_unknown supp1 supp2 suppfree \ |
tom | 8e9cb43 | 2005-11-02 13:58:39 +0000 | [diff] [blame] | 162 | trivialleak \ |
sewardj | f69e0bc | 2005-05-04 00:26:57 +0000 | [diff] [blame] | 163 | mismatches new_override metadata \ |
sewardj | 02fd0d7 | 2006-01-24 00:40:35 +0000 | [diff] [blame] | 164 | vcpu_bz2 vcpu_fbench vcpu_fnfns \ |
sewardj | 45f4e7c | 2005-09-27 19:20:21 +0000 | [diff] [blame] | 165 | xml1 \ |
sewardj | 134d1aa | 2006-01-20 14:21:28 +0000 | [diff] [blame] | 166 | wrap1 wrap2 wrap3 wrap4 wrap5 wrap6 wrap7 wrap7so.so wrap8 \ |
nethercote | e65e47b | 2004-10-14 08:38:06 +0000 | [diff] [blame] | 167 | writev zeropage |
| 168 | |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 169 | |
sewardj | 0126214 | 2006-01-04 01:20:28 +0000 | [diff] [blame] | 170 | AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \ |
| 171 | -I$(top_srcdir)/coregrind -I$(top_builddir)/include \ |
| 172 | -I@VEX_DIR@/pub |
| 173 | AM_CFLAGS = $(WERROR) -Winline -Wall -Wshadow -g $(AM_FLAG_M3264_PRI) |
daywalker | c42d8bc | 2003-04-17 17:00:43 +0000 | [diff] [blame] | 174 | AM_CXXFLAGS = $(AM_CFLAGS) |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 175 | |
njn | 5d8a230 | 2005-07-02 18:24:58 +0000 | [diff] [blame] | 176 | # Extra stuff for C tests |
sewardj | 0126214 | 2006-01-04 01:20:28 +0000 | [diff] [blame] | 177 | memcmptest_CFLAGS = $(AM_FLAG_M3264_PRI) $(AM_CFLAGS) -fno-builtin-memcmp |
| 178 | oset_test_CFLAGS = $(AM_FLAG_M3264_PRI) \ |
sewardj | 48540da | 2006-01-04 04:23:30 +0000 | [diff] [blame] | 179 | -DVGA_$(VG_ARCH)=1 -DVGO_$(VG_OS)=1 \ |
| 180 | -DVGP_$(VG_ARCH)_$(VG_OS)=1 |
sewardj | 46712cd | 2006-01-22 16:44:35 +0000 | [diff] [blame] | 181 | vcpu_bz2_CFLAGS = $(AM_FLAG_M3264_PRI) $(AM_CFLAGS) -O2 -g |
sewardj | 02fd0d7 | 2006-01-24 00:40:35 +0000 | [diff] [blame] | 182 | vcpu_fbench_CFLAGS = $(AM_FLAG_M3264_PRI) $(AM_CFLAGS) -O2 -g |
| 183 | vcpu_fnfns_CFLAGS = $(AM_FLAG_M3264_PRI) $(AM_CFLAGS) -O2 -g |
| 184 | vcpu_fnfns_LDADD = -lm |
sewardj | f4f22d5 | 2006-03-11 13:20:41 +0000 | [diff] [blame] | 185 | wrap6_CFLAGS = $(AM_FLAG_M3264_PRI) $(AM_CFLAGS) -O2 -g |
sewardj | 134d1aa | 2006-01-20 14:21:28 +0000 | [diff] [blame] | 186 | |
njn | 036a491 | 2005-03-16 02:49:11 +0000 | [diff] [blame] | 187 | # Don't allow GCC to inline memcpy(), because then we can't intercept it |
| 188 | overlap_CFLAGS = $(AM_CFLAGS) -fno-builtin-memcpy |
tom | 2fb8f7a | 2005-11-11 17:21:20 +0000 | [diff] [blame] | 189 | stack_switch_LDADD = -lpthread |
nethercote | d91ea07 | 2004-11-07 10:58:19 +0000 | [diff] [blame] | 190 | str_tester_CFLAGS = $(AM_CFLAGS) -Wno-shadow |
njn | 966d663 | 2005-08-18 15:49:21 +0000 | [diff] [blame] | 191 | supp_unknown_SOURCES = badjump.c |
njn | 5d8a230 | 2005-07-02 18:24:58 +0000 | [diff] [blame] | 192 | supp1_SOURCES = supp.c |
| 193 | supp2_SOURCES = supp.c |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 194 | |
njn | 5d8a230 | 2005-07-02 18:24:58 +0000 | [diff] [blame] | 195 | # C++ tests |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 196 | mismatches_SOURCES = mismatches.cpp |
njn | 32a17d1 | 2003-10-10 11:01:44 +0000 | [diff] [blame] | 197 | new_nothrow_SOURCES = new_nothrow.cpp |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 198 | new_override_SOURCES = new_override.cpp |
sewardj | fc3b5ba | 2006-04-04 17:35:48 +0000 | [diff] [blame] | 199 | deep_templates_SOURCES = deep_templates.cpp |
| 200 | deep_templates_CXXFLAGS = $(AM_FLAG_M3264_PRI) $(AM_CFLAGS) -O -gstabs |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 201 | |
sewardj | 134d1aa | 2006-01-20 14:21:28 +0000 | [diff] [blame] | 202 | # Build shared object for wrap7 |
| 203 | wrap7_SOURCES = wrap7.c |
| 204 | wrap7_DEPENDENCIES = wrap7so.so |
| 205 | wrap7_LDFLAGS = $(AM_FLAG_M3264_PRI) \ |
| 206 | -Wl,-rpath,$(top_builddir)/memcheck/tests |
| 207 | wrap7_LDADD = wrap7so.so |
| 208 | wrap7so_so_SOURCES = wrap7so.c |
| 209 | wrap7so_so_LDADD = |
| 210 | wrap7so_so_DEPENDENCIES = |
| 211 | wrap7so_so_LDFLAGS = -fpic $(AM_FLAG_M3264_PRI) \ |
| 212 | -Wl,-soname -Wl,wrap7so.so -shared |
| 213 | wrap7so_so_CFLAGS = -fpic $(AM_FLAG_M3264_PRI) |
| 214 | |
nethercote | e65e47b | 2004-10-14 08:38:06 +0000 | [diff] [blame] | 215 | # Valgrind unit self-tests |
tom | fb7bcde | 2005-11-07 15:24:38 +0000 | [diff] [blame] | 216 | #hello_LDFLAGS = -Wl,-defsym,valt_load_address=0x50000000 \ |
| 217 | # -Wl,-T,$(top_builddir)/valt_load_address.lds |
| 218 | #hello_DEPENDENCIES = $(top_builddir)/valt_load_address.lds |
nethercote | 3f131f1 | 2004-10-27 12:05:59 +0000 | [diff] [blame] | 219 | |
sewardj | 45f4e7c | 2005-09-27 19:20:21 +0000 | [diff] [blame] | 220 | # vgtest_ume is not working |
| 221 | #vgtest_ume_CFLAGS = -DVGA_$(VG_ARCH) -DVGO_$(VG_OS) |
| 222 | #vgtest_ume_LDADD = ../../coregrind/m_ume.o |
nethercote | e65e47b | 2004-10-14 08:38:06 +0000 | [diff] [blame] | 223 | |