e0da11e981f05ce420e1f528f87be9f1fa415542
[cacao.git] / src / vm / jit / Makefile.am
1 ## src/vm/jit/Makefile.am
2 ##
3 ## Copyright (C) 1996-2005 R. Grafl, A. Krall, C. Kruegel, C. Oates,
4 ## R. Obermaisser, M. Platter, M. Probst, S. Ring, E. Steiner,
5 ## C. Thalinger, D. Thuernbeck, P. Tomsich, C. Ullrich, J. Wenninger,
6 ## 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., 59 Temple Place - Suite 330, Boston, MA
23 ## 02111-1307, USA.
24 ##
25 ## Contact: cacao@complang.tuwien.ac.at
26 ##
27 ## Authors: Christian Thalinger
28 ##
29 ## Changes:
30 ##
31 ## $Id: Makefile.am 4299 2006-01-19 16:02:21Z 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         schedule \
48         tools \
49         verify \
50         intrp \
51         alpha \
52         i386 \
53         mips \
54         powerpc \
55         x86_64
56
57 if ENABLE_JIT
58 SUBDIRS += $(ARCH_DIR)
59 ARCH_LIB = $(ARCH_DIR)/libarch.la
60 endif
61
62 if ENABLE_INTRP
63 SUBDIRS += intrp
64 INTRP_LIB = intrp/libintrp.la
65 endif
66
67 if USE_INLINING
68 SUBDIRS += inline
69 INLINE_LIB = inline/libinline.la
70 endif
71
72 if USE_SCHEDULER
73 SUBDIRS += schedule
74 SCHEDULE_LIB = schedule/libschedule.la
75 endif
76
77 if WITH_BINUTILS_DISASSEMBLER
78 DISASS_OBJ = disass-common.c
79 else
80 DISASS_OBJ =
81 endif
82
83 noinst_HEADERS = \
84         abi.h \
85         asmpart.h \
86         methodheader.h \
87         patcher.h 
88
89 noinst_LTLIBRARIES = libjit.la
90
91 libjit_la_SOURCES = \
92         codegen-common.c \
93         codegen-common.h \
94         disass.h \
95         $(DISASS_OBJ) \
96         dseg.c \
97         dseg.h \
98         jit.c \
99         jit.h \
100         parse.c \
101         parse.h \
102         reg.c \
103         reg.h \
104         stack.c \
105         stack.h \
106         stacktrace.c \
107         stacktrace.h
108
109 libjit_la_LIBADD = \
110         allocator/liballocator.la \
111         $(INLINE_LIB) \
112         loop/libloop.la \
113         $(SCHEDULE_LIB) \
114         verify/libverify.la \
115         $(INTRP_LIB) \
116         $(ARCH_LIB)
117
118
119 ## Local variables:
120 ## mode: Makefile
121 ## indent-tabs-mode: t
122 ## c-basic-offset: 4
123 ## tab-width: 8
124 ## compile-command: "automake --add-missing"
125 ## End: