* src/vm/jit/x86_64/emit.c (emit_load): Changed to new variable
[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 5258 2006-08-22 09:02:25Z tbfg $
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         profile \
45         schedule \
46         tools \
47         verify \
48         \
49         intrp \
50         alpha \
51         i386 \
52         mips \
53         powerpc \
54         x86_64 \
55         sparc64
56
57 SUBDIRS = \
58         allocator \
59         tools \
60         verify
61
62 if ENABLE_JIT
63 SUBDIRS += $(ARCH_DIR)
64 ARCH_LIB = $(ARCH_DIR)/libarch.la
65 endif
66
67 if ENABLE_INTRP
68 SUBDIRS += intrp
69 INTRP_LIB = intrp/libintrp.la
70 endif
71
72 if ENABLE_IFCONV
73 SUBDIRS += ifconv
74 IFCONV_LIB = ifconv/libifconv.la
75 endif
76
77 if ENABLE_INLINING
78 SUBDIRS += inline
79 INLINE_LIB = inline/libinline.la
80 endif
81
82 if ENABLE_LOOP
83 SUBDIRS += loop
84 LOOP_LIB = loop/libloop.la
85 endif
86
87 if ENABLE_PROFILING
88 SUBDIRS += profile
89 PROFILE_LIB = profile/libprofile.la
90 endif
91
92 if ENABLE_THREADS
93 RECOMPILE_SOURCES = \
94         recompile.c \
95         recompile.h
96 endif
97
98 if USE_SCHEDULER
99 SUBDIRS += schedule
100 SCHEDULE_LIB = schedule/libschedule.la
101 endif
102
103 if ENABLE_SSA
104 SUBDIRS += optimizing
105 OPTIMIZING_LIB = optimizing/liboptimizing.la
106 endif
107
108 if WITH_BINUTILS_DISASSEMBLER
109 DISASS_SOURCES = disass-common.c
110 else
111 DISASS_SOURCES =
112 endif
113
114 noinst_HEADERS = \
115         abi.h \
116         abi-asm.h \
117         asmpart.h \
118         emit.h \
119         methodheader.h \
120         patcher.h 
121
122 noinst_LTLIBRARIES = libjit.la
123
124 libjit_la_SOURCES = \
125         code.c \
126         code.h \
127         codegen-common.c \
128         codegen-common.h \
129         disass.h \
130         $(DISASS_SOURCES) \
131         dseg.c \
132         dseg.h \
133         jit.c \
134         jit.h \
135         parse.c \
136         parse.h \
137         reg.c \
138         reg.h \
139         $(RECOMPILE_SOURCES) \
140         replace.c \
141         replace.h \
142         show.c \
143         show.h \
144         stack.c \
145         stack.h \
146         stacktrace.c \
147         stacktrace.h
148
149 libjit_la_SOURCES += \
150         cfg.c \
151         cfg.h \
152         reorder.c \
153         reorder.h
154
155 libjit_la_LIBADD = \
156         allocator/liballocator.la \
157         verify/libverify.la \
158         $(ALLOCATOR_LIB) \
159         $(IFCONV_LIB) \
160         $(INLINE_LIB) \
161         $(LOOP_LIB) \
162         $(OPTIMIZING_LIB) \
163         $(PROFILE_LIB) \
164         $(SCHEDULE_LIB) \
165         $(INTRP_LIB) \
166         $(ARCH_LIB)
167
168
169 ## Local variables:
170 ## mode: Makefile
171 ## indent-tabs-mode: t
172 ## c-basic-offset: 4
173 ## tab-width: 8
174 ## compile-command: "automake --add-missing"
175 ## End: