* src/mm/cacao-gc/heap.c: Adapted to changes on trunk.
[cacao.git] / tests / regression / Makefile.am
1 ## tests/regression/Makefile.am
2 ##
3 ## Copyright (C) 1996-2005, 2006 R. Grafl, A. Krall, C. Kruegel,
4 ## C. Oates, R. Obermaisser, M. Platter, M. Probst, S. Ring,
5 ## E. Steiner, C. Thalinger, D. Thuernbeck, P. Tomsich, C. Ullrich,
6 ## J. Wenninger, Institut f. Computersprachen - TU Wien
7 ##
8 ## This file is part of CACAO.
9 ##
10 ## This program is free software; you can redistribute it and/or
11 ## modify it under the terms of the GNU General Public License as
12 ## published by the Free Software Foundation; either version 2, or (at
13 ## your option) any later version.
14 ##
15 ## This program is distributed in the hope that it will be useful, but
16 ## WITHOUT ANY WARRANTY; without even the implied warranty of
17 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18 ## General Public License for more details.
19 ##
20 ## You should have received a copy of the GNU General Public License
21 ## along with this program; if not, write to the Free Software
22 ## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
23 ## 02110-1301, USA.
24 ##
25 ## Contact: cacao@cacaojvm.org
26 ##
27 ## Authors: Christian Thalinger
28 ##
29 ## $Id: Makefile.am 7441 2007-03-02 23:13:10Z michi $
30
31 ## Process this file with automake to produce Makefile.in
32
33 SUBDIRS = \
34         codepatching \
35         jasmin \
36         native \
37         resolving
38
39 JAVA      = $(top_builddir)/src/cacao/cacao
40
41 if WITH_CLASSPATH_GNU
42 JAVAFLAGS = -Xbootclasspath:$(top_builddir)/src/lib/classes/:$(CLASSPATH_CLASSES)
43 else
44 JAVAFLAGS = -Xbootclasspath:$(CLASSPATH_CLASSES)
45 endif
46
47 SOURCE_FILES = \
48         $(srcdir)/HelloWorld.java \
49         $(srcdir)/jctest.java \
50         $(srcdir)/fptest.java \
51         $(srcdir)/fp.java \
52         $(srcdir)/extest.java \
53         $(srcdir)/extest_clinit.java \
54         $(srcdir)/clinitexception.java \
55         $(srcdir)/LoadDisplacementOverflow.java \
56         $(srcdir)/FieldDisplacementOverflow.java \
57         $(srcdir)/StackDisplacementOverflow.java
58
59 EXTRA_DIST = \
60         $(SOURCE_FILES) \
61         Test.sh \
62         \
63         jctest.output \
64         fptest.output \
65         fp.output\
66         extest.2output \
67         clinitexception.2output \
68         LoadDisplacementOverflow.output \
69         FieldDisplacementOverflow.output \
70         StackDisplacementOverflow.output
71
72 CLEANFILES = \
73         *.class \
74         *.thisoutput
75
76 SIMPLE_JAVA_TESTS = \
77         HelloWorld
78
79 OUTPUT_JAVA_TESTS = \
80         jctest \
81         fptest \
82         fp \
83         extest \
84         \
85         clinitexception \
86         LoadDisplacementOverflow \
87         FieldDisplacementOverflow \
88         StackDisplacementOverflow
89
90 check: build $(SIMPLE_JAVA_TESTS) $(OUTPUT_JAVA_TESTS)
91
92 build:
93         @$(JAVAC) -d . $(SOURCE_FILES)
94
95 $(SIMPLE_JAVA_TESTS):
96         @echo "$@: "
97         @LD_LIBRARY_PATH=$(top_builddir)/src/cacao/.libs $(JAVA) $(JAVAFLAGS) $@
98
99
100 $(OUTPUT_JAVA_TESTS):
101         @LD_LIBRARY_PATH=$(top_builddir)/src/cacao/.libs $(SHELL) $(srcdir)/Test.sh "$(JAVA) $(JAVAFLAGS)" $@ $(srcdir)
102
103
104 ## Local variables:
105 ## mode: Makefile
106 ## indent-tabs-mode: t
107 ## c-basic-offset: 4
108 ## tab-width: 8
109 ## compile-command: "automake --add-missing"
110 ## End: