Merge from subtype.
[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.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.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         class.cpp \
87         class.hpp \
88         classcache.cpp \
89         classcache.hpp \
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.cpp \
102         initialize.hpp \
103         javaobjects.cpp \
104         javaobjects.hpp \
105         linker.cpp \
106         linker.hpp \
107         loader.cpp \
108         loader.hpp \
109         method.cpp \
110         method.hpp \
111         options.c \
112         options.h \
113         os.cpp \
114         os.hpp \
115         package.cpp \
116         package.hpp \
117         primitive.cpp \
118         primitive.hpp \
119         properties.cpp \
120         properties.hpp \
121         references.h \
122         resolve.cpp \
123         resolve.hpp \
124         $(RT_TIMING_SOURCES) \
125         signal.c \
126         signallocal.h \
127         $(STACKMAP_SOURCES) \
128         $(STATISTICS_SOURCES) \
129         string.cpp \
130         string.hpp \
131         suck.cpp \
132         suck.hpp \
133         utf8.c \
134         utf8.h \
135         vftbl.hpp \
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: