* Renamed checkall to check.
[cacao.git] / tests / regression / Makefile.am
1 ## tests/regression/Makefile.am
2 ##
3 ## Copyright (C) 1996-2005 R. Grafl, A. Krall, C. Kruegel, C. Oates,
4 ## R. Obermaisser, M. Platter, M. Probst, S. Ring, E. Steiner,
5 ## C. Thalinger, D. Thuernbeck, P. Tomsich, C. Ullrich, J. Wenninger,
6 ## 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., 59 Temple Place - Suite 330, Boston, MA
23 ## 02111-1307, USA.
24 ##
25 ## Contact: cacao@complang.tuwien.ac.at
26 ##
27 ## Authors: Christian Thalinger
28 ##
29 ## Changes:
30 ##
31 ## $Id: Makefile.am 3791 2005-11-23 23:16:29Z twisti $
32
33 ## Process this file with automake to produce Makefile.in
34
35 JAVA      = $(top_builddir)/src/cacao/cacao
36 JAVAFLAGS = -Xbootclasspath:$(top_builddir)/src/lib/vm.zip:$(CLASSPATH_INSTALL_DIR)/share/classpath/$(GLIBJZ)
37 JAVAC     = jikes -classpath $(CLASSPATH_INSTALL_DIR)/share/classpath/$(GLIBJZ) -nowarn
38
39 EXTRA_DIST = \
40         Test.sh \
41         HelloWorld.java \
42         jctest.java \
43         jctest.output \
44         fptest.java \
45         fptest.output \
46         fp.java \
47         fp.output\
48         extest.java \
49         extest.2output \
50         clinitexception.java \
51         clinitexception.2output \
52         LoadDisplacementOverflow.java \
53         LoadDisplacementOverflow.output \
54         FieldDisplacementOverflow.java \
55         FieldDisplacementOverflow.output \
56         StackDisplacementOverflow.java \
57         StackDisplacementOverflow.output
58
59 CLEANFILES = \
60         *.class \
61         *.thisoutput
62
63 SIMPLE_JAVA_TESTS = \
64         HelloWorld
65
66 OUTPUT_JAVA_TESTS = \
67         jctest \
68         fptest \
69         fp \
70         extest \
71         \
72         clinitexception \
73         LoadDisplacementOverflow \
74         FieldDisplacementOverflow \
75         StackDisplacementOverflow
76
77 check: $(SIMPLE_JAVA_TESTS) $(OUTPUT_JAVA_TESTS)
78
79 $(SIMPLE_JAVA_TESTS):
80         @$(JAVAC) -d . $(srcdir)/$@.java
81         @echo -n "$@: "
82         @$(JAVA) $(JAVAFLAGS) $@
83
84
85 $(OUTPUT_JAVA_TESTS):
86         @$(JAVAC) -d . $(srcdir)/$@.java
87         @$(SHELL) $(srcdir)/Test.sh "$(JAVA) $(JAVAFLAGS)" $@ $(srcdir)
88
89
90 ## Local variables:
91 ## mode: Makefile
92 ## indent-tabs-mode: t
93 ## c-basic-offset: 4
94 ## tab-width: 8
95 ## compile-command: "automake --add-missing"
96 ## End: