* src/vm/jit/codegen-common.cpp, src/vm/jit/x86_64/codegen.c: Generate
[cacao.git] / src / vm / Makefile.am
1 ## src/vm/Makefile.am
2 ##
3 ## Copyright (C) 1996-2005, 2006, 2007, 2008
4 ## CACAOVM - Verein zur Foerderung der freien virtuellen Maschine CACAO
5 ##
6 ## This file is part of CACAO.
7 ##
8 ## This program is free software; you can redistribute it and/or
9 ## modify it under the terms of the GNU General Public License as
10 ## published by the Free Software Foundation; either version 2, or (at
11 ## your option) any later version.
12 ##
13 ## This program is distributed in the hope that it will be useful, but
14 ## WITHOUT ANY WARRANTY; without even the implied warranty of
15 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16 ## General Public License for more details.
17 ##
18 ## You should have received a copy of the GNU General Public License
19 ## along with this program; if not, write to the Free Software
20 ## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
21 ## 02110-1301, USA.
22
23
24 AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/src/vm/jit/$(ARCH_DIR) -I$(top_srcdir)/src/vm/jit/$(ARCH_DIR)/$(OS_DIR) -I$(top_builddir)/src -I$(top_srcdir)/contrib/vmlog -I$(top_srcdir)/src/native
25
26 LIBS =
27
28 SUBDIRS = jit
29
30 if ENABLE_ASSERTION
31 ASSERTION_SOURCES = \
32         assertion.cpp \
33         assertion.hpp
34 endif
35
36 if ENABLE_CYCLES_STATS
37 CYCLES_STATS_SOURCES = \
38         cycles-stats.c \
39         cycles-stats.h
40 endif
41
42 if ENABLE_JAVASE
43 if ENABLE_ANNOTATIONS
44 ANNOTATION_SOURCES = \
45         annotation.cpp \
46         annotation.hpp
47 endif
48
49 STACKMAP_SOURCES = \
50         stackmap.c \
51         stackmap.h
52 endif
53
54 if ENABLE_RT_TIMING
55 RT_TIMING_SOURCES = \
56         rt-timing.c \
57         rt-timing.h
58 endif
59
60 if ENABLE_STATISTICS
61 STATISTICS_SOURCES = \
62         statistics.c \
63         statistics.h
64 endif
65
66 if ENABLE_ZLIB
67 ZLIB_SOURCES = \
68         zip.cpp \
69         zip.hpp
70 endif
71
72 noinst_HEADERS = \
73         global.h \
74         types.h
75
76 noinst_LTLIBRARIES = \
77         libvm.la
78
79 libvm_la_SOURCES = \
80         access.cpp \
81         access.hpp \
82         $(ANNOTATION_SOURCES) \
83         array.cpp \
84         array.hpp \
85         $(ASSERTION_SOURCES) \
86         breakpoint.hpp \
87         class.cpp \
88         class.hpp \
89         classcache.cpp \
90         classcache.hpp \
91         $(CYCLES_STATS_SOURCES) \
92         descriptor.cpp \
93         descriptor.hpp \
94         exceptions.cpp \
95         exceptions.hpp \
96         field.cpp \
97         field.hpp \
98         finalizer.cpp \
99         finalizer.hpp \
100         globals.cpp \
101         globals.hpp \
102         initialize.cpp \
103         initialize.hpp \
104         javaobjects.cpp \
105         javaobjects.hpp \
106         linker.cpp \
107         linker.hpp \
108         loader.cpp \
109         loader.hpp \
110         method.cpp \
111         method.hpp \
112         options.c \
113         options.h \
114         os.cpp \
115         os.hpp \
116         package.cpp \
117         package.hpp \
118         primitive.cpp \
119         primitive.hpp \
120         properties.cpp \
121         properties.hpp \
122         references.h \
123         resolve.cpp \
124         resolve.hpp \
125         $(RT_TIMING_SOURCES) \
126         signal.cpp \
127         signallocal.hpp \
128         $(STACKMAP_SOURCES) \
129         $(STATISTICS_SOURCES) \
130         string.cpp \
131         string.hpp \
132         suck.cpp \
133         suck.hpp \
134         utf8.c \
135         utf8.h \
136         vftbl.hpp \
137         vm.cpp \
138         vm.hpp \
139         $(ZLIB_SOURCES)
140
141 libvm_la_LIBADD = \
142         jit/libjit.la
143
144
145 ## Local variables:
146 ## mode: Makefile
147 ## indent-tabs-mode: t
148 ## c-basic-offset: 4
149 ## tab-width: 8
150 ## compile-command: "automake --add-missing"
151 ## End: