* src/vm/builtin.c (builtin_print_cycles_stats): 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 ## Changes:
30 ##
31 ## $Id: Makefile.am 4792 2006-04-19 01:05:18Z edwin $
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 SUBDIRS = jit
40
41 if ENABLE_STATISTICS
42 STATISTICS_OBJ = \
43         statistics.c \
44         statistics.h
45 endif
46
47 if ENABLE_RT_TIMING
48 RT_TIMING_OBJ = \
49         rt-timing.c
50 endif
51
52 if ENABLE_CYCLES_STATS
53 CYCLES_STATS_SOURCE = \
54         cycles-stats.h
55 endif
56
57 if ENABLE_ZLIB
58 ZLIB_OBJ = \
59         zip.c \
60         zip.h
61 endif
62
63 noinst_HEADERS = \
64         global.h \
65         types.h
66
67 noinst_LTLIBRARIES = \
68         libvmcore.la \
69         libvm.la
70
71 libvmcore_la_SOURCES = \
72         access.c \
73         access.h \
74         builtin.c \
75         builtin.h \
76         builtintable.inc \
77         class.c \
78         class.h \
79         classcache.c \
80         classcache.h \
81         $(CYCLES_STATS_SOURCE) \
82         descriptor.c \
83         descriptor.h \
84         field.c \
85         field.h \
86         finalizer.c \
87         finalizer.h \
88         hashtable.c \
89         hashtable.h \
90         initialize.c \
91         initialize.h \
92         linker.c \
93         linker.h \
94         loader.c \
95         loader.h \
96         method.c \
97         method.h \
98         options.c \
99         options.h \
100         properties.c \
101         properties.h \
102         references.h \
103         resolve.c \
104         resolve.h \
105         $(RT_TIMING_OBJ) \
106         rt-timing.h \
107         $(STATISTICS_OBJ) \
108         signal.c \
109         signallocal.h \
110         string.c \
111         stringlocal.h \
112         suck.c \
113         suck.h \
114         utf8.c \
115         utf8.h \
116         $(ZLIB_OBJ)
117
118 libvm_la_SOURCES = \
119         exceptions.c \
120         exceptions.h \
121         vm.c \
122         vm.h
123
124 libvm_la_LIBADD = \
125         libvmcore.la \
126         jit/libjit.la
127
128
129 ## Local variables:
130 ## mode: Makefile
131 ## indent-tabs-mode: t
132 ## c-basic-offset: 4
133 ## tab-width: 8
134 ## compile-command: "automake --add-missing"
135 ## End: