7a21b34fe85a072e8ee5a9718858ac55bb8d1523
[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 ## $Id: Makefile.am 6216 2006-12-18 18:21:37Z twisti $
26
27 ## Process this file with automake to produce Makefile.in
28
29 AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/src/vm/jit/$(ARCH_DIR) -I$(top_srcdir)/src/vm/jit/$(ARCH_DIR)/$(OS_DIR)
30
31 LIBS =
32
33 if ENABLE_JAVASE
34 if ENABLE_ANNOTATIONS
35 ANNOTATION_SOURCES = \
36         annotation.c \
37         annotation.h
38 endif
39
40 STACKMAP_SOURCES = \
41         stackmap.c \
42         stackmap.h
43 endif
44
45 if ENABLE_RT_TIMING
46 RT_TIMING_SOURCES = \
47         rt-timing.c \
48         rt-timing.h
49 endif
50
51 if ENABLE_STATISTICS
52 STATISTICS_SOURCES = \
53         statistics.c \
54         statistics.h
55 endif
56
57 if ENABLE_ZLIB
58 ZLIB_SOURCES = \
59         zip.c \
60         zip.h
61 endif
62
63 noinst_LTLIBRARIES = \
64         libvmcore.la
65
66 libvmcore_la_SOURCES = \
67         $(ANNOTATION_SOURCES) \
68         class.c \
69         class.h \
70         classcache.c \
71         classcache.h \
72         descriptor.c \
73         descriptor.h \
74         field.c \
75         field.h \
76         linker.c \
77         linker.h \
78         loader.c \
79         loader.h \
80         method.c \
81         method.h \
82         options.c \
83         options.h \
84         primitivecore.c \
85         references.h \
86         $(RT_TIMING_SOURCES) \
87         $(STACKMAP_SOURCES) \
88         $(STATISTICS_SOURCES) \
89         suck.c \
90         suck.h \
91         utf8.c \
92         utf8.h \
93         $(ZLIB_SOURCES)
94
95
96 ## Local variables:
97 ## mode: Makefile
98 ## indent-tabs-mode: t
99 ## c-basic-offset: 4
100 ## tab-width: 8
101 ## compile-command: "automake --add-missing"
102 ## End: