* src/vm/jit/oprofile-agent.cpp: Set source formatting to c++.
[cacao.git] / src / vmcore / Makefile.am
1 ## src/vmcore/Makefile.am
2 ##
3 ## Copyright (C) 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)
25
26 LIBS =
27
28 if ENABLE_JAVASE
29 if ENABLE_ANNOTATIONS
30 ANNOTATION_SOURCES = \
31         annotation.c \
32         annotation.h
33 endif
34
35 STACKMAP_SOURCES = \
36         stackmap.c \
37         stackmap.h
38 endif
39
40 if ENABLE_RT_TIMING
41 RT_TIMING_SOURCES = \
42         rt-timing.c \
43         rt-timing.h
44 endif
45
46 if ENABLE_STATISTICS
47 STATISTICS_SOURCES = \
48         statistics.c \
49         statistics.h
50 endif
51
52 if ENABLE_ZLIB
53 ZLIB_SOURCES = \
54         zip.c \
55         zip.h
56 endif
57
58 noinst_LTLIBRARIES = \
59         libvmcore.la
60
61 libvmcore_la_SOURCES = \
62         $(ANNOTATION_SOURCES) \
63         class.c \
64         class.h \
65         classcache.c \
66         classcache.h \
67         descriptor.c \
68         descriptor.h \
69         field.c \
70         field.h \
71         globals.cpp \
72         globals.hpp \
73         javaobjects.hpp \
74         javaobjects.cpp \
75         linker.c \
76         linker.h \
77         loader.c \
78         loader.h \
79         method.c \
80         method.h \
81         options.c \
82         options.h \
83         os.cpp \
84         os.hpp \
85         primitivecore.c \
86         references.h \
87         $(RT_TIMING_SOURCES) \
88         $(STACKMAP_SOURCES) \
89         $(STATISTICS_SOURCES) \
90         suck.c \
91         suck.h \
92         utf8.c \
93         utf8.h \
94         $(ZLIB_SOURCES)
95
96
97 ## Local variables:
98 ## mode: Makefile
99 ## indent-tabs-mode: t
100 ## c-basic-offset: 4
101 ## tab-width: 8
102 ## compile-command: "automake --add-missing"
103 ## End: