Added USE_INLINING stuff.
[cacao.git] / src / vm / jit / Makefile.am
index 9c2e8edca0cddc521f2becddfba547565fb3ed25..05db7a6c1d36ddd0d2778aea4ebf21c270553325 100644 (file)
@@ -1 +1,89 @@
-EXTRA_DIST = mcode.c parse.c reg.c stack.c jitdef.h parseRT.h parseXTA.h
+## 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
+##
+## This file is part of CACAO.
+##
+## This program is free software; you can redistribute it and/or
+## modify it under the terms of the GNU General Public License as
+## published by the Free Software Foundation; either version 2, or (at
+## your option) any later version.
+##
+## This program is distributed in the hope that it will be useful, but
+## WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+## General Public License for more details.
+##
+## 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.
+##
+## Contact: cacao@complang.tuwien.ac.at
+##
+## Authors: Christian Thalinger
+##
+## Changes:
+##
+## $Id: Makefile.am 2512 2005-05-23 10:21:17Z twisti $
+
+## Process this file with automake to produce Makefile.in
+
+INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/vm/jit/@ARCH_DIR@
+
+SUBDIRS = loop tools verify @ARCH_DIR@
+
+DIST_SUBDIRS = inline loop schedule tools verify alpha i386 mips powerpc x86_64
+
+if USE_INLINING
+INLINE_LIB = inline/libinline.la
+SUBDIRS += inline
+endif
+
+if USE_SCHEDULER
+SCHEDULE_LIB = schedule/libschedule.la
+SUBDIRS += schedule
+endif
+
+noinst_HEADERS = \
+       asmpart.h \
+       codegen.inc \
+       codegen.inc.h \
+       lsra.inc \
+       lsra.h \
+       patcher.h \
+       reg.inc \
+       reg.h
+
+noinst_LTLIBRARIES = libjit.la
+
+libjit_la_SOURCES = \
+       helper.c \
+       helper.h \
+       jit.c \
+       jit.h \
+       parse.c \
+       parse.h \
+       stack.c \
+       stack.h \
+       stacktrace.c \
+       stacktrace.h
+
+libjit_la_LIBADD = \
+       $(INLINE_LIB) \
+       loop/libloop.la \
+       $(SCHEDULE_LIB) \
+       verify/libverify.la \
+       @ARCH_DIR@/libarch.la
+
+
+## Local variables:
+## mode: Makefile
+## indent-tabs-mode: t
+## c-basic-offset: 4
+## tab-width: 8
+## compile-command: "automake --add-missing"
+## End: