af020aab87951ce178053a2b05a6d69f4d312473
[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: Edwin Steiner
30 ##
31 ## $Id: Makefile.am 4998 2006-05-31 20:28:27Z edwin $
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 LIBS =
38
39 DIST_SUBDIRS = \
40         allocator \
41         ifconv \
42         inline \
43         loop \
44         profile \
45         schedule \
46         tools \
47         verify \
48         \
49         intrp \
50         alpha \
51         i386 \
52         mips \
53         powerpc \
54         x86_64
55
56 SUBDIRS = \
57         allocator \
58         tools \
59         verify
60
61 if ENABLE_JIT
62 SUBDIRS += $(ARCH_DIR)
63 ARCH_LIB = $(ARCH_DIR)/libarch.la
64 endif
65
66 if ENABLE_INTRP
67 SUBDIRS += intrp
68 INTRP_LIB = intrp/libintrp.la
69 endif
70
71 if ENABLE_IFCONV
72 SUBDIRS += ifconv
73 IFCONV_LIB = ifconv/libifconv.la
74 endif
75
76 if ENABLE_INLINING
77 SUBDIRS += inline
78 INLINE_LIB = inline/libinline.la
79 endif
80
81 if ENABLE_LOOP
82 SUBDIRS += loop
83 LOOP_LIB = loop/libloop.la
84 endif
85
86 if ENABLE_PROFILING
87 SUBDIRS += profile
88 PROFILE_LIB = profile/libprofile.la
89 endif
90
91 if USE_SCHEDULER
92 SUBDIRS += schedule
93 SCHEDULE_LIB = schedule/libschedule.la
94 endif
95
96 if WITH_BINUTILS_DISASSEMBLER
97 DISASS_SOURCES = disass-common.c
98 else
99 DISASS_SOURCES =
100 endif
101
102 noinst_HEADERS = \
103         abi.h \
104         abi-asm.h \
105         asmpart.h \
106         emit.h \
107         methodheader.h \
108         patcher.h 
109
110 noinst_LTLIBRARIES = libjit.la
111
112 libjit_la_SOURCES = \
113         code.c \
114         code.h \
115         codegen-common.c \
116         codegen-common.h \
117         disass.h \
118         $(DISASS_SOURCES) \
119         dseg.c \
120         dseg.h \
121         jit.c \
122         jit.h \
123         parse.c \
124         parse.h \
125         reg.c \
126         reg.h \
127         replace.c \
128         replace.h \
129         show.c \
130         show.h \
131         stack.c \
132         stack.h \
133         stacktrace.c \
134         stacktrace.h
135
136 libjit_la_LIBADD = \
137         allocator/liballocator.la \
138         verify/libverify.la \
139         $(IFCONV_LIB) \
140         $(INLINE_LIB) \
141         $(LOOP_LIB) \
142         $(PROFILE_LIB) \
143         $(SCHEDULE_LIB) \
144         $(INTRP_LIB) \
145         $(ARCH_LIB)
146
147
148 ## Local variables:
149 ## mode: Makefile
150 ## indent-tabs-mode: t
151 ## c-basic-offset: 4
152 ## tab-width: 8
153 ## compile-command: "automake --add-missing"
154 ## End: