X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=src%2Fvm%2Fjit%2FMakefile.am;h=c44f0129e57414a011bf69ab01d8158e4242651b;hb=b76e356b0af200d2568e6fc55e82e233f1808eb9;hp=60d7dd1e7cecf147032c53b537c5d4e0e052f33d;hpb=69862befa4e219966209aa89af5fca82adfd7c1d;p=cacao.git diff --git a/src/vm/jit/Makefile.am b/src/vm/jit/Makefile.am index 60d7dd1e7..c44f0129e 100644 --- a/src/vm/jit/Makefile.am +++ b/src/vm/jit/Makefile.am @@ -1,9 +1,7 @@ ## 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, 2007, 2008 +## CACAOVM - Verein zur Foerderung der freien virtuellen Maschine CACAO ## ## This file is part of CACAO. ## @@ -19,52 +17,188 @@ ## ## 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 1952 2005-02-17 11:41:16Z twisti $ +## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +## 02110-1301, USA. + + +AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/src/vm/jit/$(ARCH_DIR) -I$(top_srcdir)/src/vm/jit/$(ARCH_DIR)/$(OS_DIR) -I$(top_builddir)/src -I$(top_srcdir)/contrib/vmlog + +LIBS = + +DIST_SUBDIRS = \ + allocator \ + inline \ + ir \ + loop \ + optimizing \ + schedule \ + verify \ + \ + intrp \ + alpha \ + arm \ + i386 \ + m68k \ + mips \ + parisc \ + powerpc \ + powerpc64 \ + s390 \ + sparc64 \ + x86_64 + +SUBDIRS = \ + ir \ + optimizing \ + $(ARCH_DIR) + +ARCH_LIB = \ + $(ARCH_DIR)/libarch.la + +if ENABLE_JIT +SUBDIRS += \ + allocator + +OPTIMIZING_LIB = \ + optimizing/liboptimizing.la +endif + +if ENABLE_INTRP +SUBDIRS += \ + intrp + +INTRP_LIB = \ + intrp/libintrp.la +endif + +if ENABLE_INLINING +SUBDIRS += \ + inline -## Process this file with automake to produce Makefile.in +INLINE_LIB = \ + inline/libinline.la +endif -INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/vm/jit/@ARCH_DIR@ +if ENABLE_LOOP +SUBDIRS += \ + loop -SUBDIRS = inline loop schedule tools verify @ARCH_DIR@ +LOOP_LIB = \ + loop/libloop.la +endif -DIST_SUBDIRS = inline loop schedule tools verify alpha i386 mips powerpc x86_64 +if USE_SCHEDULER +SUBDIRS += \ + schedule + +SCHEDULE_LIB = \ + schedule/libschedule.la +endif + +REPLACE_SOURCES = + +if ENABLE_JIT +REG_SOURCES = \ + reg.c \ + reg.h + +REPLACE_SOURCES += \ + replace.h + +STACK_SOURCES = \ + stack.c \ + stack.h +endif + +if ENABLE_REPLACEMENT +REPLACE_SOURCES += \ + replace.c +endif + +if ENABLE_VERIFIER +SUBDIRS += \ + verify + +VERIFIER_LIB = \ + verify/libverify.la +endif + +if WITH_BINUTILS_DISASSEMBLER +DISASS_SOURCES = disass-common.c +endif noinst_HEADERS = \ + abi.h \ + abi-asm.h \ asmpart.h \ - codegen.inc \ - codegen.inc.h \ - lsra.inc \ - lsra.h \ - reg.inc \ - reg.h + methodheader.h -noinst_LTLIBRARIES = libjit.la +noinst_LTLIBRARIES = \ + libjit.la libjit_la_SOURCES = \ + argument.c \ + argument.h \ + code.c \ + code.h \ + codegen-common.c \ + codegen-common.h \ + disass.h \ + $(DISASS_SOURCES) \ + dseg.c \ + dseg.h \ + emit-common.c \ + emit-common.h \ + exceptiontable.c \ + exceptiontable.h \ + executionstate.c \ + executionstate.h \ + icmdtable.inc \ jit.c \ jit.h \ + linenumbertable.c \ + linenumbertable.h \ + methodtree.c \ + methodtree.h \ parse.c \ parse.h \ - stack.c \ - stack.h \ + patcher-common.c \ + patcher-common.h \ + $(RECOMPILE_SOURCES) \ + $(REG_SOURCES) \ + $(REPLACE_SOURCES) \ + show.c \ + show.h \ + $(STACK_SOURCES) \ stacktrace.c \ - stacktrace.h + stacktrace.h \ + trace.c \ + trace.h + +libjit_la_SOURCES += \ + cfg.c \ + cfg.h libjit_la_LIBADD = \ - inline/libinline.la \ - loop/libloop.la \ - schedule/libschedule.la \ - verify/libverify.la \ - @ARCH_DIR@/libarch.la + allocator/liballocator.la \ + $(INLINE_LIB) \ + ir/libir.la \ + $(LOOP_LIB) \ + $(OPTIMIZING_LIB) \ + $(PROFILE_LIB) \ + $(SCHEDULE_LIB) \ + $(VERIFIER_LIB) \ + $(INTRP_LIB) \ + $(ARCH_LIB) + +if ENABLE_PYTHON +libjit_la_SOURCES += \ + python.c +AM_CPPFLAGS += \ + @PYTHON_CSPEC@ +LIBS += \ + @PYTHON_LSPEC@ +endif ## Local variables: