* src/vm/jit/reorder.c: Removed.
[cacao.git] / src / vm / jit / Makefile.am
1 ## src/vm/jit/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: Edwin Steiner
30 ##
31 ## $Id: Makefile.am 5887 2006-10-31 21:35:07Z twisti $
32
33 ## Process this file with automake to produce Makefile.in
34
35 AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/src/vm/jit/$(ARCH_DIR) -I$(top_srcdir)/src/vm/jit/$(ARCH_DIR)/$(OS_DIR)
36
37 LIBS =
38
39 DIST_SUBDIRS = \
40         allocator \
41         ifconv \
42         inline \
43         loop \
44         optimizing \
45         schedule \
46         tools \
47         verify \
48         \
49         intrp \
50         alpha \
51         i386 \
52         mips \
53         powerpc \
54         powerpc64 \
55         sparc64 \
56         x86_64
57
58 SUBDIRS = \
59         optimizing \
60         tools \
61         verify
62
63 if ENABLE_JIT
64 SUBDIRS += \
65         allocator \
66         $(ARCH_DIR)
67
68 ARCH_LIB = \
69         $(ARCH_DIR)/libarch.la
70
71 OPTIMIZING_LIB = \
72         optimizing/liboptimizing.la
73 endif
74
75 if ENABLE_INTRP
76 SUBDIRS += \
77         intrp
78
79 INTRP_LIB = \
80         intrp/libintrp.la
81 endif
82
83 if ENABLE_IFCONV
84 SUBDIRS += \
85         ifconv
86
87 IFCONV_LIB = \
88         ifconv/libifconv.la
89 endif
90
91 if ENABLE_INLINING
92 SUBDIRS += \
93         inline
94
95 INLINE_LIB = \
96         inline/libinline.la
97 endif
98
99 if ENABLE_LOOP
100 SUBDIRS += \
101         loop
102
103 LOOP_LIB = \
104         loop/libloop.la
105 endif
106
107 if USE_SCHEDULER
108 SUBDIRS += \
109         schedule
110
111 SCHEDULE_LIB = \
112         schedule/libschedule.la
113 endif
114
115 if ENABLE_JIT
116 REG_SOURCES = \
117         reg.c \
118         reg.h
119
120 REPLACE_SOURCES = \
121         replace.c \
122         replace.h
123
124 STACK_SOURCES = \
125         stack.c \
126         stack.h
127 endif
128
129 if WITH_BINUTILS_DISASSEMBLER
130 DISASS_SOURCES = disass-common.c
131 else
132 DISASS_SOURCES =
133 endif
134
135 noinst_HEADERS = \
136         abi.h \
137         abi-asm.h \
138         asmpart.h \
139         methodheader.h \
140         patcher.h 
141
142 noinst_LTLIBRARIES = libjit.la
143
144 libjit_la_SOURCES = \
145         code.c \
146         code.h \
147         codegen-common.c \
148         codegen-common.h \
149         disass.h \
150         $(DISASS_SOURCES) \
151         dseg.c \
152         dseg.h \
153         emit-common.c \
154         emit-common.h \
155         icmdtable.inc \
156         jit.c \
157         jit.h \
158         parse.c \
159         parse.h \
160         $(RECOMPILE_SOURCES) \
161         $(REG_SOURCES) \
162         $(REPLACE_SOURCES) \
163         show.c \
164         show.h \
165         $(STACK_SOURCES) \
166         stacktrace.c \
167         stacktrace.h
168
169 libjit_la_SOURCES += \
170         cfg.c \
171         cfg.h
172
173 libjit_la_LIBADD = \
174         allocator/liballocator.la \
175         verify/libverify.la \
176         $(ALLOCATOR_LIB) \
177         $(IFCONV_LIB) \
178         $(INLINE_LIB) \
179         $(LOOP_LIB) \
180         $(OPTIMIZING_LIB) \
181         $(PROFILE_LIB) \
182         $(SCHEDULE_LIB) \
183         $(INTRP_LIB) \
184         $(ARCH_LIB)
185
186
187 ## Local variables:
188 ## mode: Makefile
189 ## indent-tabs-mode: t
190 ## c-basic-offset: 4
191 ## tab-width: 8
192 ## compile-command: "automake --add-missing"
193 ## End: