* src/vm/jit/Makefile.am (DIST_SUBDIRS): Added profile.
[cacao.git] / src / vm / jit / Makefile.am
1 ## src/vm/jit/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 4472 2006-02-06 18:49:53Z twisti $
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 SUBDIRS = \
38         allocator \
39         loop \
40         tools \
41         verify
42
43 DIST_SUBDIRS = \
44         allocator \
45         inline \
46         loop \
47         profile \
48         schedule \
49         tools \
50         verify \
51         intrp \
52         alpha \
53         i386 \
54         mips \
55         powerpc \
56         x86_64
57
58 if ENABLE_JIT
59 SUBDIRS += $(ARCH_DIR)
60 ARCH_LIB = $(ARCH_DIR)/libarch.la
61 endif
62
63 if ENABLE_INTRP
64 SUBDIRS += intrp
65 INTRP_LIB = intrp/libintrp.la
66 endif
67
68 if USE_INLINING
69 SUBDIRS += inline
70 INLINE_LIB = inline/libinline.la
71 endif
72
73 SUBDIRS += profile
74 PROFILE_LIB = profile/libprofile.la
75
76 if USE_SCHEDULER
77 SUBDIRS += schedule
78 SCHEDULE_LIB = schedule/libschedule.la
79 endif
80
81 if WITH_BINUTILS_DISASSEMBLER
82 DISASS_SOURCES = disass-common.c
83 else
84 DISASS_SOURCES =
85 endif
86
87 noinst_HEADERS = \
88         abi.h \
89         asmpart.h \
90         methodheader.h \
91         patcher.h 
92
93 noinst_LTLIBRARIES = libjit.la
94
95 libjit_la_SOURCES = \
96         codegen-common.c \
97         codegen-common.h \
98         disass.h \
99         $(DISASS_SOURCES) \
100         dseg.c \
101         dseg.h \
102         jit.c \
103         jit.h \
104         parse.c \
105         parse.h \
106         reg.c \
107         reg.h \
108         stack.c \
109         stack.h \
110         stacktrace.c \
111         stacktrace.h
112
113 libjit_la_LIBADD = \
114         allocator/liballocator.la \
115         loop/libloop.la \
116         verify/libverify.la \
117         $(INLINE_LIB) \
118         $(PROFILE_LIB) \
119         $(SCHEDULE_LIB) \
120         $(INTRP_LIB) \
121         $(ARCH_LIB)
122
123
124 ## Local variables:
125 ## mode: Makefile
126 ## indent-tabs-mode: t
127 ## c-basic-offset: 4
128 ## tab-width: 8
129 ## compile-command: "automake --add-missing"
130 ## End: