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