## src/vm/jit/Makefile.am
##
-## Copyright (C) 1996-2005 R. Grafl, A. Krall, C. Kruegel, C. Oates,
-## R. Obermaisser, M. Platter, M. Probst, S. Ring, E. Steiner,
-## C. Thalinger, D. Thuernbeck, P. Tomsich, C. Ullrich, J. Wenninger,
-## Institut f. Computersprachen - TU Wien
+## Copyright (C) 1996-2005, 2006 R. Grafl, A. Krall, C. Kruegel,
+## C. Oates, R. Obermaisser, M. Platter, M. Probst, S. Ring,
+## E. Steiner, C. Thalinger, D. Thuernbeck, P. Tomsich, C. Ullrich,
+## J. Wenninger, Institut f. Computersprachen - TU Wien
##
## This file is part of CACAO.
##
##
## You should have received a copy of the GNU General Public License
## along with this program; if not, write to the Free Software
-## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-## 02111-1307, USA.
+## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+## 02110-1301, USA.
##
-## Contact: cacao@complang.tuwien.ac.at
+## Contact: cacao@cacaojvm.org
##
## Authors: Christian Thalinger
##
## Changes:
##
-## $Id: Makefile.am 3768 2005-11-23 15:05:59Z twisti $
+## $Id: Makefile.am 4357 2006-01-22 23:33:38Z twisti $
## Process this file with automake to produce Makefile.in
-INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/vm/jit/$(ARCH_DIR) -I$(top_srcdir)/src/vm/jit/$(ARCH_DIR)/$(OS_DIR)
+AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/src/vm/jit/$(ARCH_DIR) -I$(top_srcdir)/src/vm/jit/$(ARCH_DIR)/$(OS_DIR)
-SUBDIRS = loop tools verify
+SUBDIRS = \
+ allocator \
+ loop \
+ tools \
+ verify
DIST_SUBDIRS = \
+ allocator \
inline \
loop \
schedule \
powerpc \
x86_64
+if ENABLE_JIT
+SUBDIRS += $(ARCH_DIR)
+ARCH_LIB = $(ARCH_DIR)/libarch.la
+endif
+
if ENABLE_INTRP
SUBDIRS += intrp
INTRP_LIB = intrp/libintrp.la
-else
-SUBDIRS += $(ARCH_DIR)
-ARCH_LIB = $(ARCH_DIR)/libarch.la
endif
if USE_INLINING
SCHEDULE_LIB = schedule/libschedule.la
endif
+if WITH_BINUTILS_DISASSEMBLER
+DISASS_OBJ = disass-common.c
+else
+DISASS_OBJ =
+endif
+
noinst_HEADERS = \
+ abi.h \
asmpart.h \
- codegen.inc \
- codegen.inc.h \
- disass.h \
- lsra.inc \
- lsra.h \
methodheader.h \
- patcher.h \
- reg.inc \
- reg.h
+ patcher.h
noinst_LTLIBRARIES = libjit.la
libjit_la_SOURCES = \
+ codegen-common.c \
+ codegen-common.h \
+ disass.h \
+ $(DISASS_OBJ) \
+ dseg.c \
+ dseg.h \
jit.c \
jit.h \
parse.c \
parse.h \
+ reg.c \
+ reg.h \
stack.c \
stack.h \
stacktrace.c \
stacktrace.h
libjit_la_LIBADD = \
+ allocator/liballocator.la \
$(INLINE_LIB) \
loop/libloop.la \
$(SCHEDULE_LIB) \