Mercurial > projects > dstress
annotate complex/assert_21/complex.mak @ 1630:d0efa3ae5522 default tip
run/mini/naked_asm5: New x86_64 ABI passes the arguments in reverse order.
author | David Nadlinger <code@klickverbot.at> |
---|---|
date | Sat, 23 Apr 2011 22:57:32 +0200 |
parents | 6caf8b7e726a |
children |
rev | line source |
---|---|
1526
6caf8b7e726a
[Issue 1121] Assertion codegen issue with templated function
thomask
parents:
diff
changeset
|
1 # GnuMakefile for DStress http://dstress.kuehne.cn/www/dstress.html |
6caf8b7e726a
[Issue 1121] Assertion codegen issue with templated function
thomask
parents:
diff
changeset
|
2 # Copyright (C) 2006 Thomas Kuehne |
6caf8b7e726a
[Issue 1121] Assertion codegen issue with templated function
thomask
parents:
diff
changeset
|
3 # |
6caf8b7e726a
[Issue 1121] Assertion codegen issue with templated function
thomask
parents:
diff
changeset
|
4 # This program is free software; you can redistribute it and/or modify |
6caf8b7e726a
[Issue 1121] Assertion codegen issue with templated function
thomask
parents:
diff
changeset
|
5 # it under the terms of the GNU General Public License as published by |
6caf8b7e726a
[Issue 1121] Assertion codegen issue with templated function
thomask
parents:
diff
changeset
|
6 # the Free Software Foundation; either version 2 of the License, or |
6caf8b7e726a
[Issue 1121] Assertion codegen issue with templated function
thomask
parents:
diff
changeset
|
7 # (at your option) any later version. |
6caf8b7e726a
[Issue 1121] Assertion codegen issue with templated function
thomask
parents:
diff
changeset
|
8 # |
6caf8b7e726a
[Issue 1121] Assertion codegen issue with templated function
thomask
parents:
diff
changeset
|
9 # This program is distributed in the hope that it will be useful, |
6caf8b7e726a
[Issue 1121] Assertion codegen issue with templated function
thomask
parents:
diff
changeset
|
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
6caf8b7e726a
[Issue 1121] Assertion codegen issue with templated function
thomask
parents:
diff
changeset
|
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
6caf8b7e726a
[Issue 1121] Assertion codegen issue with templated function
thomask
parents:
diff
changeset
|
12 # GNU General Public License for more details. |
6caf8b7e726a
[Issue 1121] Assertion codegen issue with templated function
thomask
parents:
diff
changeset
|
13 # |
6caf8b7e726a
[Issue 1121] Assertion codegen issue with templated function
thomask
parents:
diff
changeset
|
14 # You should have received a copy of the GNU General Public License |
6caf8b7e726a
[Issue 1121] Assertion codegen issue with templated function
thomask
parents:
diff
changeset
|
15 # along with this program; if not, write to the Free Software |
6caf8b7e726a
[Issue 1121] Assertion codegen issue with templated function
thomask
parents:
diff
changeset
|
16 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
6caf8b7e726a
[Issue 1121] Assertion codegen issue with templated function
thomask
parents:
diff
changeset
|
17 # |
6caf8b7e726a
[Issue 1121] Assertion codegen issue with templated function
thomask
parents:
diff
changeset
|
18 |
6caf8b7e726a
[Issue 1121] Assertion codegen issue with templated function
thomask
parents:
diff
changeset
|
19 .PHONY:: \ |
6caf8b7e726a
[Issue 1121] Assertion codegen issue with templated function
thomask
parents:
diff
changeset
|
20 complex/assert_21/warning \ |
6caf8b7e726a
[Issue 1121] Assertion codegen issue with templated function
thomask
parents:
diff
changeset
|
21 complex/assert_21/$(complex_done) \ |
6caf8b7e726a
[Issue 1121] Assertion codegen issue with templated function
thomask
parents:
diff
changeset
|
22 complex/assert_21/clean \ |
6caf8b7e726a
[Issue 1121] Assertion codegen issue with templated function
thomask
parents:
diff
changeset
|
23 complex/assert_21/dest |
6caf8b7e726a
[Issue 1121] Assertion codegen issue with templated function
thomask
parents:
diff
changeset
|
24 |
6caf8b7e726a
[Issue 1121] Assertion codegen issue with templated function
thomask
parents:
diff
changeset
|
25 complex/assert_21/warning : |
6caf8b7e726a
[Issue 1121] Assertion codegen issue with templated function
thomask
parents:
diff
changeset
|
26 $(error "don't invoke this file directly, instead use DStress' root Makefile with the target \"complex/assert_21/complex.done\", \"complex\" or \"all\"") |
6caf8b7e726a
[Issue 1121] Assertion codegen issue with templated function
thomask
parents:
diff
changeset
|
27 |
6caf8b7e726a
[Issue 1121] Assertion codegen issue with templated function
thomask
parents:
diff
changeset
|
28 complex/assert_21/dest = \ |
6caf8b7e726a
[Issue 1121] Assertion codegen issue with templated function
thomask
parents:
diff
changeset
|
29 complex/assert_21/assert_21_A |
6caf8b7e726a
[Issue 1121] Assertion codegen issue with templated function
thomask
parents:
diff
changeset
|
30 |
6caf8b7e726a
[Issue 1121] Assertion codegen issue with templated function
thomask
parents:
diff
changeset
|
31 # the actual target, will be called by root's "all" / "complex" target |
6caf8b7e726a
[Issue 1121] Assertion codegen issue with templated function
thomask
parents:
diff
changeset
|
32 complex/assert_21/$(complex_done) : $(complex/assert_21/dest) $(return__) $(ifeq__) |
6caf8b7e726a
[Issue 1121] Assertion codegen issue with templated function
thomask
parents:
diff
changeset
|
33 |
6caf8b7e726a
[Issue 1121] Assertion codegen issue with templated function
thomask
parents:
diff
changeset
|
34 # |
6caf8b7e726a
[Issue 1121] Assertion codegen issue with templated function
thomask
parents:
diff
changeset
|
35 # link |
6caf8b7e726a
[Issue 1121] Assertion codegen issue with templated function
thomask
parents:
diff
changeset
|
36 # |
6caf8b7e726a
[Issue 1121] Assertion codegen issue with templated function
thomask
parents:
diff
changeset
|
37 complex/assert_21/assert_21_A : complex/assert_21/a.d complex/assert_21/b.d $(return__) $(ifeq__) |
6caf8b7e726a
[Issue 1121] Assertion codegen issue with templated function
thomask
parents:
diff
changeset
|
38 @$(RM) -f complex/assert_21/*.o |
6caf8b7e726a
[Issue 1121] Assertion codegen issue with templated function
thomask
parents:
diff
changeset
|
39 $(eval z_name = $@) |
6caf8b7e726a
[Issue 1121] Assertion codegen issue with templated function
thomask
parents:
diff
changeset
|
40 $(eval z_return = $(shell cd complex/assert_21; $(return__) "$(DMD) $(DFLAGS) a.d b.d -ofassert_21_A $(to_log) && ./assert_21_A $(to_log)")) |
6caf8b7e726a
[Issue 1121] Assertion codegen issue with templated function
thomask
parents:
diff
changeset
|
41 @if $(ifeq__) $(z_return) 0; then \ |
6caf8b7e726a
[Issue 1121] Assertion codegen issue with templated function
thomask
parents:
diff
changeset
|
42 $(ECHO) "Torture-Sub-1/31-PASS: $(z_name)"; \ |
6caf8b7e726a
[Issue 1121] Assertion codegen issue with templated function
thomask
parents:
diff
changeset
|
43 else \ |
6caf8b7e726a
[Issue 1121] Assertion codegen issue with templated function
thomask
parents:
diff
changeset
|
44 $(ECHO) "Torture-Sub-1/31-FAIL: $(z_name)"; \ |
6caf8b7e726a
[Issue 1121] Assertion codegen issue with templated function
thomask
parents:
diff
changeset
|
45 fi |
6caf8b7e726a
[Issue 1121] Assertion codegen issue with templated function
thomask
parents:
diff
changeset
|
46 |
6caf8b7e726a
[Issue 1121] Assertion codegen issue with templated function
thomask
parents:
diff
changeset
|
47 # |
6caf8b7e726a
[Issue 1121] Assertion codegen issue with templated function
thomask
parents:
diff
changeset
|
48 # cleanup |
6caf8b7e726a
[Issue 1121] Assertion codegen issue with templated function
thomask
parents:
diff
changeset
|
49 # |
6caf8b7e726a
[Issue 1121] Assertion codegen issue with templated function
thomask
parents:
diff
changeset
|
50 clean :: |
6caf8b7e726a
[Issue 1121] Assertion codegen issue with templated function
thomask
parents:
diff
changeset
|
51 $(RM) complex/assert_21/*.done $(complex/assert_21/dest) complex/assert_21/*.o |
6caf8b7e726a
[Issue 1121] Assertion codegen issue with templated function
thomask
parents:
diff
changeset
|
52 |