* src/vm/suck.c (vm/vm.h): Added.
[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 ## Changes:
30 ##
31 ## $Id: Makefile.am 5810 2006-10-20 13:54:54Z twisti $
32
33 ## Process this file with automake to produce Makefile.in
34
35 SUBDIRS = \
36         codepatching \
37         jasmin \
38         native
39
40 JAVA      = $(top_builddir)/src/cacao/cacao
41 JAVAFLAGS = -Xbootclasspath:$(top_builddir)/src/lib/classes/:$(CLASSPATH_GLIBJ_ZIP)
42
43 SOURCE_FILES = \
44         $(srcdir)/HelloWorld.java \
45         $(srcdir)/jctest.java \
46         $(srcdir)/fptest.java \
47         $(srcdir)/fp.java \
48         $(srcdir)/extest.java \
49         $(srcdir)/extest_clinit.java \
50         $(srcdir)/clinitexception.java \
51         $(srcdir)/LoadDisplacementOverflow.java \
52         $(srcdir)/FieldDisplacementOverflow.java \
53         $(srcdir)/StackDisplacementOverflow.java
54
55 EXTRA_DIST = \
56         $(SOURCE_FILES) \
57         Test.sh \
58         \
59         jctest.output \
60         fptest.output \
61         fp.output\
62         extest.2output \
63         clinitexception.2output \
64         LoadDisplacementOverflow.output \
65         FieldDisplacementOverflow.output \
66         StackDisplacementOverflow.output
67
68 CLEANFILES = \
69         *.class \
70         *.thisoutput
71
72 SIMPLE_JAVA_TESTS = \
73         HelloWorld
74
75 OUTPUT_JAVA_TESTS = \
76         jctest \
77         fptest \
78         fp \
79         extest \
80         \
81         clinitexception \
82         LoadDisplacementOverflow \
83         FieldDisplacementOverflow \
84         StackDisplacementOverflow
85
86 check: build $(SIMPLE_JAVA_TESTS) $(OUTPUT_JAVA_TESTS)
87
88 build:
89         @$(JAVAC) -d . $(SOURCE_FILES)
90
91 $(SIMPLE_JAVA_TESTS):
92         @echo "$@: "
93         @LD_LIBRARY_PATH=$(top_builddir)/src/cacao/.libs $(JAVA) $(JAVAFLAGS) $@
94
95
96 $(OUTPUT_JAVA_TESTS):
97         @LD_LIBRARY_PATH=$(top_builddir)/src/cacao/.libs $(SHELL) $(srcdir)/Test.sh "$(JAVA) $(JAVAFLAGS)" $@ $(srcdir)
98
99
100 ## Local variables:
101 ## mode: Makefile
102 ## indent-tabs-mode: t
103 ## c-basic-offset: 4
104 ## tab-width: 8
105 ## compile-command: "automake --add-missing"
106 ## End: