* src/vm/class.c (vm/suck.h): Added.
[cacao.git] / src / vm / Makefile.am
1 ## src/vm/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 ## $Id: Makefile.am 6216 2006-12-18 18:21:37Z twisti $
30
31 ## Process this file with automake to produce Makefile.in
32
33 AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/src/vm/jit/$(ARCH_DIR) -I$(top_srcdir)/src/vm/jit/$(ARCH_DIR)/$(OS_DIR)
34
35 LIBS =
36
37 SUBDIRS = jit
38
39 if ENABLE_JAVASE
40 ANNOTATION_SOURCES = \
41         annotation.c \
42         annotation.h
43
44 STACKMAP_SOURCES = \
45         stackmap.c \
46         stackmap.h
47 endif
48
49 if ENABLE_STATISTICS
50 STATISTICS_SOURCES = \
51         statistics.c \
52         statistics.h
53 endif
54
55 if ENABLE_RT_TIMING
56 RT_TIMING_OBJ = \
57         rt-timing.c
58 endif
59
60 if ENABLE_CYCLES_STATS
61 CYCLES_STATS_SOURCE = \
62         cycles-stats.c \
63         cycles-stats.h
64 endif
65
66 if ENABLE_ZLIB
67 ZLIB_OBJ = \
68         zip.c \
69         zip.h
70 endif
71
72 noinst_HEADERS = \
73         global.h \
74         types.h
75
76 noinst_LTLIBRARIES = \
77         libvmcore.la \
78         libvm.la
79
80 libvmcore_la_SOURCES = \
81         access.c \
82         access.h \
83         $(ANNOTATION_SOURCES) \
84         builtin.c \
85         builtin.h \
86         builtintable.inc \
87         class.c \
88         class.h \
89         classcache.c \
90         classcache.h \
91         $(CYCLES_STATS_SOURCE) \
92         descriptor.c \
93         descriptor.h \
94         field.c \
95         field.h \
96         finalizer.c \
97         finalizer.h \
98         hashtable.c \
99         hashtable.h \
100         initialize.c \
101         initialize.h \
102         linker.c \
103         linker.h \
104         loader.c \
105         loader.h \
106         method.c \
107         method.h \
108         options.c \
109         options.h \
110         properties.c \
111         properties.h \
112         references.h \
113         resolve.c \
114         resolve.h \
115         $(RT_TIMING_OBJ) \
116         rt-timing.h \
117         $(STATISTICS_SOURCES) \
118         signal.c \
119         signallocal.h \
120         $(STACKMAP_SOURCES) \
121         string.c \
122         stringlocal.h \
123         suck.c \
124         suck.h \
125         utf8.c \
126         utf8.h \
127         $(ZLIB_OBJ)
128
129 libvm_la_SOURCES = \
130         exceptions.c \
131         exceptions.h \
132         vm.c \
133         vm.h
134
135 libvm_la_LIBADD = \
136         libvmcore.la \
137         jit/libjit.la
138
139
140 ## Local variables:
141 ## mode: Makefile
142 ## indent-tabs-mode: t
143 ## c-basic-offset: 4
144 ## tab-width: 8
145 ## compile-command: "automake --add-missing"
146 ## End: