* configure.ac (AC_CHECK_ENABLE_ASSERTION): Added
[cacao.git] / src / vm / Makefile.am
1 ## src/vm/Makefile.am
2 ##
3 ## Copyright (C) 1996-2005, 2006, 2007 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 ## Process this file with automake to produce Makefile.in
26
27 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
28
29 LIBS =
30
31 SUBDIRS = jit
32
33 if ENABLE_ASSERTION
34 ASSERTION_SOURCES = \
35         assertion.c \
36         assertion.h
37 endif
38
39 if ENABLE_CYCLES_STATS
40 CYCLES_STATS_SOURCES = \
41         cycles-stats.c \
42         cycles-stats.h
43 endif
44
45 noinst_HEADERS = \
46         global.h \
47         types.h
48
49 noinst_LTLIBRARIES = \
50         libvm.la
51
52 libvm_la_SOURCES = \
53         $(ASSERTION_SOURCES) \
54         access.c \
55         access.h \
56         array.c \
57         array.h \
58         builtin.c \
59         builtin.h \
60         builtintable.inc \
61         $(CYCLES_STATS_SOURCES) \
62         exceptions.c \
63         exceptions.h \
64         finalizer.c \
65         finalizer.h \
66         initialize.c \
67         initialize.h \
68         jit_interface.h \
69         package.c \
70         package.h \
71         primitive.c \
72         primitive.h \
73         properties.c \
74         properties.h \
75         resolve.c \
76         resolve.h \
77         signal.c \
78         signallocal.h \
79         string.c \
80         stringlocal.h \
81         vm.c \
82         vm.h
83
84 libvm_la_LIBADD = \
85         jit/libjit.la
86
87
88 ## Local variables:
89 ## mode: Makefile
90 ## indent-tabs-mode: t
91 ## c-basic-offset: 4
92 ## tab-width: 8
93 ## compile-command: "automake --add-missing"
94 ## End: