* src/vm/field.c: Moved to .cpp
[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.c \
33         assertion.h
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.c \
46         annotation.h
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.c \
69         zip.h
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.c \
81         access.h \
82         $(ANNOTATION_SOURCES) \
83         array.c \
84         array.h \
85         $(ASSERTION_SOURCES) \
86         class.c \
87         class.h \
88         classcache.c \
89         classcache.h \
90         $(CYCLES_STATS_SOURCES) \
91         descriptor.c \
92         descriptor.h \
93         exceptions.cpp \
94         exceptions.hpp \
95         field.cpp \
96         field.hpp \
97         finalizer.c \
98         finalizer.h \
99         globals.cpp \
100         globals.hpp \
101         initialize.c \
102         initialize.h \
103         javaobjects.cpp \
104         javaobjects.hpp \
105         jit_interface.h \
106         linker.c \
107         linker.h \
108         loader.cpp \
109         loader.hpp \
110         method.c \
111         method.h \
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.c \
121         properties.h \
122         references.h \
123         resolve.c \
124         resolve.h \
125         $(RT_TIMING_SOURCES) \
126         signal.c \
127         signallocal.h \
128         $(STACKMAP_SOURCES) \
129         $(STATISTICS_SOURCES) \
130         string.cpp \
131         string.hpp \
132         suck.c \
133         suck.h \
134         utf8.c \
135         utf8.h \
136         vm.cpp \
137         vm.hpp \
138         $(ZLIB_SOURCES)
139
140 libvm_la_LIBADD = \
141         jit/libjit.la
142
143
144 ## Local variables:
145 ## mode: Makefile
146 ## indent-tabs-mode: t
147 ## c-basic-offset: 4
148 ## tab-width: 8
149 ## compile-command: "automake --add-missing"
150 ## End: