* Added ENABLE_INTRP stuff.
[cacao.git] / src / vm / jit / Makefile.am
1 ## src/vm/jit/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 3143 2005-09-05 15:14:32Z twisti $
32
33 ## Process this file with automake to produce Makefile.in
34
35 INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/vm/jit/$(ARCH_DIR) -I$(top_srcdir)/src/vm/jit/$(ARCH_DIR)/$(OS_DIR)
36
37 SUBDIRS = loop tools verify
38
39 DIST_SUBDIRS = \
40         inline \
41         loop \
42         schedule \
43         tools \
44         verify \
45         intrp \
46         alpha \
47         arm \
48         i386 \
49         mips \
50         powerpc \
51         x86_64
52
53 if ENABLE_INTRP
54 SUBDIRS += intrp
55 INTRP_LIB = intrp/libintrp.la
56 else
57 SUBDIRS += $(ARCH_DIR)
58 ARCH_LIB = $(ARCH_DIR)/libarch.la
59 endif
60
61 if USE_INLINING
62 SUBDIRS += inline
63 INLINE_LIB = inline/libinline.la
64 endif
65
66 if USE_SCHEDULER
67 SUBDIRS += schedule
68 SCHEDULE_LIB = schedule/libschedule.la
69 endif
70
71 noinst_HEADERS = \
72         asmpart.h \
73         codegen.inc \
74         codegen.inc.h \
75         lsra.inc \
76         lsra.h \
77         patcher.h \
78         reg.inc \
79         reg.h
80
81 noinst_LTLIBRARIES = libjit.la
82
83 libjit_la_SOURCES = \
84         helper.c \
85         helper.h \
86         jit.c \
87         jit.h \
88         parse.c \
89         parse.h \
90         stack.c \
91         stack.h \
92         stacktrace.c \
93         stacktrace.h
94
95 libjit_la_LIBADD = \
96         $(INLINE_LIB) \
97         loop/libloop.la \
98         $(SCHEDULE_LIB) \
99         verify/libverify.la \
100         $(INTRP_LIB) \
101         $(ARCH_LIB)
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: