* JAVAC: Removed.
[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 4094 2006-01-08 19:14:17Z 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
38 EXTRA_DIST = \
39         Test.sh \
40         HelloWorld.java \
41         jctest.java \
42         jctest.output \
43         fptest.java \
44         fptest.output \
45         fp.java \
46         fp.output\
47         extest.java \
48         extest.2output \
49         clinitexception.java \
50         clinitexception.2output \
51         LoadDisplacementOverflow.java \
52         LoadDisplacementOverflow.output \
53         FieldDisplacementOverflow.java \
54         FieldDisplacementOverflow.output \
55         StackDisplacementOverflow.java \
56         StackDisplacementOverflow.output
57
58 CLEANFILES = \
59         *.class \
60         *.thisoutput
61
62 SIMPLE_JAVA_TESTS = \
63         HelloWorld
64
65 OUTPUT_JAVA_TESTS = \
66         jctest \
67         fptest \
68         fp \
69         extest \
70         \
71         clinitexception \
72         LoadDisplacementOverflow \
73         FieldDisplacementOverflow \
74         StackDisplacementOverflow
75
76 check: $(SIMPLE_JAVA_TESTS) $(OUTPUT_JAVA_TESTS)
77
78 $(SIMPLE_JAVA_TESTS):
79         @$(JAVAC) -d . $(srcdir)/$@.java
80         @echo -n "$@: "
81         @$(JAVA) $(JAVAFLAGS) $@
82
83
84 $(OUTPUT_JAVA_TESTS):
85         @$(JAVAC) -d . $(srcdir)/$@.java
86         @$(SHELL) $(srcdir)/Test.sh "$(JAVA) $(JAVAFLAGS)" $@ $(srcdir)
87
88
89 ## Local variables:
90 ## mode: Makefile
91 ## indent-tabs-mode: t
92 ## c-basic-offset: 4
93 ## tab-width: 8
94 ## compile-command: "automake --add-missing"
95 ## End: