* src/vm/jit/Makefile.am (noinst_HEADERS): Added abi-asm.h.
[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 4710 2006-03-30 10:23:11Z 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 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         methodheader.h \
107         patcher.h 
108
109 noinst_LTLIBRARIES = libjit.la
110
111 libjit_la_SOURCES = \
112         code.c \
113         code.h \
114         codegen-common.c \
115         codegen-common.h \
116         disass.h \
117         $(DISASS_SOURCES) \
118         dseg.c \
119         dseg.h \
120         jit.c \
121         jit.h \
122         parse.c \
123         parse.h \
124         reg.c \
125         reg.h \
126         replace.c \
127         replace.h \
128         stack.c \
129         stack.h \
130         stacktrace.c \
131         stacktrace.h
132
133 libjit_la_LIBADD = \
134         allocator/liballocator.la \
135         verify/libverify.la \
136         $(IFCONV_LIB) \
137         $(INLINE_LIB) \
138         $(LOOP_LIB) \
139         $(PROFILE_LIB) \
140         $(SCHEDULE_LIB) \
141         $(INTRP_LIB) \
142         $(ARCH_LIB)
143
144
145 ## Local variables:
146 ## mode: Makefile
147 ## indent-tabs-mode: t
148 ## c-basic-offset: 4
149 ## tab-width: 8
150 ## compile-command: "automake --add-missing"
151 ## End: