04900c22c47978a5d918f13a9b7b82f071aa1224
[cacao.git] / src / vmcore / Makefile.am
1 ## src/vmcore/Makefile.am
2 ##
3 ## Copyright (C) 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
26 AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/src/vm/jit/$(ARCH_DIR) -I$(top_srcdir)/src/vm/jit/$(ARCH_DIR)/$(OS_DIR)
27
28 LIBS =
29
30 if ENABLE_JAVASE
31 if ENABLE_ANNOTATIONS
32 ANNOTATION_SOURCES = \
33         annotation.c \
34         annotation.h
35 endif
36
37 STACKMAP_SOURCES = \
38         stackmap.c \
39         stackmap.h
40 endif
41
42 if ENABLE_RT_TIMING
43 RT_TIMING_SOURCES = \
44         rt-timing.c \
45         rt-timing.h
46 endif
47
48 if ENABLE_STATISTICS
49 STATISTICS_SOURCES = \
50         statistics.c \
51         statistics.h
52 endif
53
54 if ENABLE_ZLIB
55 ZLIB_SOURCES = \
56         zip.c \
57         zip.h
58 endif
59
60 noinst_LTLIBRARIES = \
61         libvmcore.la
62
63 libvmcore_la_SOURCES = \
64         $(ANNOTATION_SOURCES) \
65         class.c \
66         class.h \
67         classcache.c \
68         classcache.h \
69         descriptor.c \
70         descriptor.h \
71         field.c \
72         field.h \
73         globals.cpp \
74         globals.hpp \
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: